• 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
Re: Subclassing NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSWindowController


  • Subject: Re: Subclassing NSWindowController
  • From: Chaffinch <email@hidden>
  • Date: Mon, 16 Dec 2002 18:56:07 +0000 (GMT)

--- Mike Ferris <email@hidden> wrote:

> You can have something in IB to serve as a placeholder. What I usually
> do in this case is put a custom view that is just an NSView in a scroll
> view in IB and have an outlet to the custom view. Then, once the nib
> loads you can replace the NSView with an NSTextView you create in code
> using NSScrollView's -setDocumentView: method. That way you can
> configure the scroll view in IB.

Success. I have seperated the view from the model and have the subclassed
window controller working great.

Thanks to everyone who offered advice, particularly Mike who has shown
amazing patience with my stupid questions. I dare say there will be many
more.

Cheers guys.





=====
Regards

Chaffinch
----------------------------------------------
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.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.

References: 
 >Re: Subclassing NSWindowController (From: Mike Ferris <email@hidden>)

  • Prev by Date: More 10.1 backward compatibility
  • Next by Date: WebServicesCore: Getting an xsd:dateTime into a request
  • Previous by thread: Re: Subclassing NSWindowController
  • Next by thread: Re: Subclassing NSWindowController
  • Index(es):
    • Date
    • Thread