I have a class just to pull data from a URL. This is not a UIview class. I want to show a Activity Indicator while downloading the data.
So, how can I add it to the app view? Of course [self.view addSubview... is not the way...
Thanks!
It's not the job of your model object to display any UI. It is the job of the controller is to mediate between the data and the views of your application.
For example, your controller may have a method that starts up your data class and fetches some data. Here it would also display an activity indicator. When your class finishes handing the data back, the controller will remove the spinner from the screen. This keeps the components of your app, reusable. Especially model objects.