Last active
March 19, 2018 12:13
-
-
Save cooler333/ad2a21a1361308da46a219677603521b to your computer and use it in GitHub Desktop.
This file contains 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
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