This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pod trunk register [email protected] 'Your Name' --description='macbook pro' | |
pod trunk push CactusKeyboard.podspec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Updating spec repo `master` | |
CocoaPods 1.4.0 is available. | |
To update use: `gem install cocoapods` | |
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.4.0 | |
Validating podspec | |
-> CactusKeyboard (1.0.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let userIdentifier = "c264f544-12f7-11e8-b642-0ed5f89f718b" | |
var userName = "Maxim Vialyx" | |
let height = 300.0, width = 120.0 | |
var firstName = "Maxim", lastName = "Vialyx" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol NameType { | |
var fullName: String { get } | |
} | |
struct User: NameType { | |
var fullName: String | |
var note = "" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let 🌎 = 180 | |
let 你好 = "你好世界" | |
let ❎ = "negativeCrossMark" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let age = 27 | |
print("User age is: \(age)") | |
print("User age is: " + String(age)) | |
print(String(format: "User age is: %d", age)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let note: String? = "" | |
print("User note: \(String(describing: note))") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol AssestType { | |
var assets: [Any] { get } | |
func downloadAssest() | |
} | |
struct Event { | |
var priority: Float = 0 // This value used for positioning in EventsList. ASC sort type. | |
var assets: [Any] = [] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let x = 40.0; let y = 20.0; print("(x, y): (\(x),\(y)") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let minUInt8Value = UInt8.min // minUInt8Value is equal to 0, and is of type UInt8 | |
let maxUInt8Value = UInt8.max // maxUInt8Value is equal to 255, and is of type UInt8 | |
let minInt64Value = Int64.min | |
let maxInt64Value = Int64.max |