• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Oops, I stand corrected. (was: Collection of Cocoa & objc questions from a "newbie")
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Oops, I stand corrected. (was: Collection of Cocoa & objc questions from a "newbie")


  • Subject: Oops, I stand corrected. (was: Collection of Cocoa & objc questions from a "newbie")
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 18 Jul 2001 02:35:13 -0700

On Wednesday, July 18, 2001, at 02:12 AM, Art Isbell wrote:


An example of one of these template classes is NSWindowTemplate. When a window is added to a nib, the object actually archived in the nib is a NSWindowTemplate instance that stores all the window properties set in Interface Builder. When a NSWindowTemplate is unarchived during nib loading, it allocates and initializes a NSWindow object setting the properties of this NSWindow accordingly. The NSWindowTemplate then releases itself and is freed.

Well, I just went and checked...

jcr@localhost:Projects/IXLoader/English.lproj>nibtool -j MainMenu.nib

[much snippage]

Object 145 = {
Class = "NSWindowTemplate";
CustomClass = "NSPanel";
Name = "CCSheet";
autoPositionMask = "15";
backingType = "2";
className = "NSPanel";
contentRect = ""{{0, 406}, {515, 553}}"";
deferred = "1";
dynamicDepthLimit = "0";
frameAutosaveName = "<null>";
hidesOnDeactivate = "0";
maxSize = ""{3.40282e+38, 3.40282e+38}"";
minSize = ""{515, 575}"";
releasedWhenClosed = "0";
styleMask = "14";
title = "Panel";
visibleAtLaunch = "1";
wantsToBeColor = "0";
};

Interesting.

BTW, it would be *real* nice if Apple published the code to nibtool. (hint, hint!)

-jcr

"This is not a book to be tossed aside lightly. Rather, it should be hurled with great force." -Dorothy Parker


  • Follow-Ups:
    • Re: Oops, I stand corrected. (was: Collection of Cocoa & objc questions from a "newbie")
      • From: Christopher Lloyd <email@hidden>
References: 
 >Re: Collection of Cocoa & objc questions from a "newbie" (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Collection of Cocoa & objc questions from a "newbie"
  • Next by Date: Re: Collection of Cocoa & objc questions from a "newbie"
  • Previous by thread: Re: Collection of Cocoa & objc questions from a "newbie"
  • Next by thread: Re: Oops, I stand corrected. (was: Collection of Cocoa & objc questions from a "newbie")
  • Index(es):
    • Date
    • Thread