Re: existence of objects

2013-05-06 Thread Kirk
If you would benefit from looser coupling between objects, consider NSNotification and friends. Kirk Kerekes (iPhone) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Existence of objects

2013-05-06 Thread Jens Alfke
On May 5, 2013, at 11:33 PM, YT wrote: > This past week I've been totally focused on learning how to write code that > uses the Quartz 2D library and so totally forgot the MVC design pattern. > Plus I've read about the MVC pattern it in the docs but have not configured > one myself in Cocoa.

Re: Existence of objects

2013-05-05 Thread YT
Oh yeah - da- the MVC This past week I've been totally focused on learning how to write code that uses the Quartz 2D library and so totally forgot the MVC design pattern. Plus I've read about the MVC pattern it in the docs but have not configured one myself in Cocoa. That was a good pointe

Re: Existence of objects

2013-05-05 Thread Quincey Morris
On May 5, 2013, at 22:24 , YT wrote: > What I have is a view within the main window that is a Quartz 2D graphical > "thing" and I want to have a set of UI elements that a user interacts with to > change the graphical presentation. > Well the UI elements are in the Delegate and the Graphical th

Re: Existence of objects

2013-05-05 Thread YT
Regarding "there must be a reference to objA stored somewhere" I kinda figured as much - BUT - was hoping there might be another way especially since there are those OO purists that condemn the use of any sort of "globalness". What I have is a view within the main window that is a Quartz 2D

Re: Existence of objects

2013-05-05 Thread Quincey Morris
On May 5, 2013, at 21:43 , YT wrote: > In some thread an object is created with a set of methods. > Lets call this object objA. > > Later in time another objected is created perhaps in another thread (not sure > if this note is relevant). > Lets call this object objB. > > Now objB needs to c

Existence of objects

2013-05-05 Thread YT
Not sure how to ask this question. In some thread an object is created with a set of methods. Lets call this object objA. Later in time another objected is created perhaps in another thread (not sure if this note is relevant). Lets call this object objB. Now objB needs to call a method in obj