packs property

NSArray? get packs

An array of all known offline packs, in the order in which they were created.

This property is set to nil, indicating that the receiver does not yet know the existing packs, for an undefined amount of time starting from the moment the shared offline storage object is initialized until the packs are fetched from the database. After that point, this property is always non-nil, but it may be empty to indicate that no packs are present.

To detect when the shared offline storage object has finished loading its packs property, observe KVO change notifications on the packs key path. The initial load results in an NSKeyValueChangeSetting change.

Implementation

objc.NSArray? get packs {
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_packs);
  return _ret.address == 0 ? null : objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}