//
// CCNSNotificationCenter.h
// CCFC
//
// Created by xichen on 11-12-27.
// Copyright 2011 ccteam. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSNotificationCenter(cc)
+ (void)defaultCenterAddObserver:(id)observer
selector:(SEL)selector
name:(NSString *)name
object:(id)obj;
+ (void)defaultCenterAddObserverCommon:(id)observer
selector:(SEL)selector
name:(NSString *)name;
+ (void)defaultCenterAddObserverCommonToSelf:(SEL)selector
name:(NSString *)name;
@end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCNSNotificationCenter.h
github地址:https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCNSNotificationCenter.h
本文详细介绍了在CCFC框架下如何使用通知中心,包括如何添加观察者、发送通知以及常见用法示例。
63

被折叠的 条评论
为什么被折叠?



