目次
Xcode の新機能

A

B
  • Bound
  • Button

    ボタンの作成

  • init(action: ())
  • init(LocalizedStringKey)
  • init<S>(S, action: () )
  • 役割を持ったボタンの作成

  • init(role: ButtonRole?, action)
  • init(LocalizedStringKey, role)
  • init<S>(S, role: ButtonRole?)
  • 構成からボタンを作成

  • init(PrimitiveButtonStyleConfiguration)
  • イニシャライザ

  • init<S>(S, intent...)   Beta  
  • init(LocalizedStringKey,)   Beta  
  • init<I>(intent: I, label: () -> Label)

  • func buttonStyle<S>(S)
  • func buttonStyle<S>(S)
  • func buttonBorderShape
  • func buttonRepeatBehavior   Beta  

  • var buttonRepeatBehavior   Beta  
  • struct ButtonBorderShape
  • 境界線の形状を取得

  • static let automatic: ButtonBorderShape
  • static let capsule: ButtonBorderShape
  • static let roundedRectangle
  • static func roundedRectangle
  • 型プロパティ

  • static let circle: ButtonBorderShape
  • struct ButtonRole

  • static let cancel: ButtonRole
  • static let destructive: ButtonRole
  • struct ButtonRepeatBehavior

    型プロパティ

    ボタンのイメージの構成

  • var image: NSImage?
  • var alternateImage: NSImage?
  • var imagePosition: NSControl.ImagePosition
  • enum NSControl.ImagePosition
  • コントロールのイメージの配置

  • struct NSControl.StateValue
  • コントロールの状態の設定

    状態値の作成

  • var isBordered: Bool
  • var isTransparent: Bool
  • var bezelStyle: NSButton.BezelStyle
  • var bezelColor: NSColor?
  • var showsBorderOnlyWhileMouseInside: Bool
  • var imageHugsTitle: Bool
  • var imageScaling: NSImageScaling
  • class Bundle

    標準バンドルオブジェクトの取得

  • class var main: Bundle
  • class var allFrameworks: [Bundle]
  • class var allBundles: [Bundle]
  • バンドルの作成と初期化

  • init(for: AnyClass)
  • init?(identifier: String)
  • init?(url: URL)
  • init?(path: String)
  • Nib ファイルをロードする

  • func loadNibNamed(String, owner: Any?, options: [UINib.OptionsKey : Any]?) -> [Any]?
  • func loadNibNamed(NSNib.Name, owner: Any?, topLevelObjects: AutoreleasingUnsafeMutablePointer<NSArray?>?) -> Bool
  • リソースファイルの検索

  • func url(forResource: String?, withExtension: String?, subdirectory: String?) -> URL?
  • func url(forResource: String?, withExtension: String?) -> URL?
  • func urls(forResourcesWithExtension: String?, subdirectory: String?) -> [URL]?
  • func url(forResource: String?, withExtension: String?, subdirectory: String?, localization: String?) -> URL?
  • func urls(forResourcesWithExtension: String?, subdirectory: String?, localization: String?) -> [URL]?
  • class func url(forResource: String?, withExtension: String?, subdirectory: String?, in: URL) -> URL?
  • class func urls(forResourcesWithExtension: String?, subdirectory: String?, in: URL) -> [URL]?
  • func path(forResource: String?, ofType: String?) -> String?
  • func path(forResource: String?, ofType: String?, inDirectory: String?) -> String?
  • func path(forResource: String?, ofType: String?, inDirectory: String?, forLocalization: String?) -> String?
  • func paths(forResourcesOfType: String?, inDirectory: String?) -> [String]
  • func paths(forResourcesOfType: String?, inDirectory: String?, forLocalization: String?) -> [String]
  • class func path(forResource: String?, ofType: String?, inDirectory: String) -> String?
  • class func paths(forResourcesOfType: String?, inDirectory: String) -> [String]
  • イメージリソースの検索

  • func urlForImageResource(NSImage.Name) -> URL?
  • func pathForImageResource(NSImage.Name) -> String?
  • func image(forResource: NSImage.Name) -> NSImage?
  • サウンドリソースの検索

  • func path(forSoundResource: NSSound.Name) -> String?
  • ローカライズされた文字列の取得

  • func localizedString(forKey: String, value: String?, table: String?) -> String
  • 文脈ヘルプリソースの取得

  • func contextHelp(forKey: NSHelpManager.ContextHelpKey) -> NSAttributedString?
  • 標準バンドルディレクトリの取得

  • var resourceURL: URL?
  • var executableURL: URL?
  • var privateFrameworksURL: URL?
  • var sharedFrameworksURL: URL?
  • var builtInPlugInsURL: URL?
  • func url(forAuxiliaryExecutable: String) -> URL?
  • var sharedSupportURL: URL?
  • var appStoreReceiptURL: URL?
  • var resourcePath: String?
  • var executablePath: String?
  • var privateFrameworksPath: String?
  • var sharedFrameworksPath: String?
  • var builtInPlugInsPath: String?
  • func path(forAuxiliaryExecutable: String) -> String?
  • var sharedSupportPath: String?
  • バンドル情報の取得

  • var bundleURL: URL
  • var bundlePath: String
  • var bundleIdentifier: String?
  • var infoDictionary: [String : Any]?
  • func object(forInfoDictionaryKey: String) -> Any?
  • ローカライズ情報の取得

  • var localizations: [String]
  • var preferredLocalizations: [String]
  • var developmentLocalization: String?
  • var localizedInfoDictionary: [String : Any]?
  • class func preferredLocalizations(from: [String]) -> [String]
  • class func preferredLocalizations(from: [String], forPreferences: [String]?) -> [String]
  • オンデマンドリソースの保存優先度の管理

  • func setPreservationPriority(Double, forTags: Set<String>)
  • func preservationPriority(forTag: String) -> Double
  • バンドルからクラスを取得

  • func classNamed(String) -> AnyClass?
  • var principalClass: AnyClass?
  • class let didLoadNotification: NSNotification.Name
  • let NSLoadedClasses: String
  • コードをバンドルからロード

  • var executableArchitectures: [NSNumber]?
  • func preflight()
  • func load() -> Bool
  • func loadAndReturnError()
  • func unload() -> Bool
  • var isLoaded: Bool
  • Mach-O Architecture

    定数

  • var NSBundleExecutableArchitectureARM64: Int
  • var NSBundleExecutableArchitectureI386: Int
  • var NSBundleExecutableArchitectureX86_64: Int
  • var NSBundleExecutableArchitecturePPC: Int
  • var NSBundleExecutableArchitecturePPC64: Int
  • エラー

  • var NSExecutableErrorMinimum: Int
  • var NSExecutableNotLoadableError: Int
  • var NSExecutableArchitectureMismatchError: Int
  • var NSExecutableRuntimeMismatchError: Int
  • var NSExecutableLoadError: Int
  • var NSExecutableLinkError: Int
  • var NSExecutableErrorMaximum: Int


  • C D E F G H I J K L M N O P Q R S T U V W XYZ