diff --git a/.gitignore b/.gitignore
index bf780c62..8669a8c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,5 @@ obj/
tmp/
GoogleAnalytics/binding/Google Analytics SDK/
+
+ATMHud/sample/sample.pidb
diff --git a/Couchbase/binding/AssemblyInfo.cs b/Couchbase/binding/AssemblyInfo.cs
new file mode 100644
index 00000000..cec5b3fd
--- /dev/null
+++ b/Couchbase/binding/AssemblyInfo.cs
@@ -0,0 +1,4 @@
+using System;
+using MonoTouch.ObjCRuntime;
+
+[assembly: LinkWith ("Couchbase", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true,IsCxx = true)]
diff --git a/Couchbase/binding/Makefile b/Couchbase/binding/Makefile
new file mode 100755
index 00000000..72126ffe
--- /dev/null
+++ b/Couchbase/binding/Makefile
@@ -0,0 +1,9 @@
+BTOUCH=/Developer/MonoTouch/usr/bin/btouch
+
+all: Couchbase.dll
+
+Couchbase.dll: Makefile AssemblyInfo.cs couchbase.cs Couchbase
+ $(BTOUCH) couchbase.cs AssemblyInfo.cs --out=$@ --link-with=Couchbase,Couchbase
+
+clean:
+ -rm -f *.a *.dll
diff --git a/Couchbase/binding/README.md b/Couchbase/binding/README.md
new file mode 100644
index 00000000..871bd103
--- /dev/null
+++ b/Couchbase/binding/README.md
@@ -0,0 +1,48 @@
+facebook
+========
+
+These are bindings to the native Facebook SDK for iOS.
+
+Using
+=====
+
+Copy the Facebook.dll project in the binding directory to your
+project, and add it as a reference in your project.
+
+Building
+========
+
+Run `make' in the binding directory to build Facebook.dll.
+
+Sample
+======
+
+The sample program in sample/ is a partial port of Facebook's Sample
+program, it covers about half of the features in it.
+
+License
+=======
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+Authors
+=======
+
+Miguel de Icaza
\ No newline at end of file
diff --git a/Couchbase/binding/couchbase.cs b/Couchbase/binding/couchbase.cs
new file mode 100644
index 00000000..1434462d
--- /dev/null
+++ b/Couchbase/binding/couchbase.cs
@@ -0,0 +1,79 @@
+using System;
+using System.Drawing;
+
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+using MonoTouch.ObjCRuntime;
+
+namespace CouchbaseBinding
+{
+ [BaseType (typeof(NSObject))]
+ [Model]
+ interface CouchbaseDelegate
+ {
+ [Abstract]
+ [Export ("couchbaseMobile:didStart:"), EventArgs ("CouchBaseStarted")]
+ void Started (CouchbaseMobile couchbase, NSUrl serverURL);
+
+ [Abstract]
+ [Export ("couchbaseMobile:failedToStart:"), EventArgs ("CouchBaseError")]
+ void FailedToStart (CouchbaseMobile couchbase, NSError error);
+
+ }
+
+ [BaseType (typeof(NSObject), Delegates=new string [] { "WeakDelegate" }, Events=new Type [] {typeof(CouchbaseDelegate)})]
+ interface CouchbaseMobile
+ {
+
+ [Export ("serverURL")]
+ NSUrl ServerUrl { get; }
+
+ [Export ("error")]
+ NSError Error { get; }
+
+ [Export ("autoRestart")]
+ bool AutoRestart { get; set; }
+
+ [Export ("rootDirectory")]
+ string RootDirectory { get; set; }
+
+ [Export ("logDirectory")]
+ string LogDirectory { get; }
+
+ [Export ("databaseDirectory")]
+ string DatabaseDirectory { get; }
+
+ [Export ("iniFilePath")]
+ string IniFilePath { get; set; }
+
+ [Export ("localIniFilePath")]
+ string LocalIniFilePath { get; }
+
+ [Export ("startCouchbase:")]
+ CouchbaseMobile Start (CouchbaseDelegate theDelegate);
+
+ [Export ("init")]
+ NSObject Init ();
+
+ [Export ("start")]
+ bool Start ();
+
+ [Export ("restart")]
+ void Restart ();
+
+ [Export ("initWithBundlePath:")]
+ IntPtr Constructor (string bundlePath);
+
+ [Export ("installDefaultDatabase:")]
+ bool InstallDefaultDatabase (string databasePath);
+
+ [Export ("delegate"), NullAllowed]
+ NSObject WeakDelegate { get; set; }
+
+ [Wrap ("WeakDelegate")]
+ CouchbaseDelegate Delegate { get; set; }
+
+ }
+
+}
+
diff --git a/GoogleAnalytics/binding/list b/GoogleAnalytics/binding/list
new file mode 100644
index 00000000..991833bf
--- /dev/null
+++ b/GoogleAnalytics/binding/list
@@ -0,0 +1,3 @@
+ios/ObjCRuntime/Messaging.g.cs
+ios/GoogleAnalytics/GANTracker.g.cs
+ios/GoogleAnalytics/GANTrackerDelegate.g.cs
diff --git a/PaypalMEC/Makefile b/PaypalMEC/Makefile
new file mode 100644
index 00000000..667ab878
--- /dev/null
+++ b/PaypalMEC/Makefile
@@ -0,0 +1,2 @@
+ASSEMBLY=PayPalMECL.dll
+include ../Rules.make
\ No newline at end of file
diff --git a/PaypalMEC/binding/.gitignore b/PaypalMEC/binding/.gitignore
new file mode 100644
index 00000000..754650f7
--- /dev/null
+++ b/PaypalMEC/binding/.gitignore
@@ -0,0 +1,3 @@
+libPayPalMPL.a
+PayPal.dll
+*.zip
diff --git a/PaypalMEC/binding/AssemblyInfo.cs b/PaypalMEC/binding/AssemblyInfo.cs
new file mode 100644
index 00000000..09da9854
--- /dev/null
+++ b/PaypalMEC/binding/AssemblyInfo.cs
@@ -0,0 +1,4 @@
+using System;
+using MonoTouch.ObjCRuntime;
+
+[assembly: LinkWith ("libPayPalEC.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7, "-lxml2 -lz", ForceLoad = true)]
diff --git a/PaypalMEC/binding/Makefile b/PaypalMEC/binding/Makefile
new file mode 100644
index 00000000..03854e4c
--- /dev/null
+++ b/PaypalMEC/binding/Makefile
@@ -0,0 +1,18 @@
+BTOUCH=/Developer/MonoTouch/usr/bin/btouch
+UVERSION=1-0-3-070
+VERSION=1.0.3
+
+all: PayPalMECL.dll
+
+PayPalMECL_$(UVERSION)-iPhone_DevelopersPackage.zip:
+ curl https://www.x.com/sites/default/files/PayPalMECL_$(UVERSION)-iPhone_DevelopersPackage.zip > $@
+
+libPayPalEC.a: PayPalMECL_$(UVERSION)-iPhone_DevelopersPackage.zip
+ unzip -p $< 'PayPalMECL_$(UVERSION)-iPhone_DevelopersPackage/MECL Library/libPayPalEC.a' > $@
+ PayPalMECL_1-0-3-070-iPhone_DevelopersPackage.zip
+
+PayPalMECL.dll: Makefile AssemblyInfo.cs paypal.cs enums.cs libPayPalEC.a
+ $(BTOUCH) --out=$@ -e paypal.cs enums.cs AssemblyInfo.cs --link-with=libPayPalEC.a,libPayPalEC.a
+
+clean:
+ -rm -rf *.a *.dll
diff --git a/PaypalMEC/binding/enums.cs b/PaypalMEC/binding/enums.cs
new file mode 100644
index 00000000..2d55edae
--- /dev/null
+++ b/PaypalMEC/binding/enums.cs
@@ -0,0 +1,17 @@
+namespace MonoTouch.PayPal {
+
+ public enum PayPalEnvironment {
+ LIVE,
+ SANDBOX,
+ NONE,
+ }
+
+ public enum PayPalButtonType {
+ BUTTON_118x24,
+ BUTTON_152x33,
+ BUTTON_194x37,
+ BUTTON_278x43,
+ BUTTON_294x43,
+ BUTTON_TYPE_COUNT,
+ }
+}
diff --git a/PaypalMEC/binding/paypal.cs b/PaypalMEC/binding/paypal.cs
new file mode 100644
index 00000000..d40b19ac
--- /dev/null
+++ b/PaypalMEC/binding/paypal.cs
@@ -0,0 +1,67 @@
+/*
+ * paypal.cs: API definitions
+ *
+ * Author:
+ * Miguel de Icaza (miguel@xamarin.com)
+ *
+ * Copyright 2011 Xamarin, Inc.
+ */
+
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+using MonoTouch.ObjCRuntime;
+
+namespace MonoTouch.PayPal {
+
+
+ [BaseType (typeof (NSObject))]
+ [Model]
+ interface DeviceReferenceTokenDelegate {
+ [Abstract]
+ [Export ("receivedDeviceReferenceToken:")]
+ void ReceivedDeviceReferenceToken (string token);
+
+ [Abstract]
+ [Export ("couldNotFetchDeviceReferenceToken")]
+ void CouldNotFetchDeviceReferenceToken ();
+
+ }
+
+ [BaseType (typeof (NSObject))]
+ interface PayPal {
+ [Export ("lang")]
+ string Language { get; set; }
+
+ [Export ("errorMessage")]
+ string ErrorMessage { get; set; }
+
+ [Export ("payButtons")]
+ UIButton[] PayButtons { get; set; }
+
+ [Export ("appID")]
+ string AppID { get; }
+
+ [Export ("initialized")]
+ bool Initialized { get; }
+
+ [Export ("paymentsEnabled")]
+ bool PaymentsEnabled { get; }
+
+ [Export ("environment")]
+ PayPalEnvironment Environment { get; }
+
+ [Static]
+ [Export ("getPayPalInst")]
+ PayPal GetPayPalInst ();
+
+ [Export ("fetchDeviceReferenceTokenWithAppID:forEnvironment:withDelegate:")]
+ void FetchDeviceReferenceToken (string inAppID, PayPalEnvironment env, DeviceReferenceTokenDelegate del);
+
+ [Export ("fetchDeviceReferenceTokenWithAppID:withDelegate:")]
+ void FetchDeviceReferenceToken (string inAppID, DeviceReferenceTokenDelegate del);
+
+ [Export ("getPayButtonWithTarget:andAction:andButtonType:")]
+ UIButton GetPayButton (DeviceReferenceTokenDelegate target, Selector action, PayPalButtonType inButtonType);
+
+ }
+}
diff --git a/PaypalMEC/docs/MonoTouch.PayPal/DeviceReferenceTokenDelegate.xml b/PaypalMEC/docs/MonoTouch.PayPal/DeviceReferenceTokenDelegate.xml
new file mode 100644
index 00000000..358f5cc8
--- /dev/null
+++ b/PaypalMEC/docs/MonoTouch.PayPal/DeviceReferenceTokenDelegate.xml
@@ -0,0 +1,121 @@
+
+
+
+
+ PayPalMECL
+ 0.0.0.0
+
+
+ MonoTouch.Foundation.NSObject
+
+
+
+
+ MonoTouch.Foundation.Model
+
+
+ MonoTouch.Foundation.Register("DeviceReferenceTokenDelegate", true)
+
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+ Constructor
+
+ 0.0.0.0
+
+
+
+ MonoTouch.Foundation.Export("init")
+
+
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+ Constructor
+
+ 0.0.0.0
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Constructor
+
+ 0.0.0.0
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Method
+
+ 0.0.0.0
+
+
+
+ MonoTouch.Foundation.Export("couldNotFetchDeviceReferenceToken")
+
+
+
+ System.Void
+
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+ Method
+
+ 0.0.0.0
+
+
+
+ MonoTouch.Foundation.Export("receivedDeviceReferenceToken:")
+
+
+
+ System.Void
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
diff --git a/PaypalMEC/docs/MonoTouch.PayPal/PayPal.xml b/PaypalMEC/docs/MonoTouch.PayPal/PayPal.xml
new file mode 100644
index 00000000..a24ba76b
--- /dev/null
+++ b/PaypalMEC/docs/MonoTouch.PayPal/PayPal.xml
@@ -0,0 +1,353 @@
+
+
+
+
+ PayPalMECL
+ 0.0.0.0
+
+
+ MonoTouch.Foundation.NSObject
+
+
+
+
+ MonoTouch.Foundation.Register("PayPal", true)
+
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+ Constructor
+
+ 0.0.0.0
+
+
+
+ MonoTouch.Foundation.Export("init")
+
+
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+ Constructor
+
+ 0.0.0.0
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Constructor
+
+ 0.0.0.0
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Property
+
+ 0.0.0.0
+
+
+
+ get: MonoTouch.Foundation.Export("appID")
+
+
+
+ System.String
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Method
+
+ 0.0.0.0
+
+
+ System.Void
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Property
+
+ 0.0.0.0
+
+
+
+ get: MonoTouch.Foundation.Export("environment")
+
+
+
+ MonoTouch.PayPal.PayPalEnvironment
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Property
+
+ 0.0.0.0
+
+
+
+ get: MonoTouch.Foundation.Export("errorMessage")
+
+
+ set: MonoTouch.Foundation.Export("setErrorMessage:")
+
+
+
+ System.String
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Method
+
+ 0.0.0.0
+
+
+
+ MonoTouch.Foundation.Export("fetchDeviceReferenceTokenWithAppID:withDelegate:")
+
+
+
+ System.Void
+
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Method
+
+ 0.0.0.0
+
+
+
+ MonoTouch.Foundation.Export("fetchDeviceReferenceTokenWithAppID:forEnvironment:withDelegate:")
+
+
+
+ System.Void
+
+
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Method
+
+ 0.0.0.0
+
+
+
+ MonoTouch.Foundation.Export("getPayButtonWithTarget:andAction:andButtonType:")
+
+
+
+ MonoTouch.UIKit.UIButton
+
+
+
+
+
+
+
+ To be added.
+ To be added.
+ To be added.
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Method
+
+ 0.0.0.0
+
+
+
+ MonoTouch.Foundation.Export("getPayPalInst")
+
+
+
+ MonoTouch.PayPal.PayPal
+
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Property
+
+ 0.0.0.0
+
+
+
+ get: MonoTouch.Foundation.Export("initialized")
+
+
+
+ System.Boolean
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Property
+
+ 0.0.0.0
+
+
+
+ get: MonoTouch.Foundation.Export("lang")
+
+
+ set: MonoTouch.Foundation.Export("setLang:")
+
+
+
+ System.String
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Property
+
+ 0.0.0.0
+
+
+
+ get: MonoTouch.Foundation.Export("payButtons")
+
+
+ set: MonoTouch.Foundation.Export("setPayButtons:")
+
+
+
+ MonoTouch.UIKit.UIButton[]
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
+
+ Property
+
+ 0.0.0.0
+
+
+
+ get: MonoTouch.Foundation.Export("paymentsEnabled")
+
+
+
+ System.Boolean
+
+
+ To be added.
+ To be added.
+ To be added.
+
+
+
+
diff --git a/PaypalMEC/docs/MonoTouch.PayPal/PayPalButtonType.xml b/PaypalMEC/docs/MonoTouch.PayPal/PayPalButtonType.xml
new file mode 100644
index 00000000..ce22cffd
--- /dev/null
+++ b/PaypalMEC/docs/MonoTouch.PayPal/PayPalButtonType.xml
@@ -0,0 +1,101 @@
+
+
+
+
+ PayPalMECL
+ 0.0.0.0
+
+
+ System.Enum
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalButtonType
+
+
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalButtonType
+
+
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalButtonType
+
+
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalButtonType
+
+
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalButtonType
+
+
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalButtonType
+
+
+ To be added.
+
+
+
+
diff --git a/PaypalMEC/docs/MonoTouch.PayPal/PayPalEnvironment.xml b/PaypalMEC/docs/MonoTouch.PayPal/PayPalEnvironment.xml
new file mode 100644
index 00000000..83d2a095
--- /dev/null
+++ b/PaypalMEC/docs/MonoTouch.PayPal/PayPalEnvironment.xml
@@ -0,0 +1,59 @@
+
+
+
+
+ PayPalMECL
+ 0.0.0.0
+
+
+ System.Enum
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalEnvironment
+
+
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalEnvironment
+
+
+ To be added.
+
+
+
+
+
+ Field
+
+ 0.0.0.0
+
+
+ MonoTouch.PayPal.PayPalEnvironment
+
+
+ To be added.
+
+
+
+
diff --git a/PaypalMEC/docs/index.xml b/PaypalMEC/docs/index.xml
new file mode 100644
index 00000000..d9f8f26f
--- /dev/null
+++ b/PaypalMEC/docs/index.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+ MonoTouch.ObjCRuntime.LinkWith("libPayPalEC.a", MonoTouch.ObjCRuntime.LinkTarget.Simulator | MonoTouch.ObjCRuntime.LinkTarget.ArmV6 | MonoTouch.ObjCRuntime.LinkTarget.ArmV7, "-lxml2 -lz", ForceLoad=true)
+
+
+ System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)
+
+
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+
+
+
+
+
+
+ PayPalMECL
+
diff --git a/PaypalMEC/docs/ns-MonoTouch.PayPal.xml b/PaypalMEC/docs/ns-MonoTouch.PayPal.xml
new file mode 100644
index 00000000..f5b48eec
--- /dev/null
+++ b/PaypalMEC/docs/ns-MonoTouch.PayPal.xml
@@ -0,0 +1,6 @@
+
+
+ To be added.
+ To be added.
+
+
diff --git a/PaypalMEC/docs/ns-paypal.xml b/PaypalMEC/docs/ns-paypal.xml
new file mode 100644
index 00000000..997d63d9
--- /dev/null
+++ b/PaypalMEC/docs/ns-paypal.xml
@@ -0,0 +1,6 @@
+
+
+ To be added.
+ To be added.
+
+
diff --git a/PaypalMEC/docs/paypal/Messaging.xml b/PaypalMEC/docs/paypal/Messaging.xml
new file mode 100644
index 00000000..c14f5a0c
--- /dev/null
+++ b/PaypalMEC/docs/paypal/Messaging.xml
@@ -0,0 +1,31 @@
+
+
+
+
+ PayPalMECL
+ 0.0.0.0
+
+
+ System.Object
+
+
+
+ To be added.
+ To be added.
+
+
+
+
+
+ Constructor
+
+ 0.0.0.0
+
+
+
+ To be added.
+ To be added.
+
+
+
+
diff --git a/ShareKit/bindings/AssemblyInfo.cs b/ShareKit/bindings/AssemblyInfo.cs
new file mode 100644
index 00000000..6faf990c
--- /dev/null
+++ b/ShareKit/bindings/AssemblyInfo.cs
@@ -0,0 +1,4 @@
+using System;
+using MonoTouch.ObjCRuntime;
+
+[assembly: LinkWith ("libShareKitLibraryUniversal.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
diff --git a/ShareKit/bindings/Makefile b/ShareKit/bindings/Makefile
index 266eaa01..330ecc69 100644
--- a/ShareKit/bindings/Makefile
+++ b/ShareKit/bindings/Makefile
@@ -1,10 +1,34 @@
BTOUCH=/Developer/MonoTouch/usr/bin/btouch
-XBUILD=/Developer/usr/bin/xcodebuild
+XBUILD=//Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
+PROJECT_ROOT=sharekit
+PROJECT=$(PROJECT_ROOT)/ShareKit.xcodeproj
+TARGET=ShareKitLibrary
all: ShareKit.dll
-ShareKit.dll: sharekit.cs enums.cs
- $(BTOUCH) -e sharekit.cs enums.cs --out=$@
+libShareKitLibrary-i386.a:
+ $(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphonesimulator -configuration Release clean build
+ -mv $(PROJECT_ROOT)/build/Release-iphonesimulator/lib$(TARGET).a $@
+
+
+libShareKitLibrary-armv6.a:
+ $(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphoneos -arch armv6 -configuration Release clean build
+ -mv $(PROJECT_ROOT)/build/Release-iphoneos/lib$(TARGET).a $@
+
+libShareKitLibrary-armv7.a:
+ $(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphoneos -arch armv7 -configuration Release clean build
+ -mv $(PROJECT_ROOT)/build/Release-iphoneos/lib$(TARGET).a $@
+
+
+libShareKitLibraryUniversal.a: lib$(TARGET)-armv7.a lib$(TARGET)-armv6.a lib$(TARGET)-i386.a
+ lipo -create -output $@ $^
+
+ShareKit.dll: AssemblyInfo.cs sharekit.cs enums.cs lib$(TARGET)Universal.a
+ make libShareKitLibrary-i386.a
+ make libShareKitLibrary-armv6.a
+ make libShareKitLibrary-armv7.a
+ make libShareKitLibraryUniversal.a
+ $(BTOUCH) -e sharekit.cs AssemblyInfo.cs enums.cs --out=$@ --link-with=libShareKitLibraryUniversal.a,libShareKitLibraryUniversal.a
clean:
-rm -f *.a *.dll
diff --git a/Tapku/binding/Makefile b/Tapku/binding/Makefile
index 5f5fe0b6..1d4238cd 100644
--- a/Tapku/binding/Makefile
+++ b/Tapku/binding/Makefile
@@ -1,5 +1,5 @@
BTOUCH=/Developer/MonoTouch/usr/bin/btouch
-XBUILD=/Developer/usr/bin/xcodebuild
+XBUILD=/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
PROJECT_ROOT=tapkulibrary/src
PROJECT=$(PROJECT_ROOT)/TapkuLibrary.xcodeproj
TARGET=TapkuLibrary
diff --git a/Tapku/sample/TapkuSample/CoverflowViewController.cs b/Tapku/sample/TapkuSample/CoverflowViewController.cs
index 6e1ba9d4..6ef1259c 100644
--- a/Tapku/sample/TapkuSample/CoverflowViewController.cs
+++ b/Tapku/sample/TapkuSample/CoverflowViewController.cs
@@ -158,7 +158,11 @@ public CoverDataSource (CoverflowViewController vc)
public override TKCoverflowCoverView CoverflowViewcoverAtIndex (TKCoverflowView coverflowView, int index)
{
- var cover = coverflowView.DequeueReusableCoverView();
+ TKCoverflowCoverView cover = null;
+ try{
+ cover = coverflowView.DequeueReusableCoverView();
+ }catch{
+ }
if(cover == null) {
bool isPhone = UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone;
diff --git a/facebook/binding/Facebook.dll b/facebook/binding/Facebook.dll
index 9e1e0f65..674c6361 100755
Binary files a/facebook/binding/Facebook.dll and b/facebook/binding/Facebook.dll differ
diff --git a/facebook/binding/Makefile b/facebook/binding/Makefile
index adf0f762..d8ef10f2 100644
--- a/facebook/binding/Makefile
+++ b/facebook/binding/Makefile
@@ -1,4 +1,4 @@
-XBUILD=/Developer/usr/bin/xcodebuild
+XBUILD=/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
PROJECT_ROOT=facebook-ios-sdk/src
PROJECT=$(PROJECT_ROOT)/facebook-ios-sdk.xcodeproj
TARGET=facebook-ios-sdk