krzyzanowskim / Natalie

Natalie - Storyboard Code Generator (for Swift)
http://blog.krzyzanowskim.com/2015/04/15/natalie-storyboard-code-generator/
MIT License
1.17k stars 74 forks source link

Add public specifier to variables in Objective-C classes #79

Closed brandons closed 8 years ago

brandons commented 8 years ago

Objective-C view controllers do not work with the current version of Natalie. This error occurs when compiling.

error: property 'storyboardIdentifier' must be declared public because it matches a requirement in public protocol 'IdentifiableProtocol'

To fix this, I've added a public specifier to variables in classes that are Objective-C. Objective-C classes do not have a defined module in the Storyboard XML.

krzyzanowskim commented 8 years ago

👍