macOS/iOS API解説

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

目次

OS X 10.7-

completeStateRestoration

INDEX>AppKit>NSApplication 状態の保存・復帰に使用Objective-C Swift 解説 このメソッドはスレッドセーフです。 返り値 引数 フレームワーク AppKit クラス NSApplication 使用可能 OS X10.7 参照 関連記事(外部サイト) 例文 編集時のバージョン OS X 10…

restoreWindowWithIdentifier:state:completionHandler:

INDEX>AppKit>NSApplication Objective-C - (BOOL)restoreWindowWithIdentifier:(NSString *)identifier state:(NSCoder *)state completionHandler:(void (^)(NSWindow *, NSError *))completionHandler Swift func restoreWindowWithIdentifier(_ identifi…

unregisterForRemoteNotifications

INDEX>AppKit>NSApplication リモート通知を解除します Objective-C - (void)unregisterForRemoteNotifications Swift func unregisterForRemoteNotifications() 解説 リモート通知の登録を解除します。 返り値 なし 引数 なし フレームワーク ApplicationKi…

registerForRemoteNotificationTypes:

INDEX>AppKit>NSApplication リモート通知タイプをセットします 解説 リモート通知タイプをセットします。 Objective-C - (void)registerForRemoteNotificationTypes:(NSRemoteNotificationType)types Swift func registerForRemoteNotificationTypes(_ type…

enabledRemoteNotificationTypes

INDEX>AppKit>NSApplication 有効なリモート通知タイプを取得します 解説 有効なリモート通知タイプを取得します Objective-C @property(readonly) NSRemoteNotificationType enabledRemoteNotificationTypes Swift var enabledRemoteNotificationTypes: NSR…

-extendStateRestoration

状態の保存・復帰に使用Objective-C - (void)extendStateRestoration Swift func extendStateRestoration() 解説 このメソッドはスレッドセーフです。 返り値 引数 フレームワーク UIKit クラス UIApplication 使用可能 OS X10.7 参照 completeStateRestorat…