在AppDelegate中能不能创建自定义的delegate?

能不能在AppDelegate类中创建自定义的delegate?像下面实例这样:

@protocol AppDelegateDelegate <NSObject>

- (void)finishSync:(BOOL)success;

@end

@interface AppDelegate : UIResponder <UIApplicationDelegate> {

@property (nonatomic, weak) id <AppDelegateDelegate> delegate;

@end

能不能创建像这样的?

可以创建,没问题,导入类之后你可以创建delegates。