Okay, that worked! I added those initialization lines to the viewDidLoad, but it still didn't work. I then moved the code for downloading the file and displaying it in an NSLog into a separate function outside of viewDidLoad and called it. That was what finally allowed it to work. Thanks so much for all your help!