Re: Questions for a new mac developer...
Re: Questions for a new mac developer...
- Subject: Re: Questions for a new mac developer...
- From: Ian Joyner <email@hidden>
- Date: Wed, 12 Sep 2007 10:22:36 +1000
On 12/09/2007, at 7:27 AM, Kevin White wrote:
Heya guys,
I'm new to the mac programming scene ... been programming dos/
windows for
many years. I've been going through books and tutorials and having
a good
time on little simple things. But now it's time to get serious. :)
Welcome!
So...
1- I have a design where I'd like to have "tabbed" views. Similar to
firefox browser tabs. Is this a standard cocoa component for me to
use?
The NSTabbedView seems to be using a sectioned control rather than
traditional tabs. What should I use if I want a tabbed look?
2- I have another view where I'd like an iTunes-like appearance.
If you use
the television shows area of your itunes library, you'll see show
icons
(with details under the icon) down the side, and a list of episodes
for each
show. So it's one big scroll view, sectioned off for the various
categories, and items for each category. I'd like to achieve a
similar look
but have not the foggiest clue of where to begin to get a view like
this.
Can't say if there's better support in Leopard for two reasons, a) I
don't know and b) I wouldn't be able to say anyway. However there are
a couple of frameworks third parties have done.
http://www.mere-mortal-software.com/blog/details.php?d=2006-12-21
There was another one, but I seem to have lost the reference to it.
3- I have yet another view to program where it needs to be a
scrolling view
and several detail boxes down the scrolling view. For example,
let's say I
have 15 items to display, each with a fairly lengthy text note.
I'd like
the items to be displayed one after another (with their notes) in a
scrolling view. Each item should appear to be in its own box. To
top it
off, I'd like to get a custom-rendered background for this view.
4- I currently plan to store app data in xml files. Yet the mac "way"
appears to be more with bindings, controllers, and related data
sets. How
can I use bindings, controllers, and other similar mac technologies
properly
and yet keep my data in xml formats?
Bindings and controllers are orthogonal to persistence
considerations. This is handled for you by Core Data, although many
experts recommend doing at least Cocoa Bindings and Core Data for
yourself, so you know what's going on when you get to bindings (and
have an appreciation of how much it is doing for you, and have some
notion of how the magic is happening, since it's not actually magic).
With core data, you define the model entities and relationships.
Bindings describe how the data flows between the view, controller,
and model (in MVC pattern). See:
http://developer.apple.com/macosx/coredata.html
Core data also handles persistance for you in that you can store you
model in your required XML, SQLite, or binary forms.
HTH, hopefully someone will have answers to 1 and 3 for you.
Ian
I know that leopard is coming out soon, and with it some new developer
technologies and tools. I don't know how that will change things
for me,
and I understand that apple doesn't want you talking too much about
those
yet. But if appropriate, and you're allowed to, you can just say
"wait for
leopard" on certain topics, and I'll just wait for that. :)
Yes, these are some big questions. If you can link me to recommended
tutorials that would explain the concepts for these questions, or
answer
them, or provide doc reference links, or whatever, I'd appreciate
it. :)
Thank you much!
Kevin
--
Kevin White
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40sportstec.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden