thoughtbot / ios-on-rails

A guide to building a Rails API and iOS app
Other
76 stars 6 forks source link

Declare a new AppSecret in the AFNClient section. #48

Closed jessieay closed 9 years ago

jessieay commented 10 years ago

via another issue:

say I want to create a client class on iOS using AFNetworking (over NSURLSession).

But the way the text is organized, information on creating an AppSecret is in the text for using an NSURLSession, but not in the AFNetworking Session. The problem is, the AFNetworking section relies on an AppSecret too.

cc @dazmuda

dazmuda commented 10 years ago

Oh that's interesting. I didn't think people would skip the NSURL section and go straight for the AFNetworking section. Makes sense to repeat how to define a static constant both places then.

jessieay commented 10 years ago

@dazmuda so does that mean this is a planned feature?

dazmuda commented 10 years ago

@jessieay This is an edit that I'm going to put in my next PR. I'm going to close this once I merge that in.

dazmuda commented 9 years ago

This is in: https://github.com/thoughtbot/ios-on-rails/pull/91 Going to close!