I am starting on iOS. I am trying to extend UILocalNotification. My class is lower.
@interface FSCustomNatification : UILocalNotification typedef enum { FSCustomNatificationPay, FSCustomNatificationWrite, FSCustomNatificationSend } NotificationTypeT; @property (nonatomic, assign) NotificationTypeT typeNotificationT; @end #import "FSCustomNatification.h" @implementation FSCustomNatification @end
When I set the typeNotificationT property, I get - [UIConcreteLocalNotification setTypeNotificationT:]: unrecognized selector sent to instance 0x8144780. Why?
FSCustomNatification* localNotification = [[FSCustomNatification alloc] init]; localNotification.typeNotificationT = FSCustomNatificationWrite;
source share