Created
July 11, 2014 14:57
-
-
Save schneiderandre/c5a5ce95b4f6e1b0ea9b to your computer and use it in GitHub Desktop.
Once you use ServiceProtocol as an input parameter in the ServiceProtocolDelegate method, Xcode crashes at compile time.
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 Cocoa | |
protocol ServiceProtocolDelegate { | |
func service(service: ServiceProtocol, didLoadItems items: [String]) | |
} | |
protocol ServiceProtocol { | |
func getData() | |
var delegate: ServiceProtocolDelegate {get set} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment