Skip navigation.
 
mlRe: File's Owner
FROM : Sherm Pendley
DATE : Sat May 24 13:02:15 2008

On Sat, May 24, 2008 at 6:49 AM, Paul Sargent <<email_removed>> wrote:

>
> On 24 May 2008, at 05:39, Andreas Mayer wrote:
>

>>
>> I thought, maybe a picture would help:
>>
>> http://www.harmless.de/images/other/files_owner.png
>>

>
> Exactly the picture I was about to draw.
>
> Johnny Lundy wrote:
>

>> Saying it connects the nib to an object outside the nib sounds good, but
>> what object is that?
>>

>
> The object that loaded the NIB. What object is that? Whichever is passed
> when the NIB is loaded with [NSBundle loadNibNamed:owner:]
>
> e.g. NSApplication probably has code that looks like
>
> [NSBundle loadNibNamed:@"MainMenu" owner:self]
>
> You might have a piece of code that reads
>
> [NSBundle loadNibNamed:@"InspectorWindows" owner:inspectorController]



If your inspectorController is your own custom subclass of
NSWindowController, it will make itself the nib's owner if you create it
like this:

MyInspectorController* ic = [[MyInspectorController alloc] initWithNibName:@
"inspectorWindows"];

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net

Related mailsAuthorDate
mlFile's Owner Johnny Lundy May 23, 20:49
mlRe: File's Owner Matt Long May 23, 21:13
mlRe: File's Owner Erik Buck May 23, 21:30
mlRe: File's Owner Ken Thomases May 23, 21:33
mlRe: File's Owner Brian Stern May 23, 22:00
mlRe: File's Owner Shawn Erickson May 23, 22:27
mlRe: File's Owner Andy Lee May 23, 22:55
mlRe: File's Owner Shawn Erickson May 23, 23:07
mlRe: File's Owner Shawn Erickson May 23, 23:11
mlRe: File's Owner Steve Weller May 24, 00:17
mlRe: File's Owner Hamish Allan May 24, 00:30
mlRe: File's Owner Julien Jalon May 24, 01:36
mlRe: File's Owner Johnny Lundy May 24, 02:21
mlRe: File's Owner Johnny Lundy May 24, 03:19
mlRe: File's Owner Jonathan Hess May 24, 03:32
mlRe: File's Owner Erik Buck May 24, 03:55
mlRe: File's Owner Jason Stephenson May 24, 03:57
mlRe: File's Owner Johnny Lundy May 24, 04:31
mlRe: File's Owner Scott Ribe May 24, 04:38
mlRe: File's Owner Andy Lee May 24, 04:58
mlRe: File's Owner Scott Ribe May 24, 05:01
mlRe: File's Owner Jonathan Hendry May 24, 05:41
mlRe: File's Owner Andreas Mayer May 24, 06:39
mlRe: File's Owner Paul Sargent May 24, 12:49
mlRe: File's Owner Sherm Pendley May 24, 13:02
mlRe: File's Owner Hamish Allan May 24, 14:12
mlRe: File's Owner Johnny Lundy May 25, 00:25
mlRe: File's Owner Ken Thomases May 25, 04:57
mlRe: File's Owner Johnny Lundy May 25, 09:15
mlRe: File's Owner Scott Anguish May 25, 09:49
mlRe: File's Owner Jens Alfke May 25, 09:52
mlRe: File's Owner Ken Thomases May 25, 10:17
mlRe: File's Owner Paul Thomas May 25, 10:31
mlRe: File's Owner Roland King May 25, 11:01
mlRe: File's Owner mmalc crawford May 25, 11:14
mlRe: File's Owner Ken Thomases May 25, 11:44
mlRe: File's Owner mmalc crawford May 25, 12:20
mlRe: File's Owner Graham Cox May 25, 14:02
mlRe: File's Owner Andy Lee May 25, 15:31
mlRe: File's Owner Johnny Lundy May 25, 18:13
mlRe: File's Owner mmalc crawford May 25, 19:17
mlRe: File's Owner mmalc crawford May 25, 19:22
mlRe: File's Owner Andy Lee May 25, 19:30
mlRe: File's Owner mmalc crawford May 25, 19:42
mlRe: File's Owner Hamish Allan May 25, 20:58
mlRe: File's Owner Johnny Lundy May 25, 21:12
mlFile's Owner Johnny Lundy May 25, 21:27
mlRe: File's Owner Jens Alfke May 25, 21:51
mlRe: File's Owner Sherman Pendley May 25, 21:53
mlRe: File's Owner James Merkel May 25, 22:14
mlRe: File's Owner Kyle Sluder May 26, 03:41
mlRe: File's Owner Scott Anguish May 26, 08:21
mlRe: File's Owner Uli Kusterer May 26, 09:54
mlRe: File's Owner Uli Kusterer May 26, 10:17
mlRe: File's Owner Quincey Morris May 26, 19:49
mlRe: File's Owner dream cat7 May 27, 03:24
mlRe: File's Owner Andreas Mayer May 27, 05:34
mlRe: File's Owner Scott Ribe May 27, 06:24
mlRe: File's Owner Hamish Allan May 27, 11:11
mlRe: File's Owner Andy Lee May 27, 14:34
mlRe: File's Owner Andy Lee May 27, 14:48
mlRe: File's Owner Kyle Sluder May 27, 15:52
mlRe: File's Owner Andy Lee May 27, 16:06
mlRe: File's Owner Mike Abdullah May 27, 17:51
mlRe: File's Owner Andy Lee May 27, 19:36
mlRe: File's Owner Quincey Morris May 27, 20:02
mlRe: File's Owner Andy Lee May 27, 20:50
mlRe: File's Owner Quincey Morris May 27, 22:40
mlRe: File's Owner Ken Thomases May 27, 22:47
mlRe: File's Owner Andy Lee May 27, 23:04
mlRe: File's Owner Alex Kac May 27, 23:19
mlRe: File's Owner Gary L. Wade May 27, 23:55
ml[moderator] Re: File's Owner Scott Anguish May 28, 00:13