uchicago-mobi / 2015-Winter-Forum

8 stars 1 forks source link

Confusion about the gist #139

Closed ceruzzi closed 9 years ago

ceruzzi commented 9 years ago

I've looked over the gist several times, but can't seem to understand how it works. There is no url. Is the SharedNetworking class itself not supposed to reference the url we are pulling the data from?

tabinks commented 9 years ago

It's just an example of how to use a singleton and have a method that utilizes the blocks. The implementation of the networking functionality is up to you (although it is pretty much done for you with the example).

To call it your would use the method signature: [SharedNetworking sharedSharedNetworking] yourMethod];