nsnotification Questions
2
Solved
I have a strange behavior with an NSNotification object.
My app has an navigation controller, first view is a table view and the second view is just a view controller which shows data of the select...
Khan asked 27/6, 2011 at 20:49
2
Solved
In trying to de-couple my model from the view controllers that display fetched data, when an asynchronous fetch completes, I post an NSNotification.
[[NSNotificationCenter defaultCenter] postNoti...
Heavyset asked 20/4, 2011 at 22:37
2
Solved
My question is in regards the object that gets added to a -postNotificationName:object: userInfo: method.
Does the NSNotification retain the object ?
(in a similar fashion to NSMutableDictionary...
Czarra asked 17/3, 2011 at 21:50
1
Solved
I've a class called AppController.h/m I want to make something when the NSNotificationDidResignActiveNotification is sent.
So i wrote this code in AppController.m:
-(void) initialize(){
[[NSNotif...
Equestrian asked 2/3, 2011 at 21:3
1
Solved
Should it be possible to have a static NSNotification observer (like the code below)? I'm having some problems, and I think it may be due to my singleton class structure.
I don't always have a cla...
Webfoot asked 8/12, 2010 at 1:47
1
Solved
In my iPad app, in one class I register for a notification:
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
[nc addObserver:self selector:@selector(selectedList:) name:@"TTSelect...
Balkh asked 7/7, 2010 at 21:30
1
Solved
I need to create two classes and both should be able to send and receive the events through the NSNotificationCenter methods.ie Both should have the sendEvent and receiveEvent methods:
@implement...
Georg asked 18/2, 2010 at 4:39
© 2022 - 2024 — McMap. All rights reserved.