IBDesignable and IBInspectable don't work in Cocoa Touch Frameworks
Originator: | btucker | ||
Number: | rdar://23114017 | Date Originated: | |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | 7.0.1 |
Classification: | Bug | Reproducible: | Always |
Summary: I have a framework project that includes some custom subclasses of UIView. These subclasses include @IBDesignable and @IBInspectable, but when the framework is built and added to another project, it seems that the @IB tags are not being honored. Steps to Reproduce: 1. Create a CocoaTouch Framework Project. 2. Add a subclass of UIView that is @IBDesignable and has some @IBInspectable properties. 3. Make sure the subclass and properties are public 4. Build the framework 5. Add the framework to a new project 6. Add the UIView subclass to a view in the storyboard. Notice the @IBInspectable properties are not accessible Expected Results: Should be able to use the @IBInspectable properties Actual Results: Can't use the @IBInspectable properties Version: Xcode 7.0.1 El Capitan Notes: Links to other people having this issue: https://github.com/Carthage/Carthage/issues/335 http://stackoverflow.com/questions/29933691/ibdesignable-from-external-framework Configuration: I am using Xcode 7.0.1 on El Capitan Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!