Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for Cocoa Example: NSView



On 24 Mar, 2004, at 2:37 PM, Matt Jaffa wrote:

Hi,

I am looking for an example of implementing a way Finder behaves in my own app.
I am not making a Finder like app, I just want to know how finder does something.

In the left hand side of the finder there are those shortcuts, you click on one and then in the right box it shows the files.
Well in my app I am going to have a list of users of the system with their icon next to them, like the way it shows in Accounts in the System
Preferences.

basically I would like to know if there is an example of showing how to do this, have the icon show up and text next to it,
I am assuming it is within a NSView, but I don't know where to begin with this.

Thanks,
Matt

Check the archives. There are third-party classes, it is probably possible to use NSSegmentedCell, but the best solution seems to be NSBrowserCell, which can display an image and a string at the same time.
_______________________________________________
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: 
 >Looking for Cocoa Example: NSView (From: Matt Jaffa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.