Wednesday, December 25, 2013

viewcontroller

How heavy a viewcontroller pass a value to rootviewcontroller inside (back pass to write delegate how to write ah)?
Reply:
Many methods ah!
The simplest is to notify
Delegate method is a little complicated

Reply:
cited a floor ybh37 reply:
lot of ways ah!
The simplest is to notify
Delegate method is somewhat complicated

How to use ah. . . . I wrote to just call it the last step is to pass ....
Reply:
NSUserDefaults know, but I still wanted to write delegate step will faint .....
Reply:
To customize a first commissioned agent, indicating which method (returns a value object)
Then redefine a viewcontroller, containing the agent, or simply a new default viewcontroller achieve this proxy
Then when loaded rootviewcontroller events, methods, call the delegate object to execute the proxy method.
Bit around ⋯ ⋯
Reply:
The following code examples can be obtained in
Delegate in viewcontrollerDelegate your name * appDelegate = [[UIApplication sharedApplication] delegate];

Then get the value in the Delegate in viewcontroller then pass rootviewcontroller on it, Delegate instance rootviewcontroller there, right?
Reply:
references, 5th Floor zeteyu reply:
following code examples can be obtained in
Delegate in viewcontrollerDelegate your name * appDelegate = [[UIApplication sharedApplication] delegate];

Then get in the Delegate's values ​​in viewcontroller then pass rootviewcontroller on it, Delegate instance rootviewcontroller there's ......

Oh, I used what I wrote you this is a + (appdelegate)
Reply:
references, 4th Floor ybh37 reply:
commissioned the first to customize a proxy, indicating which method (returns a value object)
Then redefine a viewcontroller, containing the agent, or simply a new default viewcontroller achieve this proxy
Then when loaded rootviewcontroller events, methods, call the delegate object to execute the proxy method.
Bit around ⋯ ⋯

.... == ~ ~ ~
Reply:
Do not attempt to notification

You can not delegate

Are on the stack, taken out, you can use the property to the

No comments:

Post a Comment