Created
November 14, 2016 08:20
-
-
Save akkyie/bafee654047dea3d65d81af9a07a5751 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
extension NSObjectProtocol { | |
func configure(closure: (Self) -> ()) -> Self { | |
closure(self) | |
return self | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment