Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 595fccb
Showing
917 changed files
with
66,168 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6 KB
Chapter 1 - Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/.DS_Store
Binary file not shown.
26 changes: 26 additions & 0 deletions
26
...ter 1 - Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/Example_HelloWorld_iPhone.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 10.00 | ||
# Visual Studio 2008 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example_HelloWorld_iPhone", "Example_HelloWorld_iPhone\Example_HelloWorld_iPhone.csproj", "{BBB04700-DFBE-45CF-A035-16040B0E5068}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|iPhoneSimulator = Debug|iPhoneSimulator | ||
Release|iPhoneSimulator = Release|iPhoneSimulator | ||
Debug|iPhone = Debug|iPhone | ||
Release|iPhone = Release|iPhone | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{BBB04700-DFBE-45CF-A035-16040B0E5068}.Debug|iPhone.ActiveCfg = Debug|iPhone | ||
{BBB04700-DFBE-45CF-A035-16040B0E5068}.Debug|iPhone.Build.0 = Debug|iPhone | ||
{BBB04700-DFBE-45CF-A035-16040B0E5068}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator | ||
{BBB04700-DFBE-45CF-A035-16040B0E5068}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator | ||
{BBB04700-DFBE-45CF-A035-16040B0E5068}.Release|iPhone.ActiveCfg = Release|iPhone | ||
{BBB04700-DFBE-45CF-A035-16040B0E5068}.Release|iPhone.Build.0 = Release|iPhone | ||
{BBB04700-DFBE-45CF-A035-16040B0E5068}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator | ||
{BBB04700-DFBE-45CF-A035-16040B0E5068}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator | ||
EndGlobalSection | ||
GlobalSection(MonoDevelopProperties) = preSolution | ||
StartupItem = Example_HelloWorld_iPhone\Example_HelloWorld_iPhone.csproj | ||
EndGlobalSection | ||
EndGlobal |
20 changes: 20 additions & 0 deletions
20
...- Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/Example_HelloWorld_iPhone.userprefs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<Properties> | ||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|iPhoneSimulator" ctype="Workspace" /> | ||
<MonoDevelop.Ide.Workbench ActiveDocument="Example_HelloWorld_iPhone/Main.cs" ctype="Workbench"> | ||
<Files> | ||
<File FileName="Example_HelloWorld_iPhone/Main.cs" Line="23" Column="16" /> | ||
</Files> | ||
<Pads> | ||
<Pad Id="ProjectPad"> | ||
<State expanded="True"> | ||
<Node name="Example_HelloWorld_iPhone" expanded="True" selected="True" /> | ||
</State> | ||
</Pad> | ||
</Pads> | ||
</MonoDevelop.Ide.Workbench> | ||
<MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
<BreakpointStore /> | ||
</MonoDevelop.Ide.DebuggingService.Breakpoints> | ||
<MonoDevelop.Ide.DebuggingService.PinnedWatches ctype="PinnedWatchStore" /> | ||
<MonoDevelop.Ide.ItemProperties.Example__HelloWorld__iPhone ctype="Properties" /> | ||
</Properties> |
Binary file added
BIN
+6 KB
...- Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/.DS_Store
Binary file not shown.
84 changes: 84 additions & 0 deletions
84
...hone/Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/Example_HelloWorld_iPhone.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform> | ||
<ProductVersion>9.0.21022</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{BBB04700-DFBE-45CF-A035-16040B0E5068}</ProjectGuid> | ||
<ProjectTypeGuids>{E613F3A2-FE9C-494F-B74E-F63BCB86FEA6};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<OutputType>Exe</OutputType> | ||
<RootNamespace>Example_HelloWorld_iPhone</RootNamespace> | ||
<AssemblyName>Example_HelloWorld_iPhone</AssemblyName> | ||
<MtouchSdkVersion>3.0</MtouchSdkVersion> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
<MainNibFile>MainWindow.xib</MainNibFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\iPhoneSimulator\Debug</OutputPath> | ||
<DefineConstants>DEBUG</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<MtouchLink>None</MtouchLink> | ||
<MtouchDebug>True</MtouchDebug> | ||
<MtouchI18n /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' "> | ||
<DebugType>none</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\iPhoneSimulator\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<MtouchDebug>False</MtouchDebug> | ||
<MtouchLink>None</MtouchLink> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\iPhone\Debug</OutputPath> | ||
<DefineConstants>DEBUG</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<CodesignKey>iPhone Developer</CodesignKey> | ||
<MtouchDebug>True</MtouchDebug> | ||
<MtouchI18n /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' "> | ||
<DebugType>none</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\iPhone\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<MtouchDebug>False</MtouchDebug> | ||
<CodesignKey>iPhone Developer</CodesignKey> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="monotouch" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="MainWindow.xib.designer.cs"> | ||
<DependentUpon>MainWindow.xib</DependentUpon> | ||
</Compile> | ||
<Compile Include="Main.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Page Include="MainWindow.xib" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
<ProjectExtensions> | ||
<MonoDevelop> | ||
<Properties InternalTargetFrameworkVersion="IPhone" /> | ||
</MonoDevelop> | ||
</ProjectExtensions> | ||
</Project> |
Binary file added
BIN
+6.64 KB
...iPhone/Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/Example_HelloWorld_iPhone.pidb
Binary file not shown.
57 changes: 57 additions & 0 deletions
57
...1 - Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/Example_HelloWorld_iPhone/Main.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using MonoTouch.Foundation; | ||
using MonoTouch.UIKit; | ||
|
||
namespace Example_HelloWorld_iPhone | ||
{ | ||
public class Application | ||
{ | ||
static void Main (string[] args) | ||
{ | ||
UIApplication.Main (args); | ||
} | ||
} | ||
|
||
// The name AppDelegate is referenced in the MainWindow.xib file. | ||
public partial class AppDelegate : UIApplicationDelegate | ||
{ | ||
//---- number of times we've clicked | ||
protected int _numberOfClicks; | ||
|
||
// This method is invoked when the application has loaded its UI and its ready to run | ||
public override bool FinishedLaunching (UIApplication app, NSDictionary options) | ||
{ | ||
// If you have defined a view, add it here: | ||
// window.AddSubview (navigationController.View); | ||
|
||
window.MakeKeyAndVisible (); | ||
|
||
//---- wire up our event handler | ||
this.btnClickMe.TouchUpInside += BtnClickMeTouchUpInside; | ||
|
||
return true; | ||
} | ||
|
||
partial void actnButtonClick (UIButton sender) | ||
{ | ||
//---- show which button was clicked | ||
this.lblResult.Text = sender.CurrentTitle + " Clicked"; | ||
} | ||
|
||
protected void BtnClickMeTouchUpInside (object sender, EventArgs e) | ||
{ | ||
//---- increment our counter | ||
this._numberOfClicks++; | ||
//---- update our label | ||
this.lblResult.Text = "Hello World, [" + this._numberOfClicks.ToString () + "] times"; | ||
} | ||
|
||
// This method is required in iPhoneOS 3.0 | ||
public override void OnActivated (UIApplication application) | ||
{ | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.