-
Notifications
You must be signed in to change notification settings - Fork 83
/
index.html
165 lines (135 loc) · 8.93 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!doctype html>
<head>
<title>RubyMotion Tutorial: Make iOS Apps With Ruby</title>
<meta name="description" content="Learn to make iOS apps in Ruby with The RubyMotion Tutorial by Clay Allsopp." />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="keywords" content="Learn Ruby RubyMotion iOS Apps tutorial sdk beginner" />
<meta name="author" content="Clay Allsopp" />
<meta property="og:title" content="RubyMotion Tutorial: Write iOS apps in Ruby" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://rubymotion-tutorial.com/" />
<meta property="og:image" content="http://i.imgur.com/mndCd.png" />
<meta property="og:site_name" content="RubyMotion Tutorial" />
<meta property="og:description" content="Learn to write iOS apps in Ruby.">
<meta property="fb:admins" content="1398782310" />
<meta property="fb:app_id" content="340990539314215" />
<meta name=viewport content="width=device-width, initial-scale=1.0,maximum-scale = 1.0">
<link rel=stylesheet href='http://clayallsopp.github.io/rubymotion-tutorial/css/bootstrap.min.css'>
<link rel=stylesheet href='http://clayallsopp.github.io/rubymotion-tutorial/css/bootstrap-responsive.min.css'>
<link rel=stylesheet href='http://clayallsopp.github.io/rubymotion-tutorial/css/patch.css'>
<link rel=stylesheet href='http://clayallsopp.github.io/rubymotion-tutorial/css/index.css'>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33404343-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<a id="fork-me" href="https://github.com/clayallsopp/rubymotion-tutorial" target="_blank">Fork me on GitHub</a>
<div class="container">
<header class="row animate-links" id="header" role="banner">
<hr id="last" />
</header>
<section class="row" role="main">
<div class="hero-unit">
<h1 class="centered" id="the-rubymotion">RubyMotion Tutorial</h1><p class="centered">Make iOS Apps With Ruby</p>
<h1 class="centered" id="by-me"><small>by Clay Allsopp <a href="https://twitter.com/clayallsopp" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @clayallsopp</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></small></h1>
</div>
<p class="about"><a href="http://rubymotion.com" target="_blank">RubyMotion</a> is a tool that allows you to <strong>write iOS apps in Ruby</strong>. Apple-platform software has historically been limited to using Objective-C, a great but otherwise niche language. RubyMotion allows a completely native and performant alternative: Ruby.</p>
<p class="about">The <strong>RubyMotion Tutorial</strong> will teach you the essential topics of the iOS SDK using idiomatic Ruby whenever possible. It doesn't cover everything, but it will get you on the path to making elegant apps as quickly as possible.</p>
<div class="well well-book">
<a href="http://pragprog.com/book/carubym/rubymotion"><img src="http://imagery.pragprog.com/products/328/carubym_xlargecover.jpg?1355157272" /></a>
<h2 id="book-header">Dive Deeper with <a href="http://pragprog.com/book/carubym/rubymotion"><em>RubyMotion</em></a></h2>
<p>The RubyMotion Tutorial covers only the very basics of iOS development, so you should also consider reading the <a href="http://pragprog.com/book/carubym/rubymotion"><em>RubyMotion</em> book</a>. You'll find expanded content in every chapter, completely new and useful examples, and information more up-to-date with RubyMotion than this tutorial.</p>
<p><em><strong>"Looking for the best way to get started with RubyMotion? Read this book."</strong></em> — Laurent Sansonetti, lead developer of RubyMotion and founder of HipByte</p>
<div style="clear: both;"></div>
</div>
<hr />
<h2>Table Of Contents</h2>
<ul class="contents nav nav-list">
<li>
<a href="/0-in-motion">
<div><span> Prologue - In Motion </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/1-hello-motion">
<div><span> Hello Motion </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/2-views">
<div><span> Views </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/3-controllers">
<div><span> Controllers </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/4-containers">
<div><span> Containers </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/5-tables">
<div><span> Tables </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/6-animations">
<div><span> Animations </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/7-models">
<div><span> Models </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/8-testing">
<div><span> Testing </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/9-http">
<div><span> HTTP </span><i class="icon-chevron-right"></i></div>
</a>
</li>
<li>
<a href="/10-api-driven-example">
<div><span> An API-Driven Example </span><i class="icon-chevron-right"></i></div>
</a>
</li>
</ul>
<div class="well">
<h2 id="about-me-header">About The Author <a href="https://twitter.com/clayallsopp" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @clayallsopp</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></h2>
<p>Clay Allsopp is a mobile hacker. He is the creator of several <a href="https://github.com/clayallsopp/formotion" target="_blank">popular</a> <a href="https://github.com/clayallsopp/remote_model" target="_blank">RubyMotion</a> <a href="https://github.com/clayallsopp/Routable" target="_blank">projects</a> and is also a maintainer of <a href="http://bubblewrap.io/" target="_blank">BubbleWrap</a>, the most widely used RubyMotion library. A <a href="http://20under20.org" target="_blank">Thiel Fellow</a>, Clay was previously an early member of the <a href="http://discovercircle.com" target="_blank">Circle</a> team, contributing to their gorgeous iOS and Android apps.</p>
<p>But all that stuff aside, I wrote this because I believe RubyMotion is a great way to get started writing iOS software. It's not for everyone, but it definitely lowers the barrier to entry for many on-the-fence developers. If that sounds like you, I hope you read this and take the dive.</p>
</div>
<hr />
<h2>Like it?<small id="spread"> Spread the word</small></h2>
<div id="social">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://rubymotion-tutorial.com" data-size="large" data-related="clayallsopp" data-count="none">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<iframe id="facebook-like" src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Frubymotion-tutorial.com&send=false&layout=standard&width=480&show_faces=false&action=like&colorscheme=light&font&height=35&appId=340990539314215" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
</div>
<hr />
</section>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src='http://clayallsopp.github.io/rubymotion-tutorial/js/superlink.jquery.js' type="text/javascript"></script>
<script src='http://clayallsopp.github.io/rubymotion-tutorial/js/bootstrap.min.js' type="text/javascript"></script>
<script src='http://clayallsopp.github.io/rubymotion-tutorial/js/splash.js' type="text/javascript"></script>
</body>
</html>