Guest User

Untitled

a guest
Sep 22nd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import Foundation
  2. import Cocoa
  3.  
  4. protocol FixtureProtocol100 {
  5. var someGetSetVar: Bool { get set }
  6. }
  7.  
  8. extension FixtureProtocol100 {
  9. var someGetSetVar: Bool {
  10. get { return false }
  11. set { }
  12. }
  13. }
  14.  
  15. class FixtureClass100: NSView, FixtureProtocol100 {
  16. var someGetSetVar: Bool { return true }
  17. }
Add Comment
Please, Sign In to add comment