01.02.2014 Views

Objective-C Fundamentals

Objective-C Fundamentals

Objective-C Fundamentals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

324 APPENDIX C Alternatives to <strong>Objective</strong>-C<br />

and Assembly.LoadFrom, which dynamically generate or load code from external<br />

sources, aren’t supported in MonoTouch.<br />

MonoTouch also doesn’t provide an implementation of any traditional .NET UI<br />

frameworks, such as Silverlight, WPF, or Winforms. Instead, through an <strong>Objective</strong>-C-to-<br />

.NET bridging technology, C# developers can interface to UIKit to generate UIs that<br />

have a 100% native look and feel, because they use the same controls and classes an<br />

<strong>Objective</strong>-C developer uses. This bridging technology also enables C# applications to<br />

access all functionality exposed by the iPhone SDK, such as address book, GPS, and<br />

accelerometer.<br />

A number of successful applications published via the iTunes App Store were developed<br />

in .NET-based languages and internally rely on MonoTouch-based technology. An<br />

example is Raptor Copter developed by Flashbang Studios, shown in figure C.4.<br />

MonoTouch is a commercial product that can be purchased online at http://<br />

ios.xamarin.com/. A free trial edition that’s restricted to deploying applications to the<br />

iPhone and iPad Simulators is also available. Unlike the Adobe solution for Flash,<br />

MonoTouch still requires Xcode behind the scenes and hence is a Mac-only solution.<br />

Figure C.4 iTunes App Store showing Raptor Copter, one of the first iPhone games developed using MonoTouchbased<br />

.NET technologies via the Unity3D engine

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!