This commit is contained in:
Aaron Sky 2015-04-27 17:35:54 -04:00
Родитель ac6cdca28e
Коммит 32c3a653af
49 изменённых файлов: 337 добавлений и 225 удалений

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

@ -32,5 +32,12 @@
<string>1</string>
<key>CFBundleVersion</key>
<string>0</string>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

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

@ -56,10 +56,10 @@
<ConsolePause>False</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<MtouchSdkVersion>4.2</MtouchSdkVersion>
<MtouchI18n>
</MtouchI18n>
<MtouchArch>ARMv7</MtouchArch>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>

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

@ -38,5 +38,12 @@
</array>
<key>CFBundleIdentifier</key>
<string>com.xamarin.avcaptureframes</string>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

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

@ -13,7 +13,6 @@ using UIKit;
using AVFoundation;
using CoreVideo;
using CoreMedia;
using CoreGraphics;
using CoreFoundation;
using System.Runtime.InteropServices;

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

@ -53,6 +53,9 @@
<IpaPackageName>
</IpaPackageName>
<MtouchArch>ARMv7</MtouchArch>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<MtouchI18n>
</MtouchI18n>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>full</DebugType>

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

@ -29,5 +29,13 @@
<string>Icon-Small-40</string>
<string>Icon-Small-40@2x</string>
</array>
<key>CFBundleDisplayName</key>
<string>AVCompositionDebugViewer</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.AVCompositionDebugViewer</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

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

@ -49,6 +49,9 @@
<ConsolePause>false</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchArch>ARMv7</MtouchArch>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
<MtouchI18n>
</MtouchI18n>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>full</DebugType>

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

@ -42,14 +42,13 @@ namespace AVCustomEdit
DispatchQueue renderingQueue;
DispatchQueue renderContextQueue;
AVVideoCompositionRenderContext renderContext;
CVPixelBuffer previousBuffer;
//CVPixelBuffer previousBuffer;
public OpenGLRenderer oglRender;
public CustomVideoCompositor (IntPtr handle) : base (handle)
{
renderingQueue = new DispatchQueue ("com.apple.aplcustomvideocompositor.renderingqueue");
renderContextQueue = new DispatchQueue ("com.apple.aplcustomvideocompositor.rendercontextqueue");
previousBuffer = null;
renderContextDidChange = false;
}
@ -57,7 +56,6 @@ namespace AVCustomEdit
{
renderingQueue = new DispatchQueue ("com.apple.aplcustomvideocompositor.renderingqueue");
renderContextQueue = new DispatchQueue ("com.apple.aplcustomvideocompositor.rendercontextqueue");
previousBuffer = null;
renderContextDidChange = false;
}

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

@ -5,6 +5,7 @@
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIMainStoryboardFile</key>
<string>MainStoryboard</string>
@ -35,5 +36,18 @@
<string>Icon-Small@2x</string>
<string>Icon-Small-50</string>
</array>
<key>CFBundleDisplayName</key>
<string>AVCustomEdit</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.AVCustomEdit</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

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

