1

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?

Alessandro Ornano
  • 34,887
  • 11
  • 106
  • 133

1 Answers1

1

Google on iOS delegate tutorial and i'm sure it'll come up with something

Alessandro Ornano
  • 34,887
  • 11
  • 106
  • 133
Rob van der Veer
  • 1,148
  • 1
  • 7
  • 20
  • Sorry sir, my problem it's about showing the update of a uiprogressview handling thread in background. Thanks for "keyword" but it's not enough! – Alessandro Ornano Jun 14 '13 at 20:55
  • There plenty dcumentation online on background worker threads to keep your app responsible, too.we can help, but you need to do a little wrk yourself. – Rob van der Veer Jun 16 '13 at 06:18
  • Perhaps GDC is what you are looking for: http://stackoverflow.com/questions/12574522/is-there-any-good-tutorial-about-gcd-grand-central-dsipatch – Rob van der Veer Jun 16 '13 at 06:23