• 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: Daniel Child <email@hidden>
  • Date: Mon, 18 Feb 2008 21:28:53 -0500

Thanks for the clarification. But if there is no GUI or nib associated with the central controller, how do you load it? Where do you "plug in"? Are there tutorials on this?

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?

Thanks for the clarification about the pointers.

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.
_______________________________________________

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


References: 
 >Re: flow of control for sequential data processing (From: Charles Steinman <email@hidden>)

  • Prev by Date: Re: flow of control for sequential data processing
  • Next by Date: Re: Accessing buffers in NSData/NSMutableData under garbage collection
  • Previous by thread: Re: flow of control for sequential data processing
  • Next by thread: Automatically updating view inside NSScrollView
  • Index(es):
    • Date
    • Thread