NSKTag
The NSKTag is the tag object model.
-
The id of the tag.
Declaration
Swift
public var id: NSNumber = 0
-
The tag description.
Declaration
Swift
public var tagDescription: String?
-
The tag category id.
Declaration
Swift
public var tagCategoryId: NSNumber?
-
The tag translation.
Declaration
Swift
public var translation: String?
-
The tag identifier.
Declaration
Swift
public var tagIdentifier: String?
-
The tag image URL.
Declaration
Swift
public var imageURL: NSURL?
-
The tag button text.
Declaration
Swift
public var buttonText: String?
-
Array of linked tags.
Declaration
Swift
public var linkedTags: NSMutableArray = NSMutableArray()
-
The id of the parent tag.
Declaration
Swift
public var parentId: NSNumber?
-
The name of the parent tag.
Declaration
Swift
public var parentName: String?
-
The tag identifier of the parent tag.
Declaration
Swift
public var parentIdentifier: String?
-
The tag text URL.
Declaration
Swift
public var textURL: NSURL?
-
The tag gender.
Declaration
Swift
public var gender: String?
-
The tag name.
Declaration
Swift
public var name: String?
-
The hardware beacon object of the tag.
Declaration
Swift
public var hardwareBeacon: CLBeacon?
-
True if the tag is a favorite tag.
Declaration
Swift
public var favorite: Bool = false
-
Init the tag with an id.
Declaration
Swift
public init(id: NSNumber)
Parameters
id
The id of the tag.
-
Init the tag and decode the object from NSCoder
Declaration
Swift
required public init(coder aDecoder: NSCoder)
Parameters
aDecoder
The NScoder decoder object.
-
Encode the tag for NSCoder.
Declaration
Swift
public func encodeWithCoder(aCoder: NSCoder)
-
Parse a ancestry json string into a array of strings. Input looks like: 123/118/20
Declaration
Swift
public class func parseAncestry(jsoninput: String?) -> [String]
Parameters
jsoninput
The ancestry json input.
Return Value
An array of ancestries.