Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
You have showLocalTime set up as a method with no parameters, that returns a string as a result.
NSTimer methods need to take a single parameter, the timer itself, and not return any result. To quote the Apple docs from NSTimer:
You need to write a timer method that calls your showLocaleTime method, takes the result, and does something with it.
Sorry my code was wrong , here is showLocaleTime , would you please reconsider it again ?
His post still applies. You are calling showLocaleTime with your timer. showLocaleTime returns a NSString. It should returning nothing. In your showLocaleTime method, you should set a UILabel's text property with your currDay NSString variable.
__________________
If you are looking for a quality developer, I'm your man. Give me a PM if you are interested.
A method that's invoked by a timer must have specific signature or it won't get called. Go back and read my previous post.
The method the timer calls can't return a value. It must have a single parameter, which is the timer itself. This is not a "well maybe" situation. Do it that way, or it doesn't work. Period.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.