Hello_Universal sample ported to 64-bits

This commit is contained in:
Paola Villarreal 2014-05-28 22:36:32 -05:00
Родитель f0b6930781
Коммит f55ed85b03
5 изменённых файлов: 17 добавлений и 12 удалений

Просмотреть файл

@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Foundation;
using UIKit;
namespace Hello_Universal
{

Просмотреть файл

@ -16,7 +16,9 @@
<DebugType>full</DebugType>
<Optimize>False</Optimize>
<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>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
@ -25,6 +27,7 @@
<MtouchI18n>
</MtouchI18n>
<MtouchArch>ARMv7</MtouchArch>
<MtouchExtraArgs>--registrar:static --nofastsim --override-abi x86_64</MtouchExtraArgs>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>none</DebugType>
@ -60,7 +63,9 @@
<Reference Include="System" />
<Reference Include="System.Xml" />
<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>
<None Include="Info.plist" />
@ -107,4 +112,4 @@
<ItemGroup>
<ITunesArtwork Include="Resources\iTunesArtwork.png" />
</ItemGroup>
</Project>
</Project>

Просмотреть файл

@ -1,7 +1,7 @@
using MonoTouch.UIKit;
using UIKit;
using System.Drawing;
using System;
using MonoTouch.Foundation;
using Foundation;
namespace Hello_Universal
{

Просмотреть файл

@ -4,7 +4,7 @@
// actions made in the Xcode designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using MonoTouch.Foundation;
using Foundation;
namespace Hello_Universal
{
@ -12,9 +12,9 @@ namespace Hello_Universal
partial class Hello_UniversalViewController
{
[Outlet]
MonoTouch.UIKit.UIButton btnClickMe { get; set; }
UIKit.UIButton btnClickMe { get; set; }
[Outlet]
MonoTouch.UIKit.UILabel lblOutput { get; set; }
UIKit.UILabel lblOutput { get; set; }
}
}

Просмотреть файл

@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Foundation;
using UIKit;
namespace Hello_Universal
{