зеркало из https://github.com/xamarin/ios-samples.git
Hello_Universal sample ported to 64-bits
This commit is contained in:
Родитель
f0b6930781
Коммит
f55ed85b03
|
@ -1,8 +1,8 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using MonoTouch.Foundation;
|
using Foundation;
|
||||||
using MonoTouch.UIKit;
|
using UIKit;
|
||||||
|
|
||||||
namespace Hello_Universal
|
namespace Hello_Universal
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>False</Optimize>
|
<Optimize>False</Optimize>
|
||||||
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
|
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
|
||||||
<DefineConstants>DEBUG</DefineConstants>
|
<DefineConstants>DEBUG;XAMCORE_2_0;ARCH_64</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>False</ConsolePause>
|
<ConsolePause>False</ConsolePause>
|
||||||
|
@ -25,6 +27,7 @@
|
||||||
<MtouchI18n>
|
<MtouchI18n>
|
||||||
</MtouchI18n>
|
</MtouchI18n>
|
||||||
<MtouchArch>ARMv7</MtouchArch>
|
<MtouchArch>ARMv7</MtouchArch>
|
||||||
|
<MtouchExtraArgs>--registrar:static --nofastsim --override-abi x86_64</MtouchExtraArgs>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
|
||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
|
@ -60,7 +63,9 @@
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="monotouch" />
|
<Reference Include="Xamarin.iOS">
|
||||||
|
<HintPath>\Developer\MonoTouch\usr\lib\mono\Xamarin.iOS\Xamarin.iOS.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="Info.plist" />
|
<None Include="Info.plist" />
|
||||||
|
@ -107,4 +112,4 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ITunesArtwork Include="Resources\iTunesArtwork.png" />
|
<ITunesArtwork Include="Resources\iTunesArtwork.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
using MonoTouch.UIKit;
|
using UIKit;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System;
|
using System;
|
||||||
using MonoTouch.Foundation;
|
using Foundation;
|
||||||
|
|
||||||
namespace Hello_Universal
|
namespace Hello_Universal
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// actions made in the Xcode designer. If it is removed, they will be lost.
|
// actions made in the Xcode designer. If it is removed, they will be lost.
|
||||||
// Manual changes to this file may not be handled correctly.
|
// Manual changes to this file may not be handled correctly.
|
||||||
//
|
//
|
||||||
using MonoTouch.Foundation;
|
using Foundation;
|
||||||
|
|
||||||
namespace Hello_Universal
|
namespace Hello_Universal
|
||||||
{
|
{
|
||||||
|
@ -12,9 +12,9 @@ namespace Hello_Universal
|
||||||
partial class Hello_UniversalViewController
|
partial class Hello_UniversalViewController
|
||||||
{
|
{
|
||||||
[Outlet]
|
[Outlet]
|
||||||
MonoTouch.UIKit.UIButton btnClickMe { get; set; }
|
UIKit.UIButton btnClickMe { get; set; }
|
||||||
|
|
||||||
[Outlet]
|
[Outlet]
|
||||||
MonoTouch.UIKit.UILabel lblOutput { get; set; }
|
UIKit.UILabel lblOutput { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using MonoTouch.Foundation;
|
using Foundation;
|
||||||
using MonoTouch.UIKit;
|
using UIKit;
|
||||||
|
|
||||||
namespace Hello_Universal
|
namespace Hello_Universal
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче