SiteIdentifier
@objc(GFYSiteIdentifier)
public class SiteIdentifier : NSObject, Codable
Unique site identifier
This is a 5-character, case-sensitive, alphanumeric string provided to you by Granify.
-
The underlying
String
site identifierDeclaration
Swift
@objc public let identifier: String
-
Creates a
SiteIdentifier
instanceReturns
nil
ifidentifier
is not a 5-character alphanumeric string.Declaration
Swift
@objc public init?(identifier: String)
Parameters
identifier
The Granify site identifier string
-
Encodes an instance of
SiteIdentifier
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Retrieves
String
representation ofSiteIdentifier
Declaration
Swift
public override var description: String { get }