I haven't talked about one of my favorite new features of Xcode 4 and LLVM, because I wasn't sure of the NDA status. However, the cat's out of the bag now, so I feel like it's safe to mention. The iPhone Simulator in Xcode 4 now uses the Modern ABI (yet it's still correctly uses 32-bit datatypes!), so we can use synthesized instance variables in our iPhone applications and use the simulator. On top of that, if you choose to use LLVM instead of GCC, one of the (many) benefits you'll get is that @synthesize declaration is now assumed. If you don't need to specify anything on the @synthesize declaration (like a different setter or getter name) and your property isn't @dynamic, you can justleave it off. This feature isn't turned on by default (yet), but see Pilky's blog post for instructions on...
Rabu, 30 Juni 2010
Senin, 28 Juni 2010
Code As If…
Sorry for how slow things have been here lately; I'm still suffering from WWDC work backlog, plus I've been spending a lot of time on the new book. This is the first book I've tried to write while also doing full-time client work and it's taking a bit of a toll on me. I've had a blog post floating around my head since writing Beginning iPhone Development that has never become completely formed. It's about how the process of writing about code has changed the way I write code. I think the thoughts are finally ready to congeal into solid form. So, here goes.The other day, I saw somebody wearing a T-shirt that said "Dance Like Nobody's Watching". I'm not much of a dancer, but I like the sentiment. However, dancing is not coding. The worst thing you can do is code like nobody's watching. You should...
Sabtu, 19 Juni 2010
WWDC 2010 Post Mortem
WWDC. The Dubdub. Christmas in June. If you've followed this blog for any length of time, you know Apple's annual developer conference is my absolute favorite week of the year, and it just seems to get better every year. For the days leading up to leaving for San Francisco, I'm like a kid on Christmas eve. I can't sleep from excitement and the time passes way too slowly. Every year, there are less "must-see" technical sessions for me, personally. That was especially true this year because something like 60% of the attendees were first timers who haven't shipped their first app yet and the session schedule was designed accordingly, with quite a few beginner and intermediate level sessions. But WWDC is so much more than the sessions (and those come out on video anyway). Your first year or two...
Kamis, 17 Juni 2010
Grand Slam!
Apple has set a new record for WWDC video avialability this year, getting them out not even a week after the event ended. Amazing.Even more amazing, they're not selling them this year. Registered developers can access them for free. Want to know what all the fuss is about with Xcode 4? Go watch the vide...
Senin, 14 Juni 2010
Announcing OpenGL ES 2.0 for iOS 4
Okay, it's finally time for me to announce Super Secret Project B, which is a new book I'm writing on OpenGL ES 2.0 for iPhone, iPad, and iPod touch. Yes, I know I said I wouldn't be writing any books in 2010, but the nice folks at the Pragmatic Programmers approached me after I made that statement with an economically feasible way for me to write a book this year. I couldn't say no.My original plan had been to take my OpenGL ES from the Ground Up blog posts, supplement them, and turn them into a book with step-by-step projects to reinforce the points of each posts. My week at WWDC has caused me to change that approach. I went to all the OpenGL ES sessions and spent a fair amount of time bending the ear of Allan Schaffer, Apple's Graphics and Games Evangelist, as well as a number of Apple...
Selasa, 08 Juni 2010
WWDC 10 Update
Well, we're well into the second day at WWDC and it is, as always, amazing, exhilarating, exhausting and, most of all, fun.Unfortunately, there's not a heck of a lot that I can report on. Other than the keynote yesterday, which was heavily covered by both liveblogs and technical media. The iPhone 4 looks amazing. I haven't seen it myself, but I've talked to several people who have and without exception they just gush over the it, especially the screen. But there's stuff going on here that's got me so much more excited than even the new phone. A lot of really smart people at Apple have been working very, very hard to give developers some really cool stuff and I just wish I could share it, because they really wowed me and many others I've talked to.It's an exciting time to be an iPhone iOS developer.Update:...
Jumat, 04 Juni 2010
MartianCraft Away Team

This is a teaser photo of part of the MartianCraft T-shirt that Rob designed for WWDC. We've got a small assortment of these to give away at WWDC. We haven't yet figured out how we're going to decide who gets to be red-shirts on our Away Team, but we'll get it figured out before Monday, and hopefully it won't require you to embarrass yourself too badly.I'll post some more pictures as we get closer to WW...
Kamis, 03 Juni 2010
Briefs Rejected by the App Store
Rob Rhyne explains what's going on with Briefs, his iPhone-based prototyping tool. Unfortunately, it's not good ne...
Oh, Hey! I'm Teaching Again.

I'm teaching up with Julio Barros of E-String Technologies to hold a three-day iPhone SDK programming workshop in New York City the week after WWDC. The class starts on Wednesday, June 16 and runs through Friday June 18. No prior iPhone programming experience is required, though some prior programming knowledge and a general understanding of C-style syntax is recommend...
Almost WWDC

Well, it's the Thursday before WWDC and, as always, I'm swamped yet super-excited. The Pre-WWDC Pilgrimage is all planned. If you expressed interest, you should have received an e-mail with the details about how to pay if you want to take the bus.I shy away from making predictions before big events because I don't have any inside information and I'm likely to be more wrong than right with anything but the safest predictions (like a new model iPhone being announced). However, I do think there's something big this year that hasn't leaked yet. Something completely unexpected. Chances are, if there is, it will leak the night before the keynote. The...