Re: iphone SDK session duration

2009-04-29 Thread Bess Ho
Sorry for the delay in response. I'll need more help. I follow suggestions on using applicationDidFinishLaunching: and applicationWillTerminate: methods on AppDelegate. It won't print NSLog when I stop the app on Console and throw errors when I leave the app on simulator by pressing the home

Re: iphone SDK session duration

2009-04-29 Thread Alexander Spohr
Luke already told you six hours before your post: Am 29.04.2009 um 02:10 schrieb Bess Ho: *** -[NSObject timeIntervalSinceReferenceDate]: unrecognized selector sent to instance 0x521fe0 2009-04-28 17:07:32.283 sessiontime[22584:20b] CoreAnimation: ignoring exception: *** -[NSObject

Re: iphone SDK session duration

2009-04-29 Thread Bess Ho
I did reply. Moderator on this list rejected because my reply is too long. I was about to report the results. I get it to work. I open source the Xcode project code on google project if anyone want it. On Wed, Apr 29, 2009 at 12:57 AM, Alexander Spohr a...@freeport.de wrote: Luke already told

Re: iphone SDK session duration

2009-04-28 Thread Luke the Hiesterman
On Apr 28, 2009, at 5:10 PM, Bess Ho wrote: Sorry for the delay in response. I'll need more help. I follow suggestions on using applicationDidFinishLaunching: and applicationWillTerminate: methods on AppDelegate. It won't print NSLog when I stop the app on Console and throw errors when

Re: iphone SDK session duration

2009-04-22 Thread Luke the Hiesterman
What's wrong with the NSDate solution below? Luke On Apr 21, 2009, at 10:49 PM, Bess Ho wrote: I couldn't get any working responses from iphone developer forum or iphone meetup group. I am hoping that this group with more experience cocoa developers with understanding on MVC model, Xcode.

iphone SDK session duration

2009-04-21 Thread Bess Ho
Is this appropriate mailing list to ask iphone SDK questions? How do you measure session duration on a utility application with 3 ViewControllers? Use NSDate to mark the starting and ending the session and print the time lapsed on NSLog. -- Bess Ho

Re: iphone SDK session duration

2009-04-21 Thread Luke the Hiesterman
Sounds like you've already answered your question. Luke On Apr 21, 2009, at 4:00 PM, Bess Ho wrote: Is this appropriate mailing list to ask iphone SDK questions? How do you measure session duration on a utility application with 3 ViewControllers? Use NSDate to mark the starting and ending

Re: iphone SDK session duration

2009-04-21 Thread Seth Willits
On Apr 21, 2009, at 4:00 PM, Bess Ho wrote: Is this appropriate mailing list to ask iphone SDK questions? How do you measure session duration on a utility application with 3 ViewControllers? Session being how long your app is running? Use the UIApplication delegate methods to know when