i’m looking at displaying the current time in HH:mm format, and ive been checking around for the best way to do this.
Most examples have a Timer being executed every second, updating a textlabel for example.
Now, i’m imagining that this might drain a bit of battery if it’s to run every second, which seems like overkill if all i’m displaying is hours and minutes. On the other hand, i don’t want the minute-switch to happen 30 seconds later than the actual minute switch…
Is there some way to get a call when the phone clock changes minute or something like that?
Don’t worry about the battery. NSTimer exists for this purpose. Use it!