• 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: Noob Playing with Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Noob Playing with Windows


  • Subject: Re: Noob Playing with Windows
  • From: go <email@hidden>
  • Date: Thu, 8 Jul 2004 14:51:06 -0400

Oh I had thought how he explained it . He was after the way a list of items are grouped and displayed.
Is there anyway to make a folder like that ? Basicly it looks like it is just finder view as KIND. But the way system pref shows it, it is all nice and clean.


On Jul 7, 2004, at 5:02 AM, Jeremy Dronfield wrote:

On 7 Jul 2004, at 2:51 am, Nicholas wrote:

While I have some programming experience I am new to OS X development and Cocoa, so please be gentle. I have been fooling around with Interface Builder and different NSViews in an effort to replicate the way the System Preferences window displays itself. The window resizes itself as its content changes. In effect it drops up and down like a sheet as you click along the toolbar but it does not have modal properties (at least I don't think it does) because you always have access to the toolbar. I'm sure there is a way to programmatically draw the new content (Custom view maybe?), set the new window size and send -setNeedsDisplay, but is there a way to design each view in Interface Builder?

It isn't a sheet - just a normal window. You can replicate the multiple views with a tabless, borderless NSTabView. For a basic example of getting this working, look at UKPrefsPanel, which you can get from <http://www.zathras.de/programming/cocoa_stuff.php>. Once you've got the hang of that, you could try studying a more sophisticated example - complete with window resizing  which you can get from Shiira (a Safari clone), the source code of which is available at <http://hmdt-web.net/shiira/index-e.html>

Hope this helps. Regards,
-Jeremy
_______________________________________________
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.
_______________________________________________
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: 
 >Noob Playing with Windows (From: Nicholas <email@hidden>)
 >Re: Noob Playing with Windows (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: NSTextAttachmentCell deletion
  • Next by Date: Re: NSOutlineView and horizontal scroll bar problem
  • Previous by thread: Re: Noob Playing with Windows
  • Next by thread: Custom view crashes app for some
  • Index(es):
    • Date
    • Thread