tripit / api

TripIt's API Documentation and Support Forum
http://www.tripit.com/developer
Other
47 stars 16 forks source link

Objective-C Bindings With ARC support? #190

Closed wilpowers closed 7 years ago

wilpowers commented 7 years ago

Has anyone gotten the GTM Oauth 1.0 library to run with TripIt, using ARC instead of manual memory management? If I simply remove calls to autorelease, retain, and release, I get a crash in "requestFetcher:(GTMHTTPFetcher )fetcher finishedWithData:(NSData )data error:(NSError *)error".

wilpowers commented 7 years ago

To answer my own question, I discovered that the use of NSInvocation in the Google OAuth Toolkit library was causing objects to be released prematurely.