iOS questions

Monte Goulding monte at sweattechnologies.com
Wed Oct 17 22:06:37 EDT 2012


Hi Mark

Yes the calling control can be a stack. Anything that you can refer to as 'me' in your code. Wherever you handle startup/shutdown etc you can handle UIApplicationWillResignActiveNotification for your whole app. Most likely in the mainstack script but could be in a library script or backscript.

Cheers

Monte

On 18/10/2012, at 12:53 PM, Mark Smith wrote:

> Hi Monte, just so I am sure I understand....
> 
> 
> /command mergNotify pNotification
> 
> This command registers for a notification to be sent to the calling control
> (me) whenever it occurs. The same notification may be registered by multiple
> controls in your app. If a single control registers for the same
> notification multiple times it will receive it multiple times./
> 
> Does that mean the calling control could be a stack? And if your stack is
> made up of multiple stacks do you have to set notifications for each stack
> in order to be able to respond to UIApplicationWillResignActiveNotification?
> 
> Or can you set it once for the whole application?
> 
> Thanks
> 
> -- Mark
> 
> 
> 
> 
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-questions-tp4656338p4656479.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!




More information about the use-livecode mailing list