TOGGLE() - SWIFT
Toggle is a method that can be used to change the value of a Bool. (Just like a switch) if your variable is set to false initially using the method var.toggle() will cause the change.
CLASS - SWIFT
A class is a blueprint or template for an instance of that class.
STRING - SWIFT
A string is a series of characters, such as "hello, world" or "albatross" . Swift strings are represented by the "String" type. The contents of a String can be accessed in various ways, including as a collection of Character values.
STORED PROPERTY - SWIFT
In its simplest form, a stored property is a constant or variable that is stored as part of an instance of a particular class or structure. Stored properties can be either variable stored properties (introduced by the var keyword) or constant stored properties (introduced by the let keyword).
This PlayPortal method sets the configuration for your app, The things that need configured include client id and secret, redirect URI, and the environment. Find more information on, what those variables are by following the link above..
Link to the official PlayPortal Documentation for the PlayPortalAuth method can be found here.
Struct - SWIFT
A struct is a custom data type that provides storage of data using properties.
AnyObject? - SWIFT
You use AnyObject when you need the flexibility of an untyped object or when you use bridged Objective-C methods and properties that return an untyped result.