@ -42,7 +42,7 @@ namespace AVCustomEdit
{
base.ViewDidLoad ();
this.tableView.Delegate = new TableViewDelegate (this);
this.tableView.Delegate = new TableViewDelegate ();
}
partial void TransitionSelected (Foundation.NSObject sender)
@ -78,13 +78,6 @@ namespace AVCustomEdit
public class TableViewDelegate : UITableViewDelegate
{
TransitionTypeController viewController;
public TableViewDelegate(TransitionTypeController viewController) : base()
{
this.viewController = viewController;
}
public override void RowSelected (UITableView tableView, NSIndexPath indexPath)
{

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

@ -1,11 +1,13 @@
// WARNING
//
// This file has been generated automatically by Xamarin Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
// This file has been generated automatically by Xamarin Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace AirLocate
{
@ -13,47 +15,43 @@ namespace AirLocate
partial class ConfigurationViewController
{
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UISwitch enabledSwitch { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UISwitch enabledSwitch { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UITextField majorTextField { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UITextField majorTextField { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UITextField measuredPowerTextField { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UITextField measuredPowerTextField { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UITextField minorTextField { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UITextField minorTextField { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UITextField uuidTextField { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UITextField uuidTextField { get; set; }
void ReleaseDesignerOutlets ()
{
if (majorTextField != null) {
majorTextField.Dispose ();
majorTextField = null;
}
if (minorTextField != null) {
minorTextField.Dispose ();
minorTextField = null;
}
if (measuredPowerTextField != null) {
measuredPowerTextField.Dispose ();
measuredPowerTextField = null;
}
if (enabledSwitch != null) {
enabledSwitch.Dispose ();
enabledSwitch = null;
}
if (majorTextField != null) {
majorTextField.Dispose ();
majorTextField = null;
}
if (measuredPowerTextField != null) {
measuredPowerTextField.Dispose ();
measuredPowerTextField = null;
}
if (minorTextField != null) {
minorTextField.Dispose ();
minorTextField = null;
}
if (uuidTextField != null) {
uuidTextField.Dispose ();
uuidTextField = null;

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

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="4457.9" systemVersion="12C60" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="11">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3682.9"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733.0"/>
</dependencies>
<scenes>
<!--Navigation Controller-->
@ -35,17 +35,17 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="286" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Monitoring" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="43">
<rect key="frame" x="15" y="2" width="90" height="22"/>
<rect key="frame" x="16" y="3" width="90" height="21.5"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</label>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Monitor a beacon region" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="44">
<rect key="frame" x="15" y="24" width="155" height="17"/>
<rect key="frame" x="16" y="24.5" width="157.5" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
@ -58,17 +58,17 @@
<rect key="frame" x="0.0" y="44" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="286" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Ranging" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="57">
<rect key="frame" x="15" y="2" width="70" height="22"/>
<rect key="frame" x="16" y="3" width="69.5" height="21.5"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</label>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Range beacons around you" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="58">
<rect key="frame" x="15" y="24" width="174" height="17"/>
<rect key="frame" x="16" y="24.5" width="177.5" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
@ -81,17 +81,17 @@
<rect key="frame" x="0.0" y="88" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="286" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Calibration" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="81">
<rect key="frame" x="15" y="2" width="91" height="22"/>
<rect key="frame" x="16" y="3" width="90.5" height="21.5"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</label>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Calibrate the measured power for a beacon" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="82">
<rect key="frame" x="15" y="24" width="270" height="17"/>
<rect key="frame" x="16" y="24.5" width="269" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
@ -104,17 +104,17 @@
<rect key="frame" x="0.0" y="132" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="286" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Configuration" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="150">
<rect key="frame" x="15" y="2" width="113" height="22"/>
<rect key="frame" x="16" y="3" width="113" height="21.5"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</label>
<label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Configure this iOS device as a beacon" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="151">
<rect key="frame" x="15" y="24" width="242" height="17"/>
<rect key="frame" x="16" y="24.5" width="246.5" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
@ -141,7 +141,7 @@
<!--Monitoring View Controller - Monitor-->
<scene sceneID="313">
<objects>
<tableViewController storyboardIdentifier="MonitoringViewController" id="314" customClass="MonitoringViewController" sceneMemberID="viewController">
<tableViewController storyboardIdentifier="MonitoringViewController" id="314" customClass="MonitoringViewController" sceneMemberID="viewController" useStoryboardIdentifierAsRestorationIdentifier="YES">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="569">
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@ -153,14 +153,14 @@
<rect key="frame" x="0.0" y="22" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" on="YES" id="614">
<rect key="frame" x="231" y="8" width="79" height="27"/>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" on="YES" id="614" fixedFrame="YES">
<rect key="frame" x="231" y="8" width="51" height="31"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</switch>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Enabled" lineBreakMode="tailTruncation" minimumFontSize="10" id="845">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Enabled" lineBreakMode="tailTruncation" minimumFontSize="10" id="845" fixedFrame="YES">
<rect key="frame" x="12" y="12" width="75" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -176,10 +176,10 @@
<rect key="frame" x="0.0" y="66" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="UUID" lineBreakMode="tailTruncation" minimumFontSize="10" id="858">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="UUID" lineBreakMode="tailTruncation" minimumFontSize="10" id="858" fixedFrame="YES">
<rect key="frame" x="13" y="12" width="45" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -187,7 +187,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="17" id="903">
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="17" id="903" fixedFrame="YES">
<rect key="frame" x="96" y="7" width="217" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
@ -201,10 +201,10 @@
<rect key="frame" x="0.0" y="110" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Major" lineBreakMode="tailTruncation" minimumFontSize="10" id="920">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Major" lineBreakMode="tailTruncation" minimumFontSize="10" id="920" fixedFrame="YES">
<rect key="frame" x="14" y="12" width="45" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -212,7 +212,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="17" id="929">
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="17" id="929" fixedFrame="YES">
<rect key="frame" x="194" y="7" width="119" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
@ -226,10 +226,10 @@
<rect key="frame" x="0.0" y="154" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Minor" lineBreakMode="tailTruncation" minimumFontSize="10" id="960">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Minor" lineBreakMode="tailTruncation" minimumFontSize="10" id="960" fixedFrame="YES">
<rect key="frame" x="14" y="12" width="45" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -237,7 +237,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="17" id="969">
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="17" id="969" fixedFrame="YES">
<rect key="frame" x="197" y="7" width="117" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
@ -251,14 +251,14 @@
<rect key="frame" x="0.0" y="198" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" on="YES" id="1024">
<rect key="frame" x="231" y="8" width="79" height="27"/>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" on="YES" id="1024" fixedFrame="YES">
<rect key="frame" x="231" y="8" width="51" height="31"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</switch>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Notify Entry" lineBreakMode="tailTruncation" minimumFontSize="10" id="1025">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Notify Entry" lineBreakMode="tailTruncation" minimumFontSize="10" id="1025" fixedFrame="YES">
<rect key="frame" x="12" y="12" width="111" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -274,14 +274,14 @@
<rect key="frame" x="0.0" y="242" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" on="YES" id="1031">
<rect key="frame" x="231" y="8" width="79" height="27"/>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" on="YES" id="1031" fixedFrame="YES">
<rect key="frame" x="231" y="8" width="51" height="31"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</switch>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Notify Exit" lineBreakMode="tailTruncation" minimumFontSize="10" id="1032">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Notify Exit" lineBreakMode="tailTruncation" minimumFontSize="10" id="1032" fixedFrame="YES">
<rect key="frame" x="12" y="12" width="104" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -297,14 +297,14 @@
<rect key="frame" x="0.0" y="286" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" on="YES" id="1038">
<rect key="frame" x="231" y="8" width="79" height="27"/>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" on="YES" id="1038" fixedFrame="YES">
<rect key="frame" x="231" y="8" width="51" height="31"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</switch>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Notify Entry Display" lineBreakMode="tailTruncation" minimumFontSize="10" id="1039">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Notify Entry Display" lineBreakMode="tailTruncation" minimumFontSize="10" id="1039" fixedFrame="YES">
<rect key="frame" x="12" y="12" width="167" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -339,7 +339,7 @@
<!--Configuration View Controller-->
<scene sceneID="558">
<objects>
<tableViewController storyboardIdentifier="ConfigurationViewController" id="559" customClass="ConfigurationViewController" sceneMemberID="viewController">
<tableViewController storyboardIdentifier="ConfigurationViewController" id="559" customClass="ConfigurationViewController" sceneMemberID="viewController" useStoryboardIdentifierAsRestorationIdentifier="YES">
<tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="560">
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@ -351,10 +351,10 @@
<rect key="frame" x="0.0" y="22" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Enabled" lineBreakMode="tailTruncation" minimumFontSize="10" id="1125">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Enabled" lineBreakMode="tailTruncation" minimumFontSize="10" id="1125" fixedFrame="YES">
<rect key="frame" x="14" y="12" width="79" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -362,8 +362,8 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="1159">
<rect key="frame" x="241" y="8" width="79" height="27"/>
<switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="1159" fixedFrame="YES">
<rect key="frame" x="241" y="8" width="51" height="31"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
</switch>
</subviews>
@ -374,10 +374,10 @@
<rect key="frame" x="0.0" y="66" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="UUID" lineBreakMode="tailTruncation" minimumFontSize="10" id="1164">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="UUID" lineBreakMode="tailTruncation" minimumFontSize="10" id="1164" fixedFrame="YES">
<rect key="frame" x="20" y="12" width="45" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -385,7 +385,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="17" id="1507">
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="17" id="1507" fixedFrame="YES">
<rect key="frame" x="97" y="7" width="218" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
@ -399,10 +399,10 @@
<rect key="frame" x="0.0" y="110" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Major" lineBreakMode="tailTruncation" minimumFontSize="10" id="1207">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Major" lineBreakMode="tailTruncation" minimumFontSize="10" id="1207" fixedFrame="YES">
<rect key="frame" x="20" y="12" width="45" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -410,7 +410,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="right" minimumFontSize="17" id="1299">
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="right" minimumFontSize="17" id="1299" fixedFrame="YES">
<rect key="frame" x="182" y="7" width="131" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
@ -424,10 +424,10 @@
<rect key="frame" x="0.0" y="154" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Minor" lineBreakMode="tailTruncation" minimumFontSize="10" id="1325">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Minor" lineBreakMode="tailTruncation" minimumFontSize="10" id="1325" fixedFrame="YES">
<rect key="frame" x="20" y="12" width="45" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -435,7 +435,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="right" minimumFontSize="17" id="1326">
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="right" minimumFontSize="17" id="1326" fixedFrame="YES">
<rect key="frame" x="182" y="7" width="131" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
@ -449,10 +449,10 @@
<rect key="frame" x="0.0" y="198" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Measured Power" lineBreakMode="tailTruncation" minimumFontSize="10" id="1352">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Measured Power" lineBreakMode="tailTruncation" minimumFontSize="10" id="1352" fixedFrame="YES">
<rect key="frame" x="20" y="12" width="139" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
@ -460,7 +460,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="-59" borderStyle="roundedRect" textAlignment="right" minimumFontSize="17" id="1353">
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="-59" borderStyle="roundedRect" textAlignment="right" minimumFontSize="17" id="1353" fixedFrame="YES">
<rect key="frame" x="182" y="7" width="131" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
@ -495,17 +495,17 @@
<!--Ranging View Controller-->
<scene sceneID="1434">
<objects>
<tableViewController id="1435" customClass="RangingViewController" sceneMemberID="viewController">
<tableViewController id="1435" customClass="RangingViewController" sceneMemberID="viewController" useStoryboardIdentifierAsRestorationIdentifier="YES" storyboardIdentifier="RangingViewController">
<tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="1436">
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="1439">
<tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="1439" reuseIdentifier="Cell">
<rect key="frame" x="0.0" y="22" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</view>
@ -520,7 +520,7 @@
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="1440" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="639" y="-1365"/>
<point key="canvasLocation" x="630" y="-1275"/>
</scene>
</scenes>
<classes>
@ -558,4 +558,12 @@
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination"/>
</simulatedMetricsContainer>
<resources>
<image name="Icon.png" width="57" height="57"/>
<image name="Icon-72.png" width="72" height="72"/>
<image name="Icon-Small.png" width="29" height="29"/>
<image name="Icon-Small-50.png" width="50" height="50"/>
<image name="Default.png" width="320" height="480"/>
<image name="Default-568h.png" width="640" height="1136"/>
</resources>
</document>

9
AirLocate/AirLocate/MenuViewController.designer.cs сгенерированный
Просмотреть файл

@ -1,18 +1,19 @@
// WARNING
//
// This file has been generated automatically by Xamarin Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
// This file has been generated automatically by Xamarin Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace AirLocate
{
[Register ("MenuViewController")]
partial class MenuViewController
{
void ReleaseDesignerOutlets ()
{
}

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

@ -1,11 +1,13 @@
// WARNING
//
// This file has been generated automatically by Xamarin Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
// This file has been generated automatically by Xamarin Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace AirLocate
{
@ -13,32 +15,32 @@ namespace AirLocate
partial class MonitoringViewController
{
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UISwitch enabledSwitch { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UISwitch enabledSwitch { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UITextField majorTextField { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UITextField majorTextField { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UITextField minorTextField { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UITextField minorTextField { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UISwitch notifyOnDisplaySwitch { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UISwitch notifyOnDisplaySwitch { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UISwitch notifyOnEntrySwitch { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UISwitch notifyOnEntrySwitch { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UISwitch notifyOnExitSwitch { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UISwitch notifyOnExitSwitch { get; set; }
[Outlet]
[GeneratedCodeAttribute ("iOS Designer", "1.0")]
UIKit.UITextField uuidTextField { get; set; }
[GeneratedCode ("iOS Designer", "1.0")]
UITextField uuidTextField { get; set; }
void ReleaseDesignerOutlets ()
{
@ -46,36 +48,30 @@ namespace AirLocate
enabledSwitch.Dispose ();
enabledSwitch = null;
}
if (uuidTextField != null) {
uuidTextField.Dispose ();
uuidTextField = null;
}
if (majorTextField != null) {
majorTextField.Dispose ();
majorTextField = null;
}
if (minorTextField != null) {
minorTextField.Dispose ();
minorTextField = null;
}
if (notifyOnEntrySwitch != null) {
notifyOnEntrySwitch.Dispose ();
notifyOnEntrySwitch = null;
}
if (notifyOnExitSwitch != null) {
notifyOnExitSwitch.Dispose ();
notifyOnExitSwitch = null;
}
if (notifyOnDisplaySwitch != null) {
notifyOnDisplaySwitch.Dispose ();
notifyOnDisplaySwitch = null;
}
if (notifyOnEntrySwitch != null) {
notifyOnEntrySwitch.Dispose ();
notifyOnEntrySwitch = null;
}
if (notifyOnExitSwitch != null) {
notifyOnExitSwitch.Dispose ();
notifyOnExitSwitch = null;
}
if (uuidTextField != null) {
uuidTextField.Dispose ();
uuidTextField = null;
}
}
}
}

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

@ -1,18 +1,19 @@
// WARNING
//
// This file has been generated automatically by Xamarin Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
// This file has been generated automatically by Xamarin Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace AirLocate
{
[Register ("RangingViewController")]
partial class RangingViewController
{
void ReleaseDesignerOutlets ()
{
}

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

@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{FBCE3A88-42CC-481E-8190-1DD5154C646D}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

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

@ -13,16 +13,16 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="9">
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="9" fixedFrame="YES">
<rect key="frame" x="0.0" y="54" width="320" height="426"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell opaque="NO" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="10">
<tableViewCell opaque="NO" contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="10" reuseIdentifier="Cell">
<rect key="frame" x="0.0" y="22" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="10" id="B3e-Jb-tuS">
<rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
@ -30,7 +30,7 @@
</tableViewCell>
</prototypes>
</tableView>
<navigationBar contentMode="scaleToFill" id="6">
<navigationBar contentMode="scaleToFill" id="6" fixedFrame="YES">
<rect key="frame" x="0.0" y="11" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<color key="barTintColor" red="0.33250752420000002" green="0.67750026299999999" blue="1" alpha="1" colorSpace="calibratedRGB"/>
@ -53,6 +53,7 @@
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="4" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="0.0" y="0.0"/>
</scene>
<!--View Controller-->
<scene sceneID="14">
@ -62,7 +63,7 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<navigationBar contentMode="scaleToFill" id="15">
<navigationBar contentMode="scaleToFill" id="15" fixedFrame="YES">
<rect key="frame" x="0.0" y="11" width="320" height="44"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
@ -77,14 +78,14 @@
</navigationItem>
</items>
</navigationBar>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="This sample demonstrates how to use application settings from the settings in the system application." lineBreakMode="wordWrap" numberOfLines="5" minimumFontSize="10" id="22">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="This sample demonstrates how to use application settings from the settings in the system application." lineBreakMode="wordWrap" numberOfLines="5" minimumFontSize="10" id="22" fixedFrame="YES">
<rect key="frame" x="20" y="70" width="280" height="86"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" lineBreakMode="wordWrap" numberOfLines="9" minimumFontSize="10" id="23">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" lineBreakMode="wordWrap" numberOfLines="9" minimumFontSize="10" id="23" fixedFrame="YES">
<rect key="frame" x="20" y="164" width="280" height="133"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<string key="text">A settings bundle (included in this project) contains the information needed by the settings system application to display the preferences and make the user to modify them. Then the values are saved in the defaults database so that your application can get them at runtime.</string>
@ -92,7 +93,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Open &quot;Settings&quot; to change the preferences values." lineBreakMode="tailTruncation" numberOfLines="2" minimumFontSize="10" id="24">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Open &quot;Settings&quot; to change the preferences values." lineBreakMode="tailTruncation" numberOfLines="2" minimumFontSize="10" id="24" fixedFrame="YES">
<rect key="frame" x="20" y="305" width="280" height="57"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
@ -113,4 +114,21 @@
<simulatedOrientationMetrics key="orientation"/>
<simulatedScreenMetrics key="destination"/>
</simulatedMetricsContainer>
<resources>
<image name="Images/Image58.png" width="58" height="58"/>
<image name="Images/Image29.png" width="29" height="29"/>
<image name="icon-29.png" width="29" height="29"/>
<image name="icon-50.png" width="50" height="50"/>
<image name="icon-58.png" width="58" height="58"/>
<image name="icon-100.png" width="100" height="100"/>
<image name="iTunesArtwork.png" width="1024" height="1024"/>
<image name="Default-568h.png" width="640" height="1136"/>
<image name="Default-Landscape.png" width="1024" height="748"/>
<image name="Default-Portrait.png" width="768" height="1004"/>
<image name="Default.png" width="320" height="480"/>
<image name="icon-57.png" width="57" height="57"/>
<image name="icon-114.png" width="114" height="114"/>
<image name="icon-144.png" width="144" height="144"/>
<image name="icon-72.png" width="72" height="72"/>
</resources>
</document>

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

@ -1,6 +1,5 @@
using System;
using System.IO;
using CoreGraphics;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;

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

@ -14,5 +14,7 @@
<string>Icon</string>
<string>Icon-72</string>
</array>
<key>CFBundleIdentifier</key>
<string>com.xamarin.AsyncDownloadImage</string>
</dict>
</plist>

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

@ -12,8 +12,8 @@ namespace tone
{
double sampleRate;
const int numBuffers = 3;
bool alternate;
private NSError error;
bool alternate = false;
NSError error;
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
@ -22,7 +22,10 @@ namespace tone
//
var session = AVAudioSession.SharedInstance();
session.SetCategory(new NSString("AVAudioSessionCategoryPlayback"), AVAudioSessionCategoryOptions.DefaultToSpeaker, out error);
if (error != null)
{
Console.WriteLine (error);
}
//
// Format description, we generate LinearPCM as short integers
//

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

@ -21,5 +21,11 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>CFBundleIdentifier</key>
<string>com.xamarin.AudioGenerator</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

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

@ -93,22 +93,22 @@
<Reference Include="System.Core" />
<Reference Include="Xamarin.iOS" />
<Reference Include="box2d">
<HintPath>..\packages\CocosSharp.PCL.Shared.1.3.1.0\lib\Xamarin.iOS10\box2d.dll</HintPath>
<HintPath>..\packages\CocosSharp.PCL.Shared.1.4.0.0\lib\Xamarin.iOS10\box2d.dll</HintPath>
</Reference>
<Reference Include="CocosSharp">
<HintPath>..\packages\CocosSharp.PCL.Shared.1.3.1.0\lib\Xamarin.iOS10\CocosSharp.dll</HintPath>
<HintPath>..\packages\CocosSharp.PCL.Shared.1.4.0.0\lib\Xamarin.iOS10\CocosSharp.dll</HintPath>
</Reference>
<Reference Include="ICSharpCode.SharpZipLib">
<HintPath>..\packages\CocosSharp.PCL.Shared.1.3.1.0\lib\Xamarin.iOS10\ICSharpCode.SharpZipLib.dll</HintPath>
<HintPath>..\packages\CocosSharp.PCL.Shared.1.4.0.0\lib\Xamarin.iOS10\ICSharpCode.SharpZipLib.dll</HintPath>
</Reference>
<Reference Include="Lidgren.Network">
<HintPath>..\packages\CocosSharp.PCL.Shared.1.3.1.0\lib\Xamarin.iOS10\Lidgren.Network.dll</HintPath>
<HintPath>..\packages\CocosSharp.PCL.Shared.1.4.0.0\lib\Xamarin.iOS10\Lidgren.Network.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>..\packages\CocosSharp.PCL.Shared.1.3.1.0\lib\Xamarin.iOS10\MonoGame.Framework.dll</HintPath>
<HintPath>..\packages\CocosSharp.PCL.Shared.1.4.0.0\lib\Xamarin.iOS10\MonoGame.Framework.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework.Net">
<HintPath>..\packages\CocosSharp.PCL.Shared.1.3.1.0\lib\Xamarin.iOS10\MonoGame.Framework.Net.dll</HintPath>
<HintPath>..\packages\CocosSharp.PCL.Shared.1.4.0.0\lib\Xamarin.iOS10\MonoGame.Framework.Net.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>

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

@ -27,5 +27,9 @@
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
</plist>

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

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CocosSharp.PCL.Shared" version="1.3.1.0" targetFramework="xamarinios10" />
<package id="CocosSharp.PCL.Shared" version="1.4.0.0" targetFramework="xamarinios10" />
</packages>

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

@ -37,10 +37,10 @@
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<ItemGroup>
<Reference Include="CocosSharp">
<HintPath>..\packages\CocosSharp.PCL.Shared.1.3.1.0\lib\portable-net40+sl50+wp8+win8+MonoAndroid10+MonoTouch10+MonoMac10\CocosSharp.dll</HintPath>
<HintPath>..\packages\CocosSharp.PCL.Shared.1.4.0.0\lib\portable-net40+sl50+wp8+win8+MonoAndroid10+MonoTouch10+MonoMac10\CocosSharp.dll</HintPath>
</Reference>
<Reference Include="MonoGame.Framework">
<HintPath>..\packages\CocosSharp.PCL.Shared.1.3.1.0\lib\portable-net40+sl50+wp8+win8+MonoAndroid10+MonoTouch10+MonoMac10\MonoGame.Framework.dll</HintPath>
<HintPath>..\packages\CocosSharp.PCL.Shared.1.4.0.0\lib\portable-net40+sl50+wp8+win8+MonoAndroid10+MonoTouch10+MonoMac10\MonoGame.Framework.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>

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

@ -8,7 +8,7 @@ namespace BouncingGame
CCLayer mainLayer;
CCSprite paddleSprite;
CCSprite ballSprite;
CCLabelTtf scoreLabel;
CCLabel scoreLabel;
float ballXVelocity;
float ballYVelocity;
@ -34,7 +34,7 @@ namespace BouncingGame
ballSprite.PositionY = 600;
mainLayer.AddChild (ballSprite);
scoreLabel = new CCLabelTtf ("Score: 0", "arial", 22);
scoreLabel = new CCLabel ("Score: 0", "arial", 22);
scoreLabel.PositionX = mainLayer.VisibleBoundsWorldspace.MinX + 20;
scoreLabel.PositionY = mainLayer.VisibleBoundsWorldspace.MaxY - 20;
scoreLabel.AnchorPoint = CCPoint.AnchorUpperLeft;

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

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CocosSharp.PCL.Shared" version="1.3.1.0" targetFramework="portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10" />
<package id="CocosSharp.PCL.Shared" version="1.4.0.0" targetFramework="portable-net45+win+wp80+MonoTouch10+MonoAndroid10+xamarinmac20+xamarinios10" />
</packages>

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

@ -27,5 +27,9 @@
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
</plist>

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

@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{86941F26-E782-43C7-9A6B-6663FCD7DCCC}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
@ -59,7 +59,7 @@
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
<CodesignKey>iPhone Developer</CodesignKey>
<MtouchArch>ARMv7, ARM64, ARM64</MtouchArch>
<MtouchArch>ARMv7, ARM64</MtouchArch>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

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

@ -21,5 +21,13 @@
</array>
<key>MinimumOSVersion</key>
<string>5.1.1</string>
<key>CFBundleDisplayName</key>
<string>BubbleCell</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.BubbleCell</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

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

@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F550B84D-C304-4413-9A05-A85832245AA5}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

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

@ -21,5 +21,13 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>CFBundleDisplayName</key>
<string>ButtonEventDemo</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.ButtonEventDemo</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

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

@ -1,6 +1,5 @@
using System;
using CoreGraphics;
using CoreGraphics;
using SpriteKit;
using UIKit;

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

@ -30,5 +30,11 @@
</array>
<key>MinimumOSVersion</key>
<string>6.0</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.Calendars</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

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

@ -25,7 +25,9 @@ namespace Calendars.Screens.CalendarList
// want to grant calendar access to the application. as such, this method
// is asynchronous and you need to pass a completion handler that will get
// called once the user has made a decision
App.Current.EventStore.RequestAccess ( entityType, (bool granted, NSError e) => { PopulateCalendarList ( granted, e ); } );
App.Current.EventStore.RequestAccess (entityType, (bool granted, NSError e) => {
PopulateCalendarList (granted, e);
});
}
/// <summary>
@ -48,14 +50,16 @@ namespace Calendars.Screens.CalendarList
// build out an MT.D list of all the calendars, we show the calendar title
// as well as the source (where the calendar is pulled from, like iCloud, local
// exchange, etc.)
calendarListRoot.Add (
new Section ( ) {
var section = new Section ();
section.AddAll (
from elements in calendars
select ( Element ) new StringElement ( elements.Title, elements.Source.Title )
}
select new StringElement (elements.Title, elements.Source.Title)
);
calendarListRoot.Add (section);
this.InvokeOnMainThread ( () => { this.Root = calendarListRoot; } );
this.InvokeOnMainThread (() => {
this.Root = calendarListRoot;
});
}
// if the user didn't grant access, show an alert
else {

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

@ -26,10 +26,11 @@ namespace Calendars.Screens.EventList
if (events == null) {
section = new Section () { new StringElement ("No calendar events") };
} else {
section = new Section () {
section = new Section ();
section.AddAll (
from items in this.events
select ( Element ) new StringElement ( items.Title )
};
select new StringElement (items.Title)
);
}
itemListRoot.Add (section);
// set our element root

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

@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{4D216178-0B44-4D5A-8C8E-006B0ED48022}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

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

@ -35,5 +35,13 @@
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>CFBundleDisplayName</key>
<string>CircleLayout</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.CircleLayout</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

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

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using CoreGraphics;
using CoreGraphics;
using Foundation;
using UIKit;

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

@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>10.0.0</ProductVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{D58FCF19-13C2-49DF-B24B-F5D4E277D62B}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

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

@ -19,5 +19,13 @@
<string>Icon-60@2x</string>
<string>Icon-Small-40@2x</string>
</array>
<key>CFBundleDisplayName</key>
<string>CollectionViewTransition</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.CollectionViewTransition</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

4
Controls/Controls/ControlsViewController.designer.cs сгенерированный
Просмотреть файл

@ -4,10 +4,10 @@
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using System;
using Foundation;
using UIKit;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace Controls
{

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

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>

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

@ -1,17 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5053" systemVersion="13C64" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="vXZ-lx-hvc">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7531" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" initialViewController="vXZ-lx-hvc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7520"/>
</dependencies>
<scenes>
<!--Controls View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
<viewController id="vXZ-lx-hvc" customClass="ControlsViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="cpo-Ic-WbB"/>
<viewControllerLayoutGuide type="bottom" id="Y0u-5M-79c"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
@ -21,7 +17,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Username" minimumFontSize="17" id="2">
@ -37,7 +33,6 @@
<string key="text">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. eu fugiat nulla pariatur. odioque civiuda.</string>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocapitalizationType="allCharacters"/>
<dataDetectorType key="dataDetectorTypes" phoneNumber="YES" link="YES" address="YES" calendarEvent="YES"/>
</textView>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="5">
<rect key="frame" x="74" y="236" width="75" height="30"/>
@ -77,7 +72,7 @@
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="button4_TouchUpInside:" destination="vXZ-lx-hvc" id="22" eventType="touchUpInside"/>
<action selector="button4_TouchUpInside:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="22"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="contactAdd" lineBreakMode="middleTruncation" id="10">
@ -108,7 +103,7 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
@ -118,23 +113,22 @@
<outlet property="Button1" destination="5" id="name-outlet-5"/>
<outlet property="Button2" destination="7" id="xIE-2P-i9x"/>
<outlet property="button3" destination="8" id="name-outlet-8"/>
<outlet property="button4" destination="9" id="name-outlet-9"/>
<outlet property="label1" destination="1" id="name-outlet-1"/>
<outlet property="slider1" destination="12" id="name-outlet-12"/>
<outlet property="sliderLabel" destination="17" id="name-outlet-17"/>
<outlet property="switch1" destination="11" id="name-outlet-11"/>
<outlet property="textfield1" destination="2" id="name-outlet-2"/>
<outlet property="textview1" destination="4" id="name-outlet-4"/>
<outlet property="slider1" destination="12" id="name-outlet-12"/>
<outlet property="button4" destination="9" id="name-outlet-9"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="0.0" y="0.0"/>
</scene>
</scenes>
<resources>
<image name="SF Monkey.jpg" width="150" height="150"/>
<image name="Default-568h.png" width="640" height="1136"/>
<image name="icon7-152.png" width="152" height="152"/>
</resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/>

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

@ -6,7 +6,6 @@ using ObjCRuntime;
using System.Collections.Generic;
using MonoTouch.Dialog;
using CoreGraphics;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;

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

@ -23,5 +23,13 @@
</array>
<key>MinimumOSVersion</key>
<string>5.1.1</string>
<key>CFBundleDisplayName</key>
<string>CoreImage</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.CoreImage</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

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

@ -55,8 +55,8 @@
<IpaPackageName>
</IpaPackageName>
<AssemblyName>Example_CoreLocation</AssemblyName>
<MtouchSdkVersion>4.0</MtouchSdkVersion>
<MtouchArch>ARMv7</MtouchArch>
<MtouchUseRefCounting>true</MtouchUseRefCounting>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>

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

@ -20,8 +20,6 @@
<string>Icon-Small-40</string>
<string>Icon-60@2x</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
<key>UIDeviceFamily</key>
@ -41,5 +39,11 @@
<string>Getting location for sample application</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.CoreLocation</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1.0</string>
</dict>
</plist>

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

@ -136,12 +136,6 @@ namespace Example_CoreLocation
ms = mainScreen;
}
[Obsolete("called for iOS5.x and earlier")]
public override void UpdatedLocation (CLLocationManager manager, CLLocation newLocation, CLLocation oldLocation)
{
MainViewController.UpdateLocation (ms, newLocation);
}
// called for iOS6 and later
public override void LocationsUpdated (CLLocationManager manager, CLLocation[] locations)
{