macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

NSDistributedNotificationCenter

NSDistributedNotificationCenterクラス

Index>Foundation>apple(mac) 解説 継承 NSObject 準拠 NSObject (NSObject) フレームワーク /System/Library/Frameworks/Foundation.framework 使用可能 Mac OS X v10.0以降 定義 概要 適合するプロトコル メソッド Getting Distributed Notification Cente…

defaultCenter

デフォルトの遠隔通知センターを返します 解説 デフォルトの遠隔通知センターを返します。 返り値 ( NSNotificationCenter * ) 通知センター 引数 フレームワーク Foundation クラス NSDistributedNotificationCenter Class Methods 使用可能 10.0 参照 例文

notificationCenterForType:

タイプで遠隔通知センターをつくって返します +(NSDistributedNotificationCenter *)notificationCenterForType:(NSString *)type: 解説 タイプで遠隔通知センターをつくって返します。 現在NSLocalNotificationCenterTypeのみサポートされています。 返り値…

addObserver:selector:name:object:

遠隔通知センターにオブザーバーを追加します -(void)addObserver:(id)anObserver: selector:(SEL)aSelector: name:(NSString *)notificationName: object:(NSString *)anObject: 解説 遠隔通知センターにオブザーバーを追加します。 返り値 ( void ) なし …

addObserver:selector:name:object:suspensionBehavior:

遠隔通知センターにオブザーバーを追加します -(void)addObserver:(id)anObserver: selector:(SEL)aSelector: name:(NSString *)notificationName: object:(NSString *)anObject: suspensionBehavior:(NSNotificationSuspensionBehavior)suspensionBehavior:…

postNotificationName:object:

遠隔通知センターにポストします -(void)postNotificationName:(NSString *)notificationName: object:(NSString *)anObject: 解説 遠隔通知センターにポストします。 anObjectはnilかもしれない。 返り値 ( void ) なし 引数 ( NSString * )notificationNam…

postNotificationName:object:userInfo:

遠隔通知センターにポストします -(void)postNotificationName:(NSString *)notificationName: object:(NSString *)anObject: userInfo:(NSDictionary *)userInfo: 解説 遠隔通知センターにポストします。 anObjectとuserInfoはnilかもしれない。 返り値 ( v…

postNotificationName:object:userInfo:deliverImmediately:

遠隔通知センターにポストします -(void)postNotificationName:(NSString *)notificationName: object:(NSString *)anObject: userInfo:(NSDictionary *)userInfo: deliverImmediately:(BOOL)deliverImmediately: 解説 遠隔通知センターにポストします。 返…

removeObserver:name:object:

遠隔通知センターから名前とオブジェクトでオブザーバーを取り除きます -(void)removeObserver:(id)anObserver: name:(NSString *)notificationName: object:(NSString *)anObject: 解説 遠隔通知センターから名前とオブジェクトでオブザーバーを取り除きま…

setSuspended:

保留をセットします -(void)setSuspended:(BOOL)suspended: 解説 保留をセットします。 返り値 ( void ) なし 引数 ( BOOL )suspended YES/NO フレームワーク Foundation クラス NSDistributedNotificationCenter Instance Methods 使用可能 10.0 参照 - add…

suspended

保留しているかを返します 解説 保留しているかを返します。 返り値 ( BOOL ) YES/NO 引数 フレームワーク Foundation クラス NSDistributedNotificationCenter Instance Methods 使用可能 10.0 参照 - setSuspended: 例文 - (IBAction)suspend:(id)sender {…

postNotificationName:object:userInfo:options:

遠隔通知センターにポストします -(void)postNotificationName:(NSString *)name: object:(NSString *)anObject: userInfo:(NSDictionary *)userInfo: options:(unsigned)options: 解説 遠隔通知センターにポストします。 NSNotificationDeliverImmediately …