swrevealviewcontroller-xamarinbinding's People
swrevealviewcontroller-xamarinbinding's Issues
Could you provide an example of it's usage please
Hey firstly thanks a lot for providing this binding, been having problems trying to get this binding.
With your Binding added as a reference, I tried to follow
http://www.appcoda.com/ios-programming-sidebar-navigation-menu/
However xcode does not seem to recognise the SWRevealViewController or it's Segues.
If you don't mind could you please add a simple example showing it's usage please. Would be really helpful and this project totally needs to get added to Xamarin-Bindings git repo too
Not transitioning to front VC
Hi There,
I am trying to set up a project using this XamarinBinding. I have loaded the example storyboard project and that works fine.
I set up my own project, added this binding project to the solution and referenced it.
I added a view controller to the stroyboard, set class to SWRevealViewController. I have two custom segues of type SWRevealViewControllerSegueSetController pointing to a navigation controller and a table view controller, each identified as sw_front and sw_rear respectivly.
When I run the project the app just displays SWRevealViewController's contents and does not transition to the root VC of the navigation controller that sw_front points to.
Have I missed a step somewhere?
Thanks for your help
Build against latest version of SWRevealViewController
There seem to be several updates to SWRevealViewController, https://github.com/John-Lluch/SWRevealViewController/commits/master. Could you please provide an update based on the latest version?
Cheers,
Bjørn Egil
Build error
Hi there,
I am having significant issues building this project. Each time it errors on generating Messaging.g.cs
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static bool bool_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static void void_objc_msgSend_bool (IntPtr receiver, IntPtr selector, bool arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static void void_objc_msgSendSuper_bool (IntPtr receiver, IntPtr selector, bool arg1);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static global::System.Double Double_objc_msgSend (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSendSuper")]
public extern static global::System.Double Double_objc_msgSendSuper (IntPtr receiver, IntPtr selector);
[DllImport (LIBOBJC_DYLIB, EntryPoint="objc_msgSend")]
public extern static void vo
My environment is as follows:
Dev PC Environment
Visual Studio Professional 2015 Version 14.0.25123.00 Update 2
Xamarin 4.0.3.214 (0dd817c)
Xamarin.iOS 9.6.1.8 (3a25bf1)
Macbook (Agent) Environment
OS X El Capitan Version 10.11.4
Simulator Version 9.3
Xcode Version 7.3 (7D175)
I have tried creating a new Project for the bindings project and followed the walkthrough provided by Xamarin here
However, I successfully built the example project here, alas, it depends on monotouch and therefore is out of date as I am using Xamarin.iOS.
Please could you let me know how to build and resolve the Messaging.g.cs
issue so I am able reference it's dll in my own project.
Many thanks
John
System.InvalidCastException
I get the following exception when running the StoryboardSample straight from a clean git clone. I am using Xamarin 4.2.3 build 60 and XCode 5.1.
System.InvalidCastException: Cannot cast from source type to destination type.
at at (wrapper castclass) object:__castclass_with_cache (object,intptr,intptr)
at MonoTouch.ObjCRuntime.Runtime.ConstructNSObject[SWRevealViewController](IntPtr ptr, System.Type type, MissingCtorResolution missingCtorResolution) [0x0003e] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:382
at MonoTouch.ObjCRuntime.Runtime.GetNSObject[SWRevealViewController](IntPtr ptr) [0x00077] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:471
at SWRevealViewControllerBinding.SWRevealViewController_UIViewController.RevealViewController (MonoTouch.UIKit.UIViewController This) [0x00011] in /Users/me/SWRevealViewController-XamarinBinding/SWRevealViewControllerBinding/obj/Debug/ios/SWRevealViewControllerBinding/SWRevealViewController_UIViewController.g.cs:44
at SWRevealExample.HomeViewController.ViewDidLoad () [0x00008] in /Users/me/SWRevealViewController-XamarinBinding/StoryboardSample/HomeViewController.cs:14
at at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38
at StoryboardSample.Application.Main (System.String[] args) [0x00008] in /Users/me/SWRevealViewController-XamarinBinding/StoryboardSample/Main.cs:16
Native linking failed error when building for device
With the latest Xamarin iOS beta (7.2.2.2), I'm getting a Native linking failed error related to the SWRevealViewControllerDelegate class when I deploy to a device. To fix it, we need the Protocol attribute added to that interface definition.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.