-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
53 lines (48 loc) · 2.06 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
---
---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<title>Objective-C to RubyMotion Converter</title>
<script src="{{site.baseurl}}/assets/javascripts/vendor.js"></script>
<script src="{{site.baseurl}}/assets/javascripts/application.js"></script>
<link href="{{site.baseurl}}/assets/stylesheets/app.css" rel="stylesheet"></link>
</head>
<body>
<h1 id="title">Objective-C to RubyMotion Converter</h1>
<div class="container-fluid">
<div class="span10 offset2 alert alert-success text-center" role="alert">
<strong>Update your bookmarks:</strong> This website has moved to <a href="https://bensheldon.github.io/objc2rubymotion/">https://bensheldon.github.io/objc2rubymotion/</a>.
</div>
</div>
<div class="row" id="converter">
<div class="objc">
<h2>Objective-C</h2>
<textarea>
UIAlertView* alert = [[[UIAlertView alloc] initWithTitle:@"Warning"
message:@"too many alerts"
delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil] autorelease];
</textarea>
</div>
<div class="rubymotion">
<h2>RubyMotion</h2>
<pre></pre>
</div>
</div>
<p id="about-converter">
<a href="https://github.com/bensheldon/objc2rubymotion">GitHub</a> •
<a href="{{site.baseurl}}/test">Features and Tests</a>
</p>
<!-- Google Analytics-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40630721-1', 'github.io');
ga('send', 'pageview');
</script>
</body>
</html>