I've been reading about delegate pattern. But answers and examples for this simple work are explained too bad and report many erros, expecially 'cause they are olds and I want to develop it in iOS6 with ARC and Storyboard.
(a class "myClass
" that contain my method "myMethod
")
(a UIViewController
"myVC
" with UIProgressView
"myProgressView
" where i call :
[myClass myMethod]
in a background thread and I can show progress in main thread.
Can anyone explains in a simply code what i mean?
Google on iOS delegate tutorial and i'm sure it'll come up with something