Hey,
I'm trying to make an app that displays the time at the top of the screen (for the iPhone --> Objective-C).
I've successfully been able to do this using NSDate and output it to a UILabel however when I do it this way the year, milliseconds and timezone correction also shows up. Is there a way to just get the hours and minutes? Also I assume I need an NSTimer to refresh the view every minute so that the clock updates every minute instead of staying at the time it opens at, correct? How would I go about implementing this?
Finally, I was thinking of maybe using my own graphics for each number... how much does that complicate things?
Any help in any regard would be appreciated,
I know you guys are very helpful
Thanks!
I'm trying to make an app that displays the time at the top of the screen (for the iPhone --> Objective-C).
I've successfully been able to do this using NSDate and output it to a UILabel however when I do it this way the year, milliseconds and timezone correction also shows up. Is there a way to just get the hours and minutes? Also I assume I need an NSTimer to refresh the view every minute so that the clock updates every minute instead of staying at the time it opens at, correct? How would I go about implementing this?
Finally, I was thinking of maybe using my own graphics for each number... how much does that complicate things?
Any help in any regard would be appreciated,
I know you guys are very helpful
Thanks!