Reputation: 45
I want to learn how, for example, I could program a picture in Interface Builder to change between 3 pictures according to the time of day.
Or how I could program a certain UIButton to appear and disappear depending on the time of day—or even more specifically, the month of the year.
Where can i go to learn about this? And what is the formal name for this? Using time signatures? Or time stamp?
Upvotes: 0
Views: 326
Reputation: 118781
The NSDate class allows you to inspect the current time (also see Date and Time Programming Topics, and the NSTimer class allows you to schedule tasks.
Upvotes: 2