PageIdentifier

@objc(GFYPageIdentifier)
public class PageIdentifier : NSObject

Contains information about a page’s type and its unique path.

  • The PageType of the current page.

    Declaration

    Swift

    @objc
    public let pageType: PageType
  • The unique path for the page.

    Declaration

    Swift

    @objc
    public var path: String
  • Initializer

    Declaration

    Swift

    @objc
    public init(pageType: PageType, path: String = "")
  • Formats the pageIdentifier in a URL-like string

    Declaration

    Swift

    @objc
    public func getIdentifyingURL() -> String
  • Sets the value of path, only if it has not previously been set

    Declaration

    Swift

    public func updatePathIfEmpty(path: String)
  • Returns a Boolean value that indicates whether the receiver and a given object are equal.

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool
  • Returns an integer that can be used as a table address in a hash table structure.

    Declaration

    Swift

    public override var hash: Int { get }
  • A textual representation of the receiver.

    Declaration

    Swift

    public override var description: String { get }