Skip to content

Instantly share code, notes, and snippets.

@cooler333
Last active March 19, 2018 12:13
Show Gist options
  • Save cooler333/ad2a21a1361308da46a219677603521b to your computer and use it in GitHub Desktop.
Save cooler333/ad2a21a1361308da46a219677603521b to your computer and use it in GitHub Desktop.
import Foundation
// This code is contained inside "some" framework, like UIKit, Foundation e.t.c.
class RandomStringGenerator {
static func makeRandomString() -> NSString {
return "some random string"
}
}
// Run inside main project
let randomString = RandomStringGenerator.makeRandomString()
print(randomString)
/*
Question: how ARC set up keywords?
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment