Xcode6: IBDesignable and IBInspectable with Objective-C Xcode6: IBDesignable and IBInspectable with Objective-C objective-c objective-c

Xcode6: IBDesignable and IBInspectable with Objective-C


Code example:

#import <UIKit/UIKit.h>IB_DESIGNABLE@interface LOLView : UIView@property (nonatomic) IBInspectable UIColor *someColor; @end


The equivalents are IB_DESIGNABLE and IBInspectable—see the documentation for Objective C examples.

Also, this year's WWDC video "What's New in Interface Builder" has its examples in Swift, but the presenter also mentions the Objective C equivalents in passing.