Mark IBOutlets as implicitely unwrapped. #180

Open
charlieMonroe opened this Issue Jan 22, 2016 · 1 comment

Projects

None yet

2 participants

@charlieMonroe

Example:

@implementation MyClass {
    IBOutlet NSView *view;
}

@end

Result:

class MyClass {
    @IBOutlet var view: NSView?
}

Since IBOutlets are usually loaded, it would make sense to mark them as implicitely unwrapped (as is Apple's practice in Swift):

class MyClass {
    @IBOutlet var view: NSView!
}
@drkameleon
Owner

Well, it does make sense. It's in my list! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment