¡@

Home 

2014/10/15 ¤U¤È 10:10:48

iphone Programming Glossary: ksessionchangingactivesession

I need help restructuring my method with better logic

http://stackoverflow.com/questions/6163490/i-need-help-restructuring-my-method-with-better-logic

Session NSManagedObject NSString const kSessionLeavingActiveSession @ kSessionLeavingActiveSession NSString const kSessionChangingActiveSession @ kSessionChangingActiveSession static Session activeSession nil Session.h @implementation Session a static method to retrieve.. const kSessionLeavingActiveSession @ kSessionLeavingActiveSession NSString const kSessionChangingActiveSession @ kSessionChangingActiveSession static Session activeSession nil Session.h @implementation Session a static method to retrieve create if nil the active.. session.timeStamp self.picker.date NSLog @ New session for date @ session.timeStamp send Notification kSessionChangingActiveSession if isActive YES if isActive is true set it to the active session. void saveOrDestroyActiveSession register this function..