• 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: flow of control for sequential data processing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flow of control for sequential data processing


  • Subject: Re: flow of control for sequential data processing
  • From: Charles Steinman <email@hidden>
  • Date: Mon, 18 Feb 2008 18:07:46 -0800 (PST)

--- Daniel Child <email@hidden> wrote:

> First, does such a controller absolutely need an
> interface, or can it
> operate behind the scenes? And if behind the scenes,
> how would you
> load, activate it? Every demo app or tutorial I've
> seen has a nib-
> based app controller. Is it possible to do without
> one?

A controller is just an object that plays a specific
role in the MVC design pattern. If you don't want an
object hooked up to any GUI objects or don't want to
use a nib to instantiate it, that's your call. It's
just an object.

> Secondly, as it turns out the data I am processing
> is very large. I
> read that in Objective-C you typically pass actual
> objects rather
> than pointers to objects. Is that going to be
> feasible if I stick it
> in a dictionary, or will things bog down?

That's precisely backwards, at least as far as Cocoa
is concerned. In Objective-C, all objects live in the
heap and they are only dealt with as pointers. If you
try to create an object on the stack, you'll get an
error in compilation.

Cheers,
Chuck


      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

_______________________________________________

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

  • Follow-Ups:
    • Re: flow of control for sequential data processing
      • From: Daniel Child <email@hidden>
References: 
 >Re: flow of control for sequential data processing (From: Daniel Child <email@hidden>)

  • Prev by Date: Re: flow of control for sequential data processing
  • Next by Date: Re: flow of control for sequential data processing
  • Previous by thread: Re: flow of control for sequential data processing
  • Next by thread: Re: flow of control for sequential data processing
  • Index(es):
    • Date
    • Thread