TKReference

@interface TKReference : NSObject <NSCopying>

Entity handling basic information about additional linked content.

  • ID

    Reference identifier.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSUInteger ID;

    Swift

    var ID: UInt { get set }
  • Reference title.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *_Nonnull title;

    Swift

    var title: String { get set }
  • Reference type.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSString *_Nonnull type;

    Swift

    var type: String { get set }
  • Reference supplier.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *supplier;

    Swift

    var supplier: String? { get set }
  • Potential price of the Reference if applicable. Value in USD.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSNumber *price;

    Swift

    @NSCopying var price: NSNumber? { get set }
  • Reference language.

    Note

    May be nil if generic.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *languageID;

    Swift

    var languageID: String? { get set }
  • Online NSURL of the Reference.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSURL *_Nonnull onlineURL;

    Swift

    var onlineURL: URL { get set }
  • Additional flags.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSArray<NSString *> *flags;

    Swift

    var flags: [String]? { get set }
  • Reference priority. Higher means more important.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSInteger priority;

    Swift

    var priority: Int { get set }
  • Name of a proposed icon for the Reference.

    Declaration

    Objective-C

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

    Swift

    var iconName: String { get }