Permalink
Browse files

set app correctly

  • Loading branch information...
1 parent 9f0576a commit 21e50662ae826d05cd3b4760e0c08f3a9803feeb @edanuff edanuff committed Mar 9, 2012
Showing with 3 additions and 8 deletions.
  1. +2 −0 .gitignore
  2. +1 −8 Messagee/AppDelegate.m
View
@@ -0,0 +1,2 @@
+.DS_Store
+Messagee.xcodeproj/*
View
@@ -16,14 +16,7 @@ @implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Usergrid default server url
- [[UGClient sharedInstance] UGClientApiUrl:@"http://api.usergrid.com/Messagee"];//Usergid Server
-
- // UsergridKey and UsergidSecret are obtained
- // from the app settings http://http://apigee.github.com/usergrid-portal-internal/
- [[UGClient sharedInstance] setUsergridKey:@"YXA6R5duelZ-EeG_tyIAChxaZw"];//Client ID
- [[UGClient sharedInstance] setUsergridSecret:@"YXA6aa5MWiNeOxgTl2kFy_eBsbpFh44"];//Client Secret
-
- [[UGClient sharedInstance] requestClientCredentials];
+ [[UGClient sharedInstance] UGClientApiUrl:@"http://api.usergrid.com/MessageeApp"];//Usergid Server
[[UINavigationBar appearance] setBackgroundImage:[UIImage imageNamed:@"navigationBar"] forBarMetrics:UIBarMetricsDefault];
return YES;

0 comments on commit 21e5066

Please sign in to comment.