Does the Yosemite (OSX 10.10) feature of xcode live views work with NSView on OSX? -
i'm trying determine if live view feature works nsview on osx 10.10, or ios @ moment?
it works great uiview ios projects, haven't been able osx projects work.
yes work. need add same symbols ibdesignable (before class interface declaration) , ibinspectable (before property want edit in ib) in right places in view class header , sure nib or storyboard has class set in tge inspector in ib.
you need note must properties , limited in type.
sometimes ib still little flaky recognizing right away, might need build or reopen tab nib or storyboard.
also expect mileage may vary subclasses of more complex views , remember works objects descendants of nsview @ point. no nscell descendants.
Comments
Post a Comment