Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:danielctull-forks/facebook-ios-sdk

  • Loading branch information...
commit 3a270b2be0a117576c739888b5870f3d85b324a9 2 parents 002e050 + 8ace634
Daniel Tull danielctull authored
3  README.md
View
@@ -27,7 +27,7 @@
- Made the Facebook object a singleton object to reduce complexity:
[Facebook shared]
- [Facebook shared:APPID]
+ [Facebook bind:APPID]
- Added quality of life change requestStarted and requestFinished block that will fire once for each request start and finish (whether error or not). Useful for UI setup and teardown like progress or wait views.
- Added validation of URL schemes to the backend as it is required for successful authentication
@@ -42,6 +42,7 @@
This is probably the most insanely great feature of the dub remix. We keep the permissions and the code that uses it together. If we don't need to authenticate the permissions, we wont. If we do, we will. Either way we end up with much cleaner code.
- API to make common tasks easier and less error prone - [[Facebook+Graph.h]]
+ - Intelligent automatic binding to a Facebook AppID based upon the URL scheme within the application
About:
======
24 src/FBAppDelegate.h
View
@@ -1,10 +1,20 @@
-//
-// FBAppDelegate.h
-// SmallHackbook
-//
-// Created by Chris Ross on 02/06/2012.
-// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
-//
+/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
+ * 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>
24 src/FBAppDelegate.m
View
@@ -1,10 +1,20 @@
-//
-// FBAppDelegate.m
-// SmallHackbook
-//
-// Created by Chris Ross on 02/06/2012.
-// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
-//
+/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
+ * 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 "FBAppDelegate.h"
#import "Facebook.h"
2  src/FBDialog.h
View
@@ -1,4 +1,6 @@
/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
2  src/FBDialog.m
View
@@ -1,4 +1,6 @@
/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
2  src/FBLoginDialog.h
View
@@ -1,4 +1,6 @@
/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
2  src/FBLoginDialog.m
View
@@ -1,4 +1,6 @@
/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
24 src/FBRequest+Delegate.h
View
@@ -1,10 +1,20 @@
-//
-// FBRequest+Delegate.h
-// Hackbook
-//
-// Created by Chris Ross on 01/06/2012.
-// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
-//
+/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
+ * 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 "FBRequest.h"
24 src/FBRequest+Delegate.m
View
@@ -1,10 +1,20 @@
-//
-// FBRequest+Delegate.m
-// Hackbook
-//
-// Created by Chris Ross on 01/06/2012.
-// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
-//
+/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
+ * 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 "FBRequest+Delegate.h"
#import <objc/runtime.h>
2  src/FBRequest.h
View
@@ -1,4 +1,6 @@
/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
2  src/FBRequest.m
View
@@ -1,4 +1,6 @@
/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
24 src/Facebook+Delegate.h
View
@@ -1,10 +1,20 @@
-//
-// Facebook+Facebook_Delegate_h.h
-// Hackbook
-//
-// Created by Chris Ross on 01/06/2012.
-// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
-//
+/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
+ * 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 "Facebook.h"
25 src/Facebook+Delegate.m
View
@@ -1,11 +1,20 @@
-//
-// Facebook+Delegate.m
-// Hackbook
-//
-// Created by Chris Ross on 01/06/2012.
-// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
-//
-
+/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
+ * 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 "Facebook+Delegate.h"
#import <objc/runtime.h>
25 src/Facebook+Graph.h
View
@@ -1,11 +1,20 @@
-//
-// Facebook+Graph.h
-// Hackbook
-//
-// Created by Chris Ross on 01/06/2012.
-// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
-//
-
+/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
+ * 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 "Facebook.h"
#import <CoreLocation/CoreLocation.h>
24 src/Facebook+Graph.m
View
@@ -1,10 +1,20 @@
-//
-// Facebook+Graph.m
-// Hackbook
-//
-// Created by Chris Ross on 01/06/2012.
-// Copyright (c) 2012 hiddenMemory Ltd. All rights reserved.
-//
+/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
+ * 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 "Facebook+Graph.h"
2  src/Facebook.h
View
@@ -1,4 +1,6 @@
/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
7 src/Facebook.m
View
@@ -1,4 +1,6 @@
/*
+ * Copyright 2012 Chris Ross - hiddenMemory Ltd - chris@hiddenmemory.co.uk
+ * Copyright 2012 Kieran Gutteridge - IntoHand Ltd - kieran.gutteridge@intohand.com
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -111,11 +113,6 @@ + (void)load {
selector:@selector(autobind:)
name:UIApplicationDidFinishLaunchingNotification
object:nil];
-
- [[NSNotificationCenter defaultCenter] addObserver:self
- selector:@selector(autobind:)
- name:UIApplicationDidBecomeActiveNotification
- object:nil];
}
- (void)applicationDidBecomeActive:(NSNotification*)notification {
Please sign in to comment.
Something went wrong with that request. Please try again.