A few (basic?) questions
A few (basic?) questions
- Subject: A few (basic?) questions
- From: Chris Backas <email@hidden>
- Date: Tue, 12 Mar 2002 20:59:04 -0500 (EST)
- Priority: Normal
Hello all,
I'm not entirely new to Cocoa, but I haven't delved very far below the surface as of yet, so the following questions shouldn't be too hard for most of you =)
1) Is there a way to obtain the icon that Finder would use for a given file type? My program will be creating files it retrieves from over the network, and I know their extension and/or MIME Type prior to retrieving them.
I'd like to represent the files with the Icon they would have if they were on the local system being viewed by the Finder.
2) Is there a supplied view that would be suited to displaying these icons? I don't need fancy things like arbitrary placement and sorting and whatnot, just kinda want them to be able to sit next to each other. I'm
thinking I'll have to write my first custom view to accomplish this, but I thought I'd check before reinventing the wheel.
3) Are there any examples of using the NSStepper? It seems like such a simple class, but to my surprise the documentation is very sparse. I understand all the properties mentioned, but how do I associate it with a
text field? Does it maintain an internal "current" value? What does it send to its target?
Thanks for any help!
Chris Backas
_______________________________________________
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.