Filed under: iPod Family, iPhone
iPhone Coding: iPhone Developer Docs updated to 1.1.2
A few weeks ago, our Mike Rose posted about my 1.1.1 iPhone header documentation. I'm pleased to say that after a huge amount of work, I've updated those docs up to version 1.1.2. The new documents cover all the Objective-C headers for the iPhone and iPod touch 1.1.2 frameworks including updated keyboards and other system-level modifications. If you're wondering about "Oktoberfest", despite the November release date, that's the Apple internal name for the user bundle. Previous bundles included "Heavenly" (1.0.2) and "Snowbird" (1.1.1).

Reader Comments (Page 1 of 1)
Jesse David Hollington said 8:08PM on 11-13-2007
Hmm... Not sure about "Heavenly" but "Oktoberfest" is presumably a reference to the firmware update for the European (ie, German) release of the iPhone.
Of course, if there was a pattern to that, one might assume that "Snowbird" represented a Canadian release, but of course that didn't happen... :(
As for "Heavenly" there are just no polite comments about that one... ;)
Reply
John said 9:59PM on 11-13-2007
Heavenly is believed to refer to the ski resort in Tahoe (a popular ski destination for SF bay area residents). Not sure about snowbird...
Reply
John S said 1:51AM on 11-14-2007
112 upgrade does put you back to ground zero and disables all the 111 jailbreak apps. I do not see anything positive from upgrading at all if you are jailbreaked. I have not found a recovery method that works just yet so I may have to wait for the sdks next year unless I find a new break out. Yea I did the okto prep but nothing works.
Reply
Chris said 5:39AM on 11-14-2007
Well, Snowbird is a ski resort outside Salt Lake City (Heavenly?), which happens to host a yearly Oktoberfest...
Reply
scw said 4:49PM on 11-14-2007
Erica,
How about making your headers downloadable so toolchain users can update to the latest (and more complete) headers?
Also, it would be neat if there was some way to add a Wiki type of community documentation to the header web site.
Reply
Guillermo said 12:37PM on 11-15-2007
Hello Erica
I build and installed the toolchain on Leopard and works fine but a lot of headers files are missing for example AddressBookUI or WebKit.
Where I can find the missing header files?
I tried to copy form the binary distribution "iPhoneToolchain04.dmg" but I have linking errors, like:
Undefined symbols:
.objc_class_name_WebFontCache
Thanks in advance
Guillermo
Reply
scw said 8:26PM on 11-15-2007
I copied the contents of the file from her site and emacs out the line numbers and put it in the right place.
That's why I was hoping she would make them downloadable.
Reply
Alexander Bottema said 6:15PM on 12-13-2007
On the objc_class_name_WebFontCache undefined symbol problem.
It appears that the class name meta information has been optimized out in WebCore. I was able to work around this problem by creating my own utility function that calls WebFontCache through the reflection system:
@interface MyUtils
+(struct __GSFont *) createFontWithFamily: (NSString *) name traits: (unsigned int) traits size: (float) size;
@end
#import
#import
@implementation MyUtils
+(struct __GSFont *) createFontWithFamily: (NSString *) name traits: (unsigned int) traits size: (float) size
{
Class webFontCacheClass = NSClassFromString(@"WebFontCache");
SEL sel = NSSelectorFromString(@"createFontWithFamily:traits:size:");
Method method = class_getClassMethod(webFontCacheClass, sel);
IMP imp = method->method_imp;
struct __GSFont * font = (struct __GSFont *)imp(Nil, sel, name, traits, size);
return font;
}
@end
Then you can call:
struct __GSFont *myfont = [MyUtils createFontWithFamily: @"Helvetica" traits: 2 size: 16.0f];
Reply