Summary: Using shared code for reuse in other platforms based on iOS native implementation. Adds YogaKit sample. Adds YogaKit tests (same as objc). ``` YogaKitTest : 80 ms Facebook.YogaKit.iOS.Tests.exe : 81 ms Tests run: 11 Passed: 8 Inconclusive: 0 Failed: 3 Ignored: 1 ``` Since we don't have extension properties we need to go with a extension method to get access to the YogaLayout . I m also not sure this is leak free yet, would love some help with testing and feedback about view/node lifecycle Closes https://github.com/facebook/yoga/pull/336 Reviewed By: splhack Differential Revision: D4415027 Pulled By: emilsjolander fbshipit-source-id: c88328212426c3200e6f0c48cda594cd2c432065
69 lines
3.1 KiB
XML
69 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{0C38AA9D-3178-4B43-9C3B-3C97A90FB1B0}</ProjectGuid>
|
|
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>Facebook.YogaKit.iOS</RootNamespace>
|
|
<AssemblyName>Facebook.YogaKit.iOS</AssemblyName>
|
|
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug</OutputPath>
|
|
<DefineConstants>DEBUG;__IOS__</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
|
<MtouchDebug>true</MtouchDebug>
|
|
<MtouchFastDev>true</MtouchFastDev>
|
|
<MtouchProfiling>true</MtouchProfiling>
|
|
<MtouchUseSGen>true</MtouchUseSGen>
|
|
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
|
<IOSDebuggerPort>53781</IOSDebuggerPort>
|
|
<DeviceSpecificBuild>false</DeviceSpecificBuild>
|
|
<MtouchLink>SdkOnly</MtouchLink>
|
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
|
<MtouchTlsProvider>Default</MtouchTlsProvider>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release</OutputPath>
|
|
<DefineConstants></DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
|
<MtouchUseSGen>true</MtouchUseSGen>
|
|
<MtouchUseRefCounting>true</MtouchUseRefCounting>
|
|
<MtouchLink>SdkOnly</MtouchLink>
|
|
<MtouchHttpClientHandler>HttpClientHandler</MtouchHttpClientHandler>
|
|
<MtouchTlsProvider>Default</MtouchTlsProvider>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="Xamarin.iOS" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Resources\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="YogaLayout.cs" />
|
|
<Compile Include="YogaKit.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Facebook.Yoga.iOS\Facebook.Yoga.iOS.csproj">
|
|
<Project>{128FB32A-C4A1-4363-BF06-0A36E700B7FA}</Project>
|
|
<Name>Facebook.Yoga.iOS</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="..\..\Facebook.YogaKit\Facebook.YogaKit.projitems" Label="Shared" Condition="Exists('..\..\Facebook.YogaKit\Facebook.YogaKit.projitems')" />
|
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
|
|
</Project> |