Skip to content

Commit

Permalink
[iOS] Added ES11 sample
Browse files Browse the repository at this point in the history
  • Loading branch information
thefiddler committed May 24, 2014
1 parent 1d47dc6 commit 83d150b
Show file tree
Hide file tree
Showing 13 changed files with 789 additions and 1 deletion.
61 changes: 60 additions & 1 deletion Projects/OpenTK.iOS/OpenTK.iOS.sln
Expand Up @@ -3,18 +3,77 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenTK.iOS", "OpenTK.iOS\OpenTK.iOS.csproj", "{88368190-E3DF-4EBE-ACAA-7B1779F376CA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{35FBBDFF-CD76-4452-A22E-7EE5A4B64A7D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ES11", "Samples\ES11\ES11.csproj", "{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generator.Rewrite", "..\..\Source\Generator.Rewrite\Generator.Rewrite.csproj", "{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Debug|iPhoneSimulator = Debug|iPhoneSimulator
Release|iPhoneSimulator = Release|iPhoneSimulator
Debug|iPhone = Debug|iPhone
Release|iPhone = Release|iPhone
Ad-Hoc|iPhone = Ad-Hoc|iPhone
AppStore|iPhone = AppStore|iPhone
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Ad-Hoc|iPhone.ActiveCfg = Ad-Hoc|iPhone
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Ad-Hoc|iPhone.Build.0 = Ad-Hoc|iPhone
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.AppStore|iPhone.ActiveCfg = AppStore|iPhone
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.AppStore|iPhone.Build.0 = AppStore|iPhone
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Debug|iPhone.ActiveCfg = Debug|iPhone
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Debug|iPhone.Build.0 = Debug|iPhone
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Release|Any CPU.Build.0 = Release|iPhoneSimulator
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Release|iPhone.ActiveCfg = Release|iPhone
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Release|iPhone.Build.0 = Release|iPhone
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.AppStore|iPhone.Build.0 = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Debug|iPhone.Build.0 = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Release|Any CPU.Build.0 = Release|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Release|iPhone.ActiveCfg = Release|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Release|iPhone.Build.0 = Release|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{88368190-E3DF-4EBE-ACAA-7B1779F376CA}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.AppStore|iPhone.Build.0 = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Debug|iPhone.Build.0 = Debug|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Release|Any CPU.Build.0 = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Release|iPhone.ActiveCfg = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Release|iPhone.Build.0 = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{C426C9D1-8857-4E52-BAC7-4C05EE6070AB}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{7848ED9E-A937-4FDA-96DC-3B5B0EA27C59} = {35FBBDFF-CD76-4452-A22E-7EE5A4B64A7D}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = OpenTK.iOS\OpenTK.iOS.csproj
StartupItem = Samples\ES11\ES11.csproj
EndGlobalSection
EndGlobal
42 changes: 42 additions & 0 deletions Projects/OpenTK.iOS/Samples/ES11/AppDelegate.cs
@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace ES11
{

// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to
// application events from iOS.
[Register("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
// class-level declarations
public override UIWindow Window
{
get;
set;
}
// This method is invoked when the application is about to move from active to inactive state.
// OpenGL applications should use this method to pause.
public override void OnResignActivation(UIApplication application)
{
}
// This method should be used to release shared resources and it should store the application state.
// If your application supports background exection this method is called instead of WillTerminate
// when the user quits.
public override void DidEnterBackground(UIApplication application)
{
}
// This method is called as part of the transiton from background to active state.
public override void WillEnterForeground(UIApplication application)
{
}
// This method is called when the application is about to terminate. Save data, if needed.
public override void WillTerminate(UIApplication application)
{
}
}
}

0 comments on commit 83d150b

Please sign in to comment.