I am making a download queueing system to download videos. The queueing code to handle the downloads is in another viewconntroller. Now my question is how can i pass the URL of the download to the other view without pushing to another view controller like this:
ViewConntroller *View = [[ViewConntroller alloc] init];
view.url = ""
[self presentModalViewController:View animated:NO];
I also know there is a way through delegates but don't you also have to weight for the view to be called upon aswell?
EDIT
I have an NSURL
in which i want to send to another viewconntroller. I know there is the method of Protocols or the method above. However i do not want to present a viewconntroller to send the info. I just want to send it as soon as the button is pressed without going to the view itself