How use YogaKit with Xamarin/F#? #719

Closed
opened 2018-02-21 08:16:18 -08:00 by mamcx · 2 comments
mamcx commented 2018-02-21 08:16:18 -08:00 (Migrated from github.com)

I try to import Yoga:

    <Reference Include="Facebook.Yoga">
      <HintPath>..\..\packages\Facebook.Yoga.1.5.0-pre1\lib\Xamarin.iOS10\Facebook.Yoga.dll</HintPath>
    </Reference>

And then to use it:

open Foundation
open UIKit
open Facebook.Yoga

let render (window:UI.Window) =
    let win = new BaseViewController()
    let root = win.View

    root.Yoga().IsEnabled <- true

However "Yoga()" not exist. Also, is not found on nuget "YogaKit" (is this necessary?).

I try to import Yoga: ``` <Reference Include="Facebook.Yoga"> <HintPath>..\..\packages\Facebook.Yoga.1.5.0-pre1\lib\Xamarin.iOS10\Facebook.Yoga.dll</HintPath> </Reference> ``` And then to use it: ``` open Foundation open UIKit open Facebook.Yoga let render (window:UI.Window) = let win = new BaseViewController() let root = win.View root.Yoga().IsEnabled <- true ``` However "Yoga()" not exist. Also, is not found on nuget "YogaKit" (is this necessary?).
rmarinho commented 2018-02-21 10:11:43 -08:00 (Migrated from github.com)

yeah we will need to update the pcakges and work on it again.. i started some work but then moved to use other Project. But i m glad to help anyone that want's to mantain it.

yeah we will need to update the pcakges and work on it again.. i started some work but then moved to use other Project. But i m glad to help anyone that want's to mantain it.
NickGerleman commented 2023-06-05 19:05:41 -07:00 (Migrated from github.com)

The C# bindings have not had a dedicated maintainer. We are removing them from the repo as part of cleanup for the next OSS release of Yoga.

The C# bindings have not had a dedicated maintainer. We are removing them from the repo as part of cleanup for the next OSS release of Yoga.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DaddyFrosty/yoga#719
No description provided.