Last active
July 29, 2020 17:35
-
-
Save peteranny/1c38c80674a14c8842b45e6a3a7f1821 to your computer and use it in GitHub Desktop.
An example library class with public interfaces. https://medium.com/better-programming/ios-build-your-cocoapods-framework-with-an-example-app-from-scratch-fd0f7bdf3f8c
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
public class HelloWorld { | |
let hello = "Hello" | |
public init() {} | |
public func hello(to whom: String) -> String { | |
return "Hello \(whom)" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment