Following proposal by @littledan
THIS NO LONGER MATCHES THE PROPOSED API AND SHOULD NOT BE USED
Just proof-of-concept. Do not use in production.
@interface AppDelegate : NSObject | |
@property (nonatomic, assign) NSInteger badgeCount; | |
@end | |
@implementation AppDelegate | |
@synthesize badgeCount; | |
// Override the badgeCount setter to update the dock tile whenever the count is set | |
- (void)setBadgeCount:(NSInteger)count | |
{ |
Following proposal by @littledan
THIS NO LONGER MATCHES THE PROPOSED API AND SHOULD NOT BE USED
Just proof-of-concept. Do not use in production.