Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

23114017: IBDesignable and IBInspectable don't work in Cocoa Touch Frameworks #7295

Open
openradar-mirror opened this issue Jan 7, 2016 · 0 comments

Comments

@openradar-mirror
Copy link

Description

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:

Carthage/Carthage#335
http://stackoverflow.com/questions/29933691/ibdesignable-from-external-framework

Configuration:
I am using Xcode 7.0.1 on El Capitan

Attachments:

Product Version: 7.0.1
Created: 2015-10-14T20:35:13.121150
Originated: 2016-01-07T00:00:00
Open Radar Link: http://www.openradar.me/23114017

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

No branches or pull requests

1 participant