Editing and iPhone SDK Framework ?

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-03-23T16:51:01Z Indexed on 2010/03/23 16:53 UTC
Read the original article Hit count: 333

Filed under:
|
|
|

I am working with MapKit and want to be able to add a (NSString *)itemTag value to each of my annotations. I have created myAnnotiation.m and myAnnotation.h

I tried adding itemTag to the myAnnotation.h/m but when I try to access currentAnnotation.itemTag within my main code, it says "itemID not found in protocols" - so I went to the MapKit.Framework and into MKAnnotation.h. I added (NSString *)itemID, but when I save the .h file in the Framework, it changes the file's icon and doesn't appear to by jiving with everything else.

Any help or links to help would be greatly appreciated. I am not even sure if I'm on the right path here, but Googling "modify iphone sdk framework" does not turn up much.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about framework