Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update baseURLs to fix issues with Twitter example projects. closes #…

  • Loading branch information...
commit 15a898a8494312e199c893887a94cc82efc9eb1c 1 parent 0a9a571
@blakewatters blakewatters authored
View
2  Examples/RKTwitter/Classes/RKTwitterAppDelegate.m
@@ -28,7 +28,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[AFNetworkActivityIndicatorManager sharedManager].enabled = YES;
// Initialize HTTPClient
- NSURL *baseURL = [NSURL URLWithString:@"http://twitter.com"];
+ NSURL *baseURL = [NSURL URLWithString:@"https://twitter.com"];
AFHTTPClient* client = [[AFHTTPClient alloc] initWithBaseURL:baseURL];
//we want to work with JSON-Data
[client setDefaultHeader:@"Accept" value:RKMIMETypeJSON];
View
2  Examples/RKTwitterCoreData/Classes/RKTwitterAppDelegate.m
@@ -22,7 +22,7 @@ @implementation RKTwitterAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Initialize RestKit
- NSURL *baseURL = [NSURL URLWithString:@"http://twitter.com"];
+ NSURL *baseURL = [NSURL URLWithString:@"https://twitter.com"];
RKObjectManager *objectManager = [RKObjectManager managerWithBaseURL:baseURL];
// Enable Activity Indicator Spinner
Please sign in to comment.
Something went wrong with that request. Please try again.