macOS/iOS API解説

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

目次

notificationCenterForType:

タイプで遠隔通知センターをつくって返します
+(NSDistributedNotificationCenter *)notificationCenterForType:(NSString *)type:

解説

タイプで遠隔通知センターをつくって返します。
現在NSLocalNotificationCenterTypeのみサポートされています。

返り値

( NSDistributedNotificationCenter * )

遠隔通知センター

引数

( NSString * )type

タイプ

クラス

NSDistributedNotificationCenter

Class Methods

使用可能

10.0

参照

例文

//
	[NSDistributedNotificationCenter notificationCenterForType:NSLocalNotificationCenterType];