OAFLink

Objective-C

@interface OAFLink : OAFFeaturesObject

Swift

class OAFLink : OAFFeaturesObject

Link

  • href

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *href;

    Swift

    var href: String! { get set }
  • rel

    rel

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *rel;

    Swift

    var rel: String! { get set }
  • type

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *type;

    Swift

    var type: String! { get set }
  • hreflang

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *hreflang;

    Swift

    var hreflang: String! { get set }
  • title

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *title;

    Swift

    var title: String! { get set }
  • length

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *length;

    Swift

    var length: NSNumber! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()

    Return Value

    new link

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithHref:(NSString *)href;

    Swift

    init!(href: String!)

    Parameters

    href

    href value

    Return Value

    new link

  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithTree:(NSDictionary *)tree;

    Swift

    init!(tree: [AnyHashable : Any]!)

    Parameters

    tree

    JSON tree

    Return Value

    new link