-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Sample (not yet working) #15
base: master
Are you sure you want to change the base?
Conversation
My next step is to try building this exclusively on Visual Studio for Mac. But it's a side project and I might not get to that for a few days. |
@@ -0,0 +1,76 @@ | |||
using UIKit; | |||
using Foundation; | |||
using Gjallarhorn.Bindable.Framework; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the android app, there is a reference to Gjallarhorn.XamarinForms.
I was experimenting with just trying to use Gjallarhorn.Bindable without the XamarinForms...
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) | ||
{ | ||
global::Xamarin.Forms.Forms.Init(); | ||
//var info = Framework.CreateApplicationInfo(Program.applicationCore, new MainPage()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These lines were copied from the Android app shell project.
Unsure the correct interface to load into an iOS application.
is there an interface that can bind to UIApplication somehow?
Perhaps I can try .NetStandard from #14 |
I loaded up the net standard branch from mtnrqb and rebased-renamed my branch over that. When I get the error under VS for Mac, it provides a link to here to submit a bug report about this assembly:
|
I was able to get it working using the new Xamarin .NetStandard templates that were introduced last year. I've shared in a separate repo (https://github.com/bigjonroberts/Conduit) and you can decide what to do from there. After decision is made, I'll help roll in the new demo.
|
@bigjonroberts - awesome work |
@bigjonroberts I'd see if rebasing this and seeing how well it works with the latest VS and the updated templates. Got the official core library project out for NS 2 now, so hopefully this will work better. I'm fine losing support for old VS versions. |
@ReedCopsey I'm trying to get Gjallarhorn.Bindable working for iOS.
Ran into the following message trying to pull Gjallarhorn.Bindable.XamarinForms into a new iOS project.
Severity Code Description Project File Line Suppression State Warning The project 'Gjallarhorn.Bindable.XamarinForms' cannot be referenced. The referenced project is targeted to a different framework family (.NETFramework) ElmInspiredOneXF.iOS