• 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: Slightly more advanced Cocoa learning resources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slightly more advanced Cocoa learning resources


  • Subject: Re: Slightly more advanced Cocoa learning resources
  • From: Allan Odgaard <email@hidden>
  • Date: Thu, 24 Jun 2004 13:10:00 +0200

On 24. Jun 2004, at 11:11, Paul Sargent wrote:

Trouble is, I'm finding the conceptual leap to this more complex
structure of application quite difficult and I'm not wanting to pester
the list with lots of basic questions. So...

So the questions would be more like design questions instead of technical questions?

I am not really sure that this can be easily taught without extensive trial-and-error (tell me and I'll forget, ..., involve me and I'll understand), but there is a book called Design Patterns which teach solutions to re-occurring design "problems" in general software. You can find lots of info about design patterns in general. For example the way that many AppKit classes uses a delegate, is referred to the delegate design pattern (AFAIK) and the book goes into detail about when to use which patterns.

I have the O'reilly "Learning Cocoa with Objective-C", which is an okay book, but leaves me short for what I want to do.

I know there is a Cocoa book which builds an application, like the Vermont recipes which was mentioned, but also from O'reilly -- if you can't find it, I may be able to figure out what the title was (or someone else may add it!)...

Where do I go to learn how to structure a more complex Cocoa App?

As hinted above, this is as much experience than it is knowledge. But you could start by reading about Design Patterns and Object Oriented design. Personally I think CRC cards (classes, responsibilities and collaborations) are useful for application design -- so find some info about these ;)

(Sort of questions I need answering would be:
Do I want to design all my different windows in one NIB or many?

Many!

How would I even go about using multiple NIB files?

Seems there is a tutorial about that: "How to Create, Load, and Use Multiple Nib Files", otherwise check out the NSBundle documentation.
http://cocoadevcentral.com/articles/000064.php

How does the MVC model breakdown in things beyond a currency converter?)

Seems there is also a tutorial about that:
http://cocoadevcentral.com/articles/000003.php

In general, Google Is Your Friend -- spend a lot of time searching the net, and do include the usenet groups! Also spend lots of time making small prototypes. If you do not master multiple Nibs, do not start by writing an application which require it, start by writing a "proof of concept"-application, and gather your experience there, otherwise your real application will probably get quite messy, because you start using stuff w/o first having the experience (of cause if your main goal is to learn, that might not matter, and you can re-write the thing after the first version, where you'll probably think that everything should have been done differently!).

Hope it helps...
_______________________________________________
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: 
 >Slightly more advanced Cocoa learning resources (From: Paul Sargent <email@hidden>)

  • Prev by Date: Resizing a Window
  • Next by Date: Register for a protocol (e.g. mine://)
  • Previous by thread: Re: Slightly more advanced Cocoa learning resources
  • Next by thread: Re: Slightly more advanced Cocoa learning resources
  • Index(es):
    • Date
    • Thread