One Logo Pool Ball
UIKit · IOS API REFERENCE

NSDataAsset

class · iOS 9.0+ · SDK 27.1

class NSDataAsset

Members (5)

init · iOS 9.0+

init

TypeScript
static initName(name: string): (NSDataAsset) | null
Swift declaration
convenience init?(name: NSDataAssetName)
init · iOS 9.0+

init

TypeScript
static initNameBundle(name: string, bundle: _Foundation_Bundle): (NSDataAsset) | null
Swift declaration
init?(name: NSDataAssetName, bundle: Bundle)
get · iOS 9.0+

data

TypeScript
get data(): ArrayBuffer
Swift declaration
var data: Data { get }
get · iOS 9.0+

name

TypeScript
get name(): string
Swift declaration
var name: NSDataAssetName { get }
get · iOS 9.0+

typeIdentifier

TypeScript
get typeIdentifier(): string
Swift declaration
var typeIdentifier: String { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSDataAsset.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All UIKit types →