Created
April 19, 2019 13:02
-
-
Save amichnia/5edc93ed92bc5665c6414292d23fb239 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
// AdditionalSDK | |
@objc public class PrimeNumberChecker: NSObject { | |
@objc public var delegate: PrimeNumberCheckerDelegate? | |
@objc public func inspect(number: Int) { | |
// ... | |
} | |
} | |
@objc public protocol PrimeNumberCheckerDelegate { | |
func didFinishInspecting(number: Int, isPrime: Bool) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment