Use
class-dump
to dump the headers for /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/PrivateFrameworks/iTunesStore.framework/iTunesStore
ISOperation.h
ISOperationProgress.h
ISSetApplicationBadgeOperation.h
You may have to edit ISOperation.h:
1. Change the #import "NSOperation.h" to #import <Foundation/NSOperation.h>
2. Remove the "<ISOperationDelegate>" in the first part of the interface. So you're just left with "id _delegate;"
Then copy these 3 files into a "Headers" dir inside of the /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/PrivateFrameworks/iTunesStore.framework dir.
You can now add the iTunesStore framework to your xcode project. Just point to the dir above.
Now add "#import <iTunesStore/ISSetApplicationBadgeOperation.h>" to your code and, for your convenience, here's an example-function ready for use:
CODE:
ISOperation.h
ISOperationProgress.h
ISSetApplicationBadgeOperation.h
You may have to edit ISOperation.h:
1. Change the #import "NSOperation.h" to #import <Foundation/NSOperation.h>
2. Remove the "<ISOperationDelegate>" in the first part of the interface. So you're just left with "id _delegate;"
Then copy these 3 files into a "Headers" dir inside of the /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/PrivateFrameworks/iTunesStore.framework dir.
You can now add the iTunesStore framework to your xcode project. Just point to the dir above.
Now add "#import <iTunesStore/ISSetApplicationBadgeOperation.h>" to your code and, for your convenience, here's an example-function ready for use:
CODE: