Re: NSView Names
Re: NSView Names
- Subject: Re: NSView Names
- From: Matt Neuburg <email@hidden>
- Date: Thu, 28 Feb 2002 09:36:29 -0800
On Wed, 27 Feb 2002 13:01:45 -0500, "Simson Garfinkel" <email@hidden> said:
>
How do you get the name of a disembodied NSView that's in a NIB file?
>
Speaking of which, how do you get the name of a window in a NIB file?
As a REALbasic user who is switching to Cocoa, I like almost everything
about Cocoa better than REALbasic. This is the rare exception. In REALbasic
every object in the "physical" part of the IDE (the equivalent of IB) has a
global name, and this name is accessible from the "code" part (the
equivalent of PB). In other words, it works more like AppleScript Studio.
This business of shuttling back and forth between PB and IB drawing
connections and inserting outlet accessors drives me nuts; because of it,
it takes much longer to write a simple Cocoa app than the equivalent simple
REALbasic app, as audience members saw when I demonstrated both in my talk
at Macworld Expo last month. It would be great to have an easier way to
close the gap between PB code and IB names. Perhaps this could be an
NSBundle method, e.g. objectWithName:nibNamed: or something. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.