[TxMt] tm_dialog: add FileSelect + Appending Accessory Views
Allan Odgaard
throw-away-1 at macromates.com
Sat Jul 28 03:40:22 UTC 2007
On 27. Jul 2007, at 16:51, Hans-Jörg Bibiko wrote:
> [...]
> But now I need some help with the accessory view:
>
> 1) How should such a nib look like? Can someone write such one?
Go to the “Cocoa-Containers” part in the palette. Then drag a
“CustomView” to the “Instances” part of your nib.
You can then work with just this view, i.e. add controls to it.
> 2) How can I load such a nib and how can I have access to it within
> the showFileSelect method?
You will load it just as a regular nib, but where we presently
iterate the top-level nib objects to find one of type NSWindow, you
will need to find one of NSView, and then use that.
More information about the textmate
mailing list