macOS/iOS API解説

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

目次

NSWindowBackingLocation

INDEX>AppKit> NSWindow

Objective-C

enum {
   NSWindowBackingLocationDefault = 0,
   NSWindowBackingLocationVideoMemory = 1,
   NSWindowBackingLocationMainMemory = 2
};
typedef NSUInteger NSWindowBackingLocation;

Swift

enum NSWindowBackingLocation : UInt {
    case Default
    case VideoMemory
    case MainMemory
}

解説

設定値

返り値

Objective-C

Swift


クラス

NSWindow

使用可能

10.5

参照

関連記事(外部サイト)

更新時のバージョン

OS X 10.10