Lines Matching refs:Observer
28 // Source is a class that will be observed by the Observer class below.
29 // When Observer sets itself up to observe this property (in initWithASource)
75 // Observer is the object that will watch Source and cause KVO to swizzle it...
77 @interface Observer : NSObject interface
81 + (Observer *) observerWithSource: (Source *) source;
82 - (Observer *) initWithASource: (Source *) source;
89 @implementation Observer implementation
91 + (Observer *) observerWithSource: (Source *) inSource;
93 Observer *retval;
95 retval = [[Observer alloc] initWithASource: inSource];
99 - (Observer *) initWithASource: (Source *) source
115 printf ("Observer function called.\n");
129 Observer *myObserver;
134 myObserver = [Observer observerWithSource: mySource];