mbogh / NibDesignable

Elegant way of enabling IBDesignable on your nib-based views
MIT License
342 stars 74 forks source link

updated to swift 3.0 #43

Closed appoulsen closed 7 years ago

appoulsen commented 7 years ago

Updated from swift 2.3 to swift 3.0

farzadshbfn commented 7 years ago

@appoulsen why did you change setubNib() from private to public? 🤔

farzadshbfn commented 7 years ago

I think what you're looking for is fileprivate @appoulsen

appoulsen commented 7 years ago

fileprivate wouldn't work cause if someone was to implement there own nibdesignable with the nibdeisgnableprotocol. They wouldn't be able to acces the function. Alternative it could be internal that should work. Or completely shutting out developers with making the nibdesignableprotocol fileprivate

mbogh commented 7 years ago

Pull Request #42 has been merged, so I am closing this one.