Objective Resource, Vodafone 3G, HTTP Basic Auth problems

I haven’t posted in a few days, as I haven’t made any progress in the last few days (and haven’t learnt anything!). I got my app working perfect (unbeknown to me only on a wireless connection, iPhone App people, iPHONE!.. keep up.) So it worked perfectly, I installed it on a colleague’s iPhone, then my […]

Posted on March 10, 2009 at 4:40 pm by Jordan Carter · Permalink · One Comment
In: Iphone · Tagged with: ,

Iphone UIWebView HTTP Basic Authentication

So I need to send a user to a page that requires a login. I want to save those details in the app and send them with the initial request. But HOW? #import "NSData+Additions.h" @implementation Utility + (void) addAuthToWebRequest:(NSMutableURLRequest*)requestObj email:(NSString*)email password:(NSString*)password{ NSString *authString = [[[NSString stringWithFormat:@"%@:%@", email, password] dataUsingEncoding:NSUTF8StringEncoding] base64Encoding]; authString = [NSString stringWithFormat: @"Basic […]

Posted on February 20, 2009 at 11:14 am by Jordan Carter · Permalink · 8 Comments
In: Iphone · Tagged with: , ,

Objective Resource to the rescue

So I’m working on a top secret military iPhone app to be deployed in a top secret location… Anyway, it needs to interact with a rails app.  Googled around, found objective resource which is a great objc port of Active Resource. Now, I needed to man handle it a bit for what I want it […]

Posted on February 17, 2009 at 9:12 am by Jordan Carter · Permalink · Leave a comment
In: Iphone · Tagged with: , , , ,