Questions tagged [ibplugin]
8 questions
18
votes
2 answers
How do you display custom UIViews in InterfaceBuilder?
I seem to enjoy designing new UIViews and UIControls that implement their own -drawRect: method. This work well for me, especially when composed using UIViews in Interface Builder.
But composing them in Interface Builder is annoying because they…

Frank Krueger
- 69,552
- 46
- 163
- 208
15
votes
4 answers
Binding a custom NSView: Does it demand creating an IBPlugin?
I have created a subclass of NSView to draw an image as a pattern:
@interface CePatternView : NSView
{
NSImage* image;
id observableObjectForImage;
NSString* keyPathForImage;
}
@end
I implemented the following to expose…

Renaud Pradenc
- 1,221
- 2
- 8
- 9
3
votes
1 answer
Cocoa Bindings and Custom NSCell properties
I have a problem regarding subclassed NSCells (Check Box Cells). I want them to have a title and a subtitle next to the checkmark (so I created NSString properties for these). Their values shall be set via Bindings (from the IB would be awesome) but…

iStefo
- 31
- 1
3
votes
2 answers
IBPlugin and paths to framework
IBCocoaSimulator crashes when IB cannot find the framework, I assume that happens to you too. I can run IBCocoaSimulator without crash, when I manually copy my framework+ibplugin from the build dir into /Users/username/Library/Frameworks. I'm doing…

neoneye
- 50,398
- 25
- 166
- 151
1
vote
1 answer
How do you make a bindings view in a Interface Builder Plugin (IBPlugin)
I am trying to make property have a bindings inspector view like the textfield has for it's value. With a combo of all nonview items that has a checkbox toggle if you want to enable the binding or not.
I get how to make an IBPlugin with outlets and…

joels
- 7,249
- 11
- 53
- 94
0
votes
1 answer
Remove ibplugin from xib
How to remove all traces of ibplugins from .xib files? My Xcode3 project had around 10 custom ibplugins used lots of places through out my around 20 .xib files. I have reworked this code so it no longer rely on ibplugins nor bindings so it now can…

neoneye
- 50,398
- 25
- 166
- 151
0
votes
1 answer
Interface Builder Plugin Image inspector property problem on load
i have created a custom NSView that displays an image.
i have created a property in Inspector view with binding to File's Owner.
Everything works fine in runtime image changing.
But nothing is loaded when i save and load xib file.
here is the…

Remizorrr
- 2,322
- 1
- 17
- 25
0
votes
1 answer
IBPlugin: Adding additional objects on drag from IB Library
I have a list view class that just like NSCollectionView requires an additional prototype item and a prototype view to be of any use.
When dropping an NSCollectionView from the library in Interface Builder those two helper items are automatically…

Regexident
- 29,441
- 10
- 93
- 100