Rss

Archives for : April2014

ARC-ing Learning Core Audio

Pearson has just posted an update to the Learning Core Audio sample code, available from the book’s home page (look under the “Downloads” tab).

Basically, this update is all about making it easier to work with the download zip. Specifically:

  • All projects now use “Latest” (OS X | iOS) as their Base SDK: We had been specifying old SDKs that are no longer included in Xcode 5.1, so some readers got hung up on what they needed to do to resolve the “Missing Base SDK” message.

  • All Foundation projects now use Automatic Reference Counting (ARC): Not as big a deal in our book as you might think, because the middle half the book is all Core Foundation and doesn’t even need ARC, but we had some readers insist the book was broken because they got build errors on [foo release] and didn’t know what to do (either remove the manual memory-management lines or just turn off ARC). This has the unfortunate effect of making the download code no longer match the book text, and adding some nuisance __bridge casts, but ARC is so entrenched at this point, it’s for the best.

  • Each project now has a README.txt file If individual examples have to get updated in the future, we can log those changes here.

  • Re-colored the “piano key” buttons in CH11_MIDIWifiSource Because iOS 7 made them look like poorly-colored labels

There are no errata fixes in this go-round, nor any content changes. It’s just about making the download more useful. Might be the last time we need to update it? We’ll see.

Dub Dub Don’t Care

So, yesterday was the big random drawing for the privilege of buying WWDC 2014 tickets. I’ve argued this is the second time that Apple handled it as a lottery, only last year, the drawing was administered by the load balancer sitting in front of apple.com, or the traffic routing going into it.

Last year was also the year that a substantial part of the OS X / iOS community started to become disenchanted with WWDC in its current form… when even developers with the “if you want it bad enough, you’ll find a way to get a ticket” bravado were finally crunched by the numerical reality of far too much demand for far too few seats. Daniel Jalkut moved past the Twitter mob butt-hurt to make a clear-eyed case to End WWDC.

Continue Reading >>

AVMutableCocoaConfPresentationInstruction

I’m speaking at three of the five CocoaConfs for early 2014, teaching an all-day AV Foundation Film School class and a regular session on Stupid Video Tricks, which is also all about AV Foundation. (In DC, I also reprised Get on the Audiobus to fill in for another speaker).

UPDATE: I’m also going to do “Stupid Video Tricks” at next week’s Ann Arbor CocoaHeads.

I first taught the class in Chicago, and then added one more project for DC and San Jose based on how the timing worked out. To speed things up, I created starter projects that dealt with all the storyboard connections and drudge-work, leaving big holes in the code that say // TODO: WRITE IN CLASS for the stuff we do as a code-along. The class projects are:

  1. Play back a video file from a URL
  2. Capture into a video file (and play back in another tab, with the code from 1)
  3. Edit together clips and export as a new .m4v file, first as a cuts-only edit (easy), and then with cross-dissolved (quite painful and clearly marked as an hour of outright drudgery)
  4. Processing video frames at capture-time with Core Image

Continue Reading >>