SKYRecord

@interface SKYRecord : NSObject <NSCopying, NSCoding>

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)recordWithRecordType:(nonnull NSString *)recordType;
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)recordWithRecordType:(nonnull NSString *)recordType
                                            name:(nonnull NSString *)recordName;
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)
    recordWithRecordType:(nonnull NSString *)recordType
                    name:(nonnull NSString *)recordName
                    data:(NSDictionary<NSString *, id> *_Nullable)data;
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)
    recordWithRecordID:(nonnull SKYRecordID *)recordId
                  data:(NSDictionary<NSString *, id> *_Nullable)data;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Instantiates an instance of with the specified record type with a randomly generated .

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRecordType:(nonnull NSString *)recordType;

    Swift

    convenience init(recordType: String)

    Parameters

    recordType

    Record type of the record.

    Return Value

    An instance of SKYRecord.

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRecordType:(nonnull NSString *)recordType
                                          name:(nonnull NSString *)recordName;

    Swift

    convenience init(recordType: String, name recordName: String)
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRecordType:(nonnull NSString *)recordType
                                      recordID:(nonnull SKYRecordID *)recordId;

    Swift

    convenience init(recordType: String, recordID recordId: SKYRecordID)
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithRecordType:(nonnull NSString *)recordType
              recordID:(nonnull SKYRecordID *)recordId
                  data:(NSDictionary<NSString *, id> *_Nullable)data;

    Swift

    convenience init(recordType: String, recordID recordId: SKYRecordID, data: [String : Any]?)
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithRecordType:(nonnull NSString *)recordType
                  name:(nonnull NSString *)recordName
                  data:(NSDictionary<NSString *, id> *_Nullable)data;

    Swift

    convenience init(recordType: String, name recordName: String, data: [String : Any]?)
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithRecordID:(nonnull SKYRecordID *)recordId
                data:(NSDictionary<NSString *, id> *_Nullable)data;

    Swift

    init(recordID recordId: SKYRecordID, data: [String : Any]?)
  • Undocumented

    Declaration

    Objective-C

    - (id _Nullable)objectForKey:(nonnull id)key;

    Swift

    func object(forKey key: Any) -> Any?
  • Undocumented

    Declaration

    Objective-C

    - (id _Nullable)objectForKeyedSubscript:(nonnull id)key;

    Swift

    subscript(key: Any) -> Any! { get }
  • Undocumented

    Declaration

    Objective-C

    - (void)setObject:(nonnull id)object forKey:(id<NSCopying> _Nullable)key;

    Swift

    func setObject(_ object: Any, forKey key: NSCopying?)
  • Undocumented

    Declaration

    Objective-C

    - (void)setObject:(nonnull id)object
        forKeyedSubscript:(id<NSCopying> _Nullable)key;

    Swift

    func setObject(_ object: Any, forKeyedSubscript key: NSCopying?)
  • Undocumented

    Declaration

    Objective-C

    - (SKYRecord *_Nullable)referencedRecordForKey:(nonnull NSString *)key;

    Swift

    func referencedRecord(forKey key: String) -> SKYRecord?
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) SKYRecordID *_Nonnull recordID;

    Swift

    @NSCopying var recordID: SKYRecordID { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull recordType;

    Swift

    var recordType: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nullable ownerUserRecordID;

    Swift

    var ownerUserRecordID: String? { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSDate *_Nullable creationDate;

    Swift

    var creationDate: Date? { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nullable creatorUserRecordID;

    Swift

    var creatorUserRecordID: String? { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSDate *_Nullable modificationDate;

    Swift

    var modificationDate: Date? { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic)
        NSString *_Nullable lastModifiedUserRecordID;

    Swift

    var lastModifiedUserRecordID: String? { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nullable recordChangeTag;

    Swift

    var recordChangeTag: String? { get }
  • Gets or sets the access control settings for this record.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        SKYAccessControl *_Nullable accessControl;

    Swift

    var accessControl: SKYAccessControl? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic)
        NSDictionary<NSString *, id> *_Nonnull dictionary;

    Swift

    var dictionary: [String : Any] { get }
  • Returns an NSDictionary of transient fields.

    Transient fields are attached to an instance of SKYRecord and it is never persisted on server, but they maybe returned as extra data about the record when fetched or queried from server.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic)
        NSMutableDictionary<NSString *, id> *_Nonnull transient;

    Swift

    @NSCopying var transient: NSMutableDictionary { get }