Re: iTunes like display
Re: iTunes like display
- Subject: Re: iTunes like display
- From: j o a r <email@hidden>
- Date: Wed, 9 Apr 2003 22:57:01 +0200
No, you don't! Welcome to the wonderful world of Cocoa! The user
interface objects are intelligent and knows how to deal with all such
low level drudgery.
In your example you will use what is known as a table view (of class
NSTableView). You will tell this table view that you have this bunch of
strings (of class NSString) that it is supposed to display in one of
it's columns - and it will do the rest for you.
That said, from your question it seems like you have quite a number of
things to learn about the basics of the Cocoa frameworks. I would
suggest that you pick up a book on Cocoa and / or run through the
tutorials available online before starting on the project of your
dreams. Here is one tutorial, but I'm sure you can find more online:
<
http://developer.apple.com/techpubs/macosx/Cocoa/ObjCTutorial/>
...and before you ask how to make every other line blue - just like in
iTunes - please learn how to check the mailing list archives, as this
and most other questions you can think of has been dealt with in the
past. The archives are most easily accessed here:
<
http://cocoa.mamasam.com/>
;)
j o a r
On Wednesday, Apr 9, 2003, at 21:16 Europe/Stockholm, Jesus De Meyer
wrote:
How can I add a display to my app like the one in iTunes? I know I
need to split the graphic in 3 but how do I make it a background
object in my nib and most of all, how do I insert text? Do I need to
literally draw the text?
_______________________________________________
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.