New topic: 

Window and App classes + class interface behavior

<http://forums.realsoftware.com/viewtopic.php?t=45682>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        wotaskd          Post subject: Window and App classes + class 
interface behaviorPosted: Mon Oct 22, 2012 8:51 pm                         
Joined: Wed May 20, 2009 7:57 pm
Posts: 18                Hello,

I am building a set of classes that implement a notification mechanism. Objects 
subscribe to the events that interest them (by passing a reference to 
themselves to a notification center), and when another object notifies the 
notification center about an event of interest, it will just go through the 
list of observer objects, cascading the notification down he line.

I have implemented a class interface that all those observer objects must 
implement. When setting the object type for the array that holds the list of 
observers, I have used the class interface as the format. And it works well for 
all objects.... Except the App and Window classes.

When I have the application or a window subscribe to receive notifications, 
they never get the information back. Standard objects work just fine. Is there 
something specific about the implementation of those object that makes what I'm 
trying to do not possible? Am I just doing something stupidly wrong?  

Thanks a lot!   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to