Skip to Content

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).

Categories

iPod Family iPhone

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...
 

Add a Comment

*0 / 3000 Character Maximum

8 Comments

Filter by:
Alexander Bottema

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];

December 13 2007 at 6:13 PM Report abuse rate up rate down Reply
scw

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.

November 15 2007 at 5:49 PM Report abuse rate up rate down Reply
Guillermo

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

November 15 2007 at 12:37 PM Report abuse rate up rate down Reply
scw

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.

November 14 2007 at 3:42 PM Report abuse rate up rate down Reply
Chris

Well, Snowbird is a ski resort outside Salt Lake City (Heavenly?), which happens to host a yearly Oktoberfest...

November 14 2007 at 5:37 AM Report abuse rate up rate down Reply
John S

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.

November 14 2007 at 1:45 AM Report abuse rate up rate down Reply
John

Heavenly is believed to refer to the ski resort in Tahoe (a popular ski destination for SF bay area residents). Not sure about snowbird...

November 13 2007 at 9:56 PM Report abuse rate up rate down Reply
Jesse David Hollington

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... ;)


November 13 2007 at 8:07 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.