Permalink
Browse files

Removing old sample DemoApp.

  • Loading branch information...
1 parent e0e813b commit 60367ef741ae5063570f793520d9c7559a55fbcc Christine Abernathy committed Oct 13, 2011
@@ -1,29 +0,0 @@
-/*
- * Copyright 2010 Facebook
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
-
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#import <UIKit/UIKit.h>
-#import "DemoAppViewController.h"
-
-@interface DemoAppAppDelegate : NSObject <UIApplicationDelegate> {
- UIWindow *window;
- DemoAppViewController* controller;
-}
-
-@property (nonatomic, retain) IBOutlet UIWindow *window;
-
-@end
-
@@ -1,48 +0,0 @@
-/*
- * Copyright 2010 Facebook
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
-
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#import "DemoAppAppDelegate.h"
-#import "DemoAppViewController.h"
-
-@implementation DemoAppAppDelegate
-
-@synthesize window;
-
-
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
- // Override point for customization after application launch
- controller = [[DemoAppViewController alloc] init];
- controller.view.frame = CGRectMake(0, 20, 320, 460);
- [window addSubview:controller.view];
-
- [window makeKeyAndVisible];
- return YES;
-
-}
-
-- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
- return [[controller facebook] handleOpenURL:url];
-}
-
-- (void)dealloc {
- [window release];
- [controller release];
- [super dealloc];
-}
-
-
-@end
@@ -1,51 +0,0 @@
-/*
- * Copyright 2010 Facebook
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
-
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-#import <UIKit/UIKit.h>
-#import "FBConnect.h"
-#import "FBLoginButton.h"
-
-
-@interface DemoAppViewController : UIViewController
-<FBRequestDelegate,
-FBDialogDelegate,
-FBSessionDelegate>{
- IBOutlet UILabel* _label;
- IBOutlet FBLoginButton* _fbButton;
- IBOutlet UIButton* _getUserInfoButton;
- IBOutlet UIButton* _getPublicInfoButton;
- IBOutlet UIButton* _publishButton;
- IBOutlet UIButton* _uploadPhotoButton;
- Facebook* _facebook;
- NSArray* _permissions;
-}
-
-@property(nonatomic, retain) UILabel* label;
-
-@property(readonly) Facebook *facebook;
-
--(IBAction)fbButtonClick:(id)sender;
-
--(IBAction)getUserInfo:(id)sender;
-
--(IBAction)getPublicInfo:(id)sender;
-
--(IBAction)publishStream:(id)sender;
-
--(IBAction)uploadPhoto:(id)sender;
-
-@end
Oops, something went wrong.

0 comments on commit 60367ef

Please sign in to comment.