Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merged Dev Branch

  • Loading branch information...
commit e998c34149606109f7d425bc9f8fa88d000794b6 2 parents b906108 + 6ee172f
@probablycorey authored
Showing with 4,472 additions and 3,546 deletions.
  1. +1 −0  .gitignore
  2. +18 −38 README.md
  3. +1 −1  bin/hammer
  4. +2 −2 bin/update-xibs
  5. +93 −43 examples/IBExample/BlueView.xib
  6. +18 −0 examples/IBExample/Classes/IBExampleAppDelegate.h
  7. +27 −0 examples/IBExample/Classes/IBExampleAppDelegate.m
  8. +0 −71 examples/IBExample/Classes/WaxTextField.h
  9. +0 −8 examples/IBExample/Entitlements.plist
  10. +3 −3 examples/IBExample/IBExample-Info.plist
  11. +57 −132 examples/IBExample/IBExample.xcodeproj/project.pbxproj
  12. +262 −0 examples/IBExample/MainWindow.xib
  13. +68 −60 examples/IBExample/OrangeView.xib
  14. +0 −1  examples/IBExample/Rakefile
  15. +1 −0  examples/IBExample/Rakefile
  16. +0 −18 examples/IBExample/data/scripts/AppDelegate.lua
  17. +0 −23 examples/IBExample/data/scripts/BlueController.lua
  18. +0 −34 examples/IBExample/data/scripts/OrangeController.lua
  19. +0 −7 examples/IBExample/data/scripts/tests/init.lua
  20. +4 −17 examples/IBExample/main.m
  21. +24 −0 examples/IBExample/scripts/BlueController.lua
  22. +23 −0 examples/IBExample/scripts/OrangeController.lua
  23. +29 −0 examples/IBExample/scripts/init.lua
  24. 0  examples/{States/data → IBExample}/scripts/tests/init.lua
  25. +1 −1  examples/{IBExample → States (without wax.framework)}/Classes/ProtocolLoader.h
  26. 0  examples/{States → States (without wax.framework)}/Entitlements.plist
  27. 0  examples/{IBExample → States (without wax.framework)}/Icon.png
  28. 0  examples/{States → States (without wax.framework)}/Rakefile
  29. 0  tools/Framework/libwax-Info.plist → examples/States (without wax.framework)/States-Info.plist
  30. +730 −0 examples/States (without wax.framework)/States.xcodeproj/project.pbxproj
  31. +1 −1  tools/Framework/libwax_Prefix.pch → examples/States (without wax.framework)/States_Prefix.pch
  32. +27 −0 examples/States (without wax.framework)/main.m
  33. 0  examples/{States/data → States (without wax.framework)}/scripts/AppDelegate.lua
  34. 0  examples/{States/data → States (without wax.framework)}/scripts/CapitalsTable.lua
  35. +4 −1 examples/{States/data → States (without wax.framework)}/scripts/StatesTable.lua
  36. 0  examples/{States/data → States (without wax.framework)}/states.plist
  37. +1 −0  examples/States (without wax.framework)/wax/bin
  38. +1 −0  examples/States (without wax.framework)/wax/lib
  39. +0 −12 examples/States/Classes/ProtocolLoader.h
  40. +0 −71 examples/States/Classes/WaxTextField.h
  41. +2 −4 examples/States/States-Info.plist
  42. +41 −658 examples/States/States.xcodeproj/project.pbxproj
  43. +7 −14 examples/States/main.m
  44. +17 −0 examples/States/scripts/AppDelegate.lua
  45. +36 −0 examples/States/scripts/CapitalsTable.lua
  46. +50 −0 examples/States/scripts/StatesTable.lua
  47. +606 −0 examples/States/states.plist
  48. +1 −1  examples/TwitterApp/Classes/ProtocolLoader.h
  49. +0 −71 examples/TwitterApp/Classes/WaxTextField.h
  50. +409 −549 examples/TwitterApp/TwitterApp.xcodeproj/project.pbxproj
  51. +3 −6 examples/TwitterApp/main.m
  52. 0  examples/TwitterApp/{data → }/scripts/AppDelegate.lua
  53. 0  examples/TwitterApp/{data → }/scripts/TwitterTableViewController.lua
  54. +1 −0  examples/TwitterApp/wax/bin
  55. +3 −25 framework/README.md
  56. +14 −0 lib/build-scripts/compile-stdlib.sh
  57. +40 −24 lib/build-scripts/copy-scripts.sh
  58. +19 −12 lib/build-scripts/luac.lua
  59. +11 −38 lib/extensions/HTTP/wax_http.m
  60. +2 −0  lib/extensions/HTTP/wax_http_connection.h
  61. +50 −1 lib/extensions/HTTP/wax_http_connection.m
  62. +3 −4 lib/extensions/filesystem/wax_filesystem.m
  63. +2 −1  lib/extensions/xml/wax_xml.h
  64. +2 −2 lib/extensions/xml/wax_xml.m
  65. +4 −4 lib/lua/luaconf.h
  66. +4 −3 lib/project.rake
  67. +21 −0 lib/{wax-scripts → stdlib}/enums.lua
  68. 0  lib/{wax-scripts → stdlib}/ext/http.lua
  69. 0  lib/{wax-scripts → stdlib}/ext/init.lua
  70. 0  lib/{wax-scripts → stdlib}/ext/number.lua
  71. 0  lib/{wax-scripts → stdlib}/ext/string.lua
  72. 0  lib/{wax-scripts → stdlib}/ext/table.lua
  73. 0  lib/{wax-scripts → stdlib}/helpers/WaxServer.lua
  74. +10 −0 lib/stdlib/helpers/autoload.lua
  75. 0  lib/{wax-scripts → stdlib}/helpers/base64.lua
  76. 0  lib/{wax-scripts → stdlib}/helpers/bit.lua
  77. 0  lib/{wax-scripts → stdlib}/helpers/cache.lua
  78. 0  lib/{wax-scripts → stdlib}/helpers/callback.lua
  79. 0  lib/{wax-scripts → stdlib}/helpers/frame.lua
  80. 0  lib/{wax-scripts → stdlib}/helpers/init.lua
  81. 0  lib/{wax-scripts → stdlib}/helpers/time.lua
  82. +5 −1 lib/{wax-scripts → stdlib}/init.lua
  83. 0  lib/{wax-scripts → stdlib}/luaspec/init.lua
  84. 0  lib/{wax-scripts → stdlib}/luaspec/luamock.lua
  85. 0  lib/{wax-scripts → stdlib}/luaspec/luaspec.lua
  86. 0  lib/{wax-scripts → stdlib}/repl.lua
  87. 0  lib/{wax-scripts → stdlib}/structs.lua
  88. 0  lib/{wax-scripts → stdlib}/waxClass.lua
  89. +0 −10 lib/wax-scripts/helpers/autoload.lua
  90. +3 −9 lib/wax.h
  91. +52 −35 lib/wax.m
  92. +13 −13 lib/wax_class.m
  93. +5 −3 lib/wax_helpers.h
  94. +8 −2 lib/wax_helpers.m
  95. +7 −9 lib/wax_instance.m
  96. +0 −4 lib/wax_server.h
  97. +1 −0  lib/wax_stdlib.h
  98. +0 −71 tools/Framework/Classes/WaxTextField.h
  99. +687 −0 tools/Framework/Framework.xcodeproj/project.pbxproj
  100. +7 −0 tools/Framework/Framework_Prefix.pch
  101. +1 −1  tools/Framework/{Classes → }/ProtocolLoader.h
  102. +2 −2 tools/Framework/Scripts/build
  103. +4 −1 tools/Framework/Scripts/package
  104. +157 −0 tools/Framework/done/bin/hammer
  105. +131 −0 tools/Framework/done/bin/update-xibs
  106. BIN  tools/Framework/done/bin/waxsim
  107. +0 −830 tools/Framework/libwax.xcodeproj/project.pbxproj
  108. +1 −0  tools/Framework/wax/bin
  109. +0 −12 tools/Tests/TEXTMATE
  110. +9 −26 tools/Tests/Tests.tmproj
  111. +16 −6 tools/Tests/Tests.xcodeproj/project.pbxproj
  112. +0 −120 tools/Tests/data/scripts/tests/classTest.lua
  113. +1 −2  tools/Tests/main.m
  114. 0  tools/Tests/{data → }/scripts/AppDelegate.lua
  115. +157 −0 tools/Tests/scripts/tests/classTest.lua
  116. +4 −0 tools/Tests/{data → }/scripts/tests/fixtures/Bambi.lua
  117. +12 −0 tools/Tests/{data → }/scripts/tests/fixtures/Deer.lua
  118. 0  tools/Tests/{data → }/scripts/tests/fixtures/ExtendedSimpleObject.lua
  119. 0  tools/Tests/{data → }/scripts/tests/fixtures/ProtocolSimpleObject.lua
  120. 0  tools/Tests/{data → }/scripts/tests/gcTest.lua
  121. 0  tools/Tests/{data → }/scripts/tests/init.lua
  122. 0  tools/Tests/{data → }/scripts/tests/instanceTest.lua
  123. 0  tools/Tests/{data → }/scripts/tests/jsonTest.lua
  124. 0  tools/Tests/{data → }/scripts/tests/objcToLuaTest.lua
  125. 0  tools/Tests/{data → }/scripts/tests/protocolTest.lua
  126. 0  tools/Tests/{data → }/scripts/tests/structTest.lua
  127. 0  tools/Tests/{data → }/scripts/tests/xmlTest.lua
  128. +1 −1  xcode-template/Classes/ProtocolLoader.h
  129. +1 −1  xcode-template/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
  130. +423 −419 xcode-template/___PROJECTNAME___.xcodeproj/project.pbxproj
  131. +1 −3 xcode-template/main.m
  132. +9 −4 xcode-template/{data → }/scripts/AppDelegate.lua
  133. 0  xcode-template/{data → }/scripts/tests/init.lua
  134. 0  xcode-template/{data → }/scripts/tests/someTest.lua
View
1  .gitignore
@@ -2,3 +2,4 @@ build/
*.pbxuser
*.perspectivev3
wax.framework
+lib/wax_stdlib.h
View
56 README.md
@@ -1,31 +1,21 @@
-Wax
-===
+Wax is a framework that lets you write native iPhone apps in
+[Lua](http://www.lua.org/about.html). It bridges Objective-C and Lua using the
+Objective-C runtime. With Wax, **anything** you can do in Objective-C is **automatically**
+available in Lua! What are you waiting for, give it a shot!
-Wax is a framework that lets you write iPhone apps in [Lua](http://www.lua.org/about.html). It bridges Objective-C and Lua using the Objective-C runtime. With Wax, anything you can do in Objective-C is **automatically** available in Lua! What are you waiting for, give it a shot!
+Why write iPhone apps in Lua?
+---------------------------------------
-Setup
------
+I love writing iPhone apps, but would rather write them in a dynamic language than in Objective-C. Here
+are some reasons why many people prefer Lua + Wax over Objective-C...
-1. Clone wax [http://github.com/probablycorey/wax/](http://github.com/probablycorey/wax/)
+* Automatic Garbage Collection! Gone are the days of alloc, retain, and release.
-2. From the command line, **cd** into wax folder created above and type **rake install**. This will install an xcode project template.
+* Less Code! No more header files, no more static types, array and dictionary literals!
+ Lua enables you to get more power out of less lines of code.
-3. Open up xcode and create a new **Wax** project, it should be located under the **User Tempates** section.
-
-4. Build and Run! You've got lua running on the iPhone!
-
-5. Start editing **wax/data/scripts/AppDelegate.lua** to make your app!
-
-Why?
-----
-
-I love writing iPhone apps, but would rather write them in a dynamic language than in Objective-C. Here are some reasons why many people prefer Lua + Wax over Objective-C...
-
-* Automatic Garbage Collection! Gone are the days of release and autorelease.
-
-* Less Code! No more header files, no more static types, array and dictionary literals! Lua enables you to get more power out of less lines of code.
-
-* Access to every Cocoa, UITouch, Foundation, etc.. framework, if it's written in Objective-C, Wax exposes it to Lua automatically. All the frameworks you love are all available to you!
+* Access to every Cocoa, UITouch, Foundation, etc.. framework, if it's written in Objective-C,
+ Wax exposes it to Lua automatically. All the frameworks you love are all available to you!
* Super easy HTTP requests. Interacting with a REST webservice has never been eaiser
@@ -33,9 +23,6 @@ I love writing iPhone apps, but would rather write them in a dynamic language th
* Lua has a build in Regex-like pattern matching library.
-
-You get all of this with Lua, with no downside!
-
Examples
--------
@@ -105,14 +92,14 @@ Since Wax converts NSString, NSArray, NSDictionary and NSNumber to native Lua va
local size = toobjc(testString):sizeWithFont(bigFont)
puts(size)
-Tutorials
----------
+Setup & Tutorials
+-----------------
-[Setting up iPhone wax](http://probablyinteractive.com/2009/10/18/Setting-up-iPhone-Wax.html)
+[Setting up Wax](https://github.com/probablycorey/wax/wiki/Installation)
-[How does iPhone Wax work?](http://probablyinteractive.com/2009/10/19/How-does-iPhone-Wax-work.html)
+[How does Wax work?](https://github.com/probablycorey/wax/wiki/Overview)
-[Twitter client in Wax](http://probablyinteractive.com/2009/10/20/Wax-talks-to-twitter.html)
+[Simple Twitter client in Wax](https://github.com/probablycorey/wax/wiki/Twitter)
Which API's are included?
-------------------------
@@ -123,13 +110,6 @@ Created By
----------
Corey Johnson (probablycorey at gmail dot com)
-Acknowledgements
-----------------
-
-[Aman Gupta](http://github.com/tmm1): For adding YAJL JSON support.
-
-[Apple](http://www.apple.com/iphone/): For creating such an awesome development platform.
-
More
----
* [Feature Requests? Bugs?](http://github.com/probablycorey/wax/issues) - Issue tracking and release planning.
View
2  bin/hammer
@@ -114,7 +114,7 @@ class Hammer
def self.headless
return if not @should_run_headless
if ENV["PLATFORM_NAME"] !~ /simulator/
- puts "Can only run tests on the simulator not #{ENV["PLATFORM_NAME"]}"
+ puts "Can only be run on the simulator not #{ENV["PLATFORM_NAME"]}"
exit 1
end
View
4 bin/update-xibs
@@ -4,7 +4,7 @@ require 'rubygems'
require 'xml'
require 'erb'
-PROJECT_DIR = File.expand_path("../../..", __FILE__)
+PROJECT_DIR = Dir.pwd
XML.indent_tree_output = true
XML.default_tree_indent_string = "\t"
@@ -15,7 +15,7 @@ class LuaClass
attr :actions
def self.all
- lua_files = Dir["#{PROJECT_DIR}/data/**/*.lua"]
+ lua_files = Dir["#{PROJECT_DIR}/**/*.lua"]
lua_files.map {|f| parse(open(f).read)}.compact
end
View
136 examples/IBExample/BlueView.xib
@@ -1,18 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
- <int key="IBDocument.SystemTarget">768</int>
- <string key="IBDocument.SystemVersion">10C540</string>
- <string key="IBDocument.InterfaceBuilderVersion">740</string>
- <string key="IBDocument.AppKitVersion">1038.25</string>
- <string key="IBDocument.HIToolboxVersion">458.00</string>
+ <int key="IBDocument.SystemTarget">1056</int>
+ <string key="IBDocument.SystemVersion">10H574</string>
+ <string key="IBDocument.InterfaceBuilderVersion">823</string>
+ <string key="IBDocument.AppKitVersion">1038.35</string>
+ <string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">62</string>
+ <string key="NS.object.0">132</string>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="1"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -31,9 +30,11 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBProxyObject" id="372490531">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="975951072">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIView" id="191373211">
<reference key="NSNextResponder"/>
@@ -45,6 +46,7 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 45}, {280, 37}}</string>
<reference key="NSSuperview" ref="191373211"/>
+ <reference key="NSWindow"/>
<object class="NSColor" key="IBUIBackgroundColor" id="563072086">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MCAwAA</bytes>
@@ -52,6 +54,7 @@
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<int key="IBUITag">1</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<object class="NSFont" key="IBUIFont">
@@ -79,11 +82,13 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 125}, {280, 193}}</string>
<reference key="NSSuperview" ref="191373211"/>
+ <reference key="NSWindow"/>
<reference key="IBUIBackgroundColor" ref="563072086"/>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUITag">2</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string type="base64-UTF8" key="IBUIText">RmlsZSdzIE93bmVyIGlzIHNldCB0byBnZW5lcmljICdVSVZpZXdDb250cm9sbGVyJwoKVGFncyBhcmUg
c2V0IHVzaW5nIHRoZSBJbnNwZWN0aW9uIHdpbmRvdy4gVGhpcyB0ZXh0Ym94IGhhcyBhIHRhZyBvZiAy
LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
@@ -103,13 +108,14 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<int key="IBUITextAlignment">1</int>
</object>
</object>
- <string key="NSFrameSize">{320, 460}</string>
+ <string key="NSFrameSize">{320, 480}</string>
<reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC40MDAwMDAwMDYgMC44MDAwMDAwMTE5IDEAA</bytes>
</object>
- <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
@@ -121,7 +127,24 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="191373211"/>
</object>
- <int key="connectionID">6</int>
+ <int key="connectionID">8</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">textField</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="848650548"/>
+ </object>
+ <int key="connectionID">9</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">buttonTouched:</string>
+ <reference key="source" ref="504711114"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
+ </object>
+ <int key="connectionID">10</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
@@ -179,9 +202,9 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>UIViewController</string>
+ <string>BlueController</string>
<string>UIResponder</string>
- <string>{{354, 412}, {320, 480}}</string>
+ <string>{{575, 427}, {320, 480}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -203,9 +226,42 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">6</int>
+ <int key="maxID">10</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">BlueController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="NSMutableDictionary" key="actions">
+ <string key="NS.key.0">buttonTouched:</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <string key="NS.key.0">buttonTouched:</string>
+ <object class="IBActionInfo" key="NS.object.0">
+ <string key="name">buttonTouched:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">textField</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">textField</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">textField</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ </object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
@@ -247,13 +303,6 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSNetServices.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
</object>
</object>
@@ -261,13 +310,6 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSPort.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
</object>
</object>
@@ -275,13 +317,6 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSStream.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
</object>
</object>
@@ -303,13 +338,6 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSXMLParser.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
</object>
</object>
@@ -376,6 +404,13 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<string key="className">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
</object>
</object>
@@ -398,6 +433,20 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
</object>
</object>
@@ -412,9 +461,10 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
- <integer value="768" key="NS.object.0"/>
+ <integer value="1056" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
@@ -423,6 +473,6 @@ LCB0aGUgYnV0dG9uJ3MgdGFnIGlzIDEuA</string>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">IBExample.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">3.1</string>
+ <string key="IBCocoaTouchPluginVersion">132</string>
</data>
</archive>
View
18 examples/IBExample/Classes/IBExampleAppDelegate.h
@@ -0,0 +1,18 @@
+//
+// IBExampleAppDelegate.h
+// IBExample
+//
+// Created by Corey on 1/3/11.
+// Copyright 2011 me. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface IBExampleAppDelegate : NSObject <UIApplicationDelegate> {
+ UIWindow *window;
+}
+
+@property (nonatomic, retain) IBOutlet UIWindow *window;
+
+@end
+
View
27 examples/IBExample/Classes/IBExampleAppDelegate.m
@@ -0,0 +1,27 @@
+//
+// IBExampleAppDelegate.m
+// IBExample
+//
+// Created by Corey on 1/3/11.
+// Copyright 2011 me. All rights reserved.
+//
+
+#import "IBExampleAppDelegate.h"
+#import "wax/wax.h"
+
+@implementation IBExampleAppDelegate
+
+@synthesize window;
+
+- (void)dealloc {
+ [window release];
+ [super dealloc];
+}
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+ [self.window makeKeyAndVisible];
+ wax_start("init.lua", nil);
+ return YES;
+}
+
+@end
View
71 examples/IBExample/Classes/WaxTextField.h
@@ -1,71 +0,0 @@
-// UITextInputTraits are inaccessable via the runtime (not sure why).
-// This is a hack to access them via wax
-
-#import <Foundation/Foundation.h>
-
-@interface WaxTextField : UITextField {}
-
-@end
-
-@implementation WaxTextField
-- (UITextAutocapitalizationType)autocapitalizationType {
- return [super autocapitalizationType];
-}
-
-- (void)setAutocapitalizationType:(UITextAutocapitalizationType)value {
- return [super setAutocapitalizationType:value];
-}
-
-
-- (void)autocorrectionType:(UITextAutocorrectionType)value {
- [super autocorrectionType];
-}
-
-- (void)setAutocorrectionType:(UITextAutocorrectionType)value {
- [super setAutocorrectionType:value];
-}
-
-
-- (UIKeyboardType)keyboardType {
- return [super keyboardType];
-}
-
-- (void)setKeyboardType:(UIKeyboardType)value {
- [super setKeyboardType:value];
-}
-
-- (UIKeyboardAppearance)keyboardAppearance {
- return [super keyboardAppearance];
-}
-
-- (void)setKeyboardAppearance:(UIKeyboardAppearance)value {
- [super setKeyboardAppearance:value];
-}
-
-
-- (UIReturnKeyType)returnKeyType {
- return [super returnKeyType];
-}
-
-- (void)setReturnKeyType:(UIReturnKeyType)value {
- [super setReturnKeyType:value];
-}
-
-
-- (BOOL)enablesReturnKeyAutomatically {
- return [super enablesReturnKeyAutomatically];
-}
-
-- (void)setEnablesReturnKeyAutomatically:(BOOL)value {
- [super setEnablesReturnKeyAutomatically:value];
-}
-
-- (BOOL)isSecureTextEntry {
- return [super isSecureTextEntry];
-}
-
-- (void)setSecureTextEntry:(BOOL)value {
- [super setSecureTextEntry:value];
-}
-
-@end
View
8 examples/IBExample/Entitlements.plist
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>get-task-allow</key>
- <false/>
-</dict>
-</plist>
View
6 examples/IBExample/IBExample-Info.plist
@@ -6,12 +6,10 @@
<string>English</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
- <key>CFBundleDocumentTypes</key>
- <array/>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
- <string>Icon.png</string>
+ <string></string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
@@ -26,5 +24,7 @@
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
+ <key>NSMainNibFile</key>
+ <string>MainWindow</string>
</dict>
</plist>
View
189 examples/IBExample/IBExample.xcodeproj/project.pbxproj
@@ -7,49 +7,37 @@
objects = {
/* Begin PBXBuildFile section */
- 0413C4A41201DE830069C579 /* wax.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0413C4A31201DE830069C579 /* wax.framework */; };
- 0422EC721135DFE6007F6343 /* libxml2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 0422EC711135DFE6007F6343 /* libxml2.dylib */; };
- 04DC160F114708B7009D71CC /* OrangeView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 04DC160E114708B7009D71CC /* OrangeView.xib */; };
- 04DC1611114708BF009D71CC /* BlueView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 04DC1610114708BF009D71CC /* BlueView.xib */; };
+ 0444900512D253C800E8D955 /* wax.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0444900412D253C800E8D955 /* wax.framework */; };
+ 0444901F12D2543B00E8D955 /* BlueView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0444901D12D2543B00E8D955 /* BlueView.xib */; };
+ 0444902012D2543B00E8D955 /* OrangeView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0444901E12D2543B00E8D955 /* OrangeView.xib */; };
+ 0444902712D255D000E8D955 /* init.lua in Resources */ = {isa = PBXBuildFile; fileRef = 0444902412D255D000E8D955 /* init.lua */; };
+ 0444902812D255D000E8D955 /* BlueController.lua in Resources */ = {isa = PBXBuildFile; fileRef = 0444902512D255D000E8D955 /* BlueController.lua */; };
+ 0444902912D255D000E8D955 /* OrangeController.lua in Resources */ = {isa = PBXBuildFile; fileRef = 0444902612D255D000E8D955 /* OrangeController.lua */; };
+ 1D3623260D0F684500981E51 /* IBExampleAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* IBExampleAppDelegate.m */; };
1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765FC0DF74451002DB57D /* CoreGraphics.framework */; };
- 91373B241066B2B30089FEE3 /* Entitlements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 91373B231066B2B30089FEE3 /* Entitlements.plist */; };
- 91373BF01066C8930089FEE3 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 91373BEF1066C8930089FEE3 /* Icon.png */; };
+ 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; };
/* End PBXBuildFile section */
-/* Begin PBXBuildRule section */
- 91373AF61066AFD70089FEE3 /* PBXBuildRule */ = {
- isa = PBXBuildRule;
- compilerSpec = com.apple.compilers.proxy.script;
- filePatterns = "*.lua";
- fileType = pattern.proxy;
- isEditable = 1;
- outputFiles = (
- );
- script = "echo \"Ignoring ${INPUT_FILE}\"";
- };
-/* End PBXBuildRule section */
-
/* Begin PBXFileReference section */
- 0413C4A31201DE830069C579 /* wax.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = wax.framework; sourceTree = "<group>"; };
- 0422EC711135DFE6007F6343 /* libxml2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libxml2.dylib; path = usr/lib/libxml2.dylib; sourceTree = SDKROOT; };
- 0482723B1125E152003DFACB /* ProtocolLoader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProtocolLoader.h; sourceTree = "<group>"; };
- 0482723C1125E152003DFACB /* WaxTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WaxTextField.h; sourceTree = "<group>"; };
- 0482731611260912003DFACB /* AppDelegate.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = AppDelegate.lua; sourceTree = "<group>"; };
- 0482731811260912003DFACB /* init.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = init.lua; sourceTree = "<group>"; };
- 04DC160E114708B7009D71CC /* OrangeView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = OrangeView.xib; sourceTree = "<group>"; };
- 04DC1610114708BF009D71CC /* BlueView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = BlueView.xib; sourceTree = "<group>"; };
+ 0444900412D253C800E8D955 /* wax.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = wax.framework; sourceTree = SOURCE_ROOT; };
+ 0444901D12D2543B00E8D955 /* BlueView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = BlueView.xib; sourceTree = "<group>"; };
+ 0444901E12D2543B00E8D955 /* OrangeView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = OrangeView.xib; sourceTree = "<group>"; };
+ 0444902412D255D000E8D955 /* init.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = init.lua; path = scripts/init.lua; sourceTree = "<group>"; };
+ 0444902512D255D000E8D955 /* BlueController.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = BlueController.lua; path = scripts/BlueController.lua; sourceTree = "<group>"; };
+ 0444902612D255D000E8D955 /* OrangeController.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OrangeController.lua; path = scripts/OrangeController.lua; sourceTree = "<group>"; };
1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 1D3623240D0F684500981E51 /* IBExampleAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IBExampleAppDelegate.h; sourceTree = "<group>"; };
+ 1D3623250D0F684500981E51 /* IBExampleAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IBExampleAppDelegate.m; sourceTree = "<group>"; };
1D6058910D05DD3D006BFB54 /* IBExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IBExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
288765FC0DF74451002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 28AD733E0D9D9553002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = "<group>"; };
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
32CA4F630368D1EE00C91783 /* IBExample_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IBExample_Prefix.pch; sourceTree = "<group>"; };
8D1107310486CEB800E47090 /* IBExample-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "IBExample-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
- 91373B231066B2B30089FEE3 /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Entitlements.plist; sourceTree = "<group>"; };
- 91373BEF1066C8930089FEE3 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -60,37 +48,28 @@
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */,
- 0422EC721135DFE6007F6343 /* libxml2.dylib in Frameworks */,
- 0413C4A41201DE830069C579 /* wax.framework in Frameworks */,
+ 0444900512D253C800E8D955 /* wax.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
- 0482731511260912003DFACB /* scripts */ = {
- isa = PBXGroup;
- children = (
- 0482731611260912003DFACB /* AppDelegate.lua */,
- 0482731711260912003DFACB /* tests */,
- );
- name = scripts;
- path = data/scripts;
- sourceTree = "<group>";
- };
- 0482731711260912003DFACB /* tests */ = {
+ 0444901212D253ED00E8D955 /* Scripts */ = {
isa = PBXGroup;
children = (
- 0482731811260912003DFACB /* init.lua */,
+ 0444902412D255D000E8D955 /* init.lua */,
+ 0444902512D255D000E8D955 /* BlueController.lua */,
+ 0444902612D255D000E8D955 /* OrangeController.lua */,
);
- path = tests;
+ name = Scripts;
sourceTree = "<group>";
};
080E96DDFE201D6D7F000001 /* Classes */ = {
isa = PBXGroup;
children = (
- 0482723B1125E152003DFACB /* ProtocolLoader.h */,
- 0482723C1125E152003DFACB /* WaxTextField.h */,
+ 1D3623240D0F684500981E51 /* IBExampleAppDelegate.h */,
+ 1D3623250D0F684500981E51 /* IBExampleAppDelegate.m */,
);
path = Classes;
sourceTree = "<group>";
@@ -106,9 +85,8 @@
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
isa = PBXGroup;
children = (
- 29B97316FDCFA39411CA2CEA /* main.m */,
+ 0444901212D253ED00E8D955 /* Scripts */,
080E96DDFE201D6D7F000001 /* Classes */,
- 0482731511260912003DFACB /* scripts */,
29B97315FDCFA39411CA2CEA /* Other Sources */,
29B97317FDCFA39411CA2CEA /* Resources */,
29B97323FDCFA39411CA2CEA /* Frameworks */,
@@ -121,6 +99,7 @@
isa = PBXGroup;
children = (
32CA4F630368D1EE00C91783 /* IBExample_Prefix.pch */,
+ 29B97316FDCFA39411CA2CEA /* main.m */,
);
name = "Other Sources";
sourceTree = "<group>";
@@ -128,11 +107,10 @@
29B97317FDCFA39411CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
- 91373B231066B2B30089FEE3 /* Entitlements.plist */,
+ 28AD733E0D9D9553002E5188 /* MainWindow.xib */,
+ 0444901D12D2543B00E8D955 /* BlueView.xib */,
+ 0444901E12D2543B00E8D955 /* OrangeView.xib */,
8D1107310486CEB800E47090 /* IBExample-Info.plist */,
- 91373BEF1066C8930089FEE3 /* Icon.png */,
- 04DC160E114708B7009D71CC /* OrangeView.xib */,
- 04DC1610114708BF009D71CC /* BlueView.xib */,
);
name = Resources;
sourceTree = "<group>";
@@ -140,8 +118,7 @@
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
isa = PBXGroup;
children = (
- 0413C4A31201DE830069C579 /* wax.framework */,
- 0422EC711135DFE6007F6343 /* libxml2.dylib */,
+ 0444900412D253C800E8D955 /* wax.framework */,
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
1D30AB110D05D00D00671497 /* Foundation.framework */,
288765FC0DF74451002DB57D /* CoreGraphics.framework */,
@@ -156,13 +133,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "IBExample" */;
buildPhases = (
+ 04155FA112D3D32C00FA4BA9 /* Build Framework */,
1D60588D0D05DD3D006BFB54 /* Resources */,
1D60588E0D05DD3D006BFB54 /* Sources */,
1D60588F0D05DD3D006BFB54 /* Frameworks */,
- 91E31E0110644C62009BA4E9 /* Run Wax Scripts */,
);
buildRules = (
- 91373AF61066AFD70089FEE3 /* PBXBuildRule */,
);
dependencies = (
);
@@ -178,7 +154,14 @@
isa = PBXProject;
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "IBExample" */;
compatibilityVersion = "Xcode 3.1";
+ developmentRegion = English;
hasScannedForEncodings = 1;
+ knownRegions = (
+ English,
+ Japanese,
+ French,
+ German,
+ );
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
projectDirPath = "";
projectRoot = "";
@@ -193,29 +176,32 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
- 91373B241066B2B30089FEE3 /* Entitlements.plist in Resources */,
- 91373BF01066C8930089FEE3 /* Icon.png in Resources */,
- 04DC160F114708B7009D71CC /* OrangeView.xib in Resources */,
- 04DC1611114708BF009D71CC /* BlueView.xib in Resources */,
+ 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */,
+ 0444901F12D2543B00E8D955 /* BlueView.xib in Resources */,
+ 0444902012D2543B00E8D955 /* OrangeView.xib in Resources */,
+ 0444902712D255D000E8D955 /* init.lua in Resources */,
+ 0444902812D255D000E8D955 /* BlueController.lua in Resources */,
+ 0444902912D255D000E8D955 /* OrangeController.lua in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
- 91E31E0110644C62009BA4E9 /* Run Wax Scripts */ = {
+ 04155FA112D3D32C00FA4BA9 /* Build Framework */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
- name = "Run Wax Scripts";
+ name = "Build Framework";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"$PROJECT_DIR/wax.framework/resources/copy-scripts\"";
+ shellPath = /bin/zsh;
+ shellScript = "# If the framework doesn't exist, build it\nif [ ! -d wax.framework ]; then\n\tcd ../../tools/framework\n\trake package\nfi";
+ showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
@@ -225,6 +211,7 @@
buildActionMask = 2147483647;
files = (
1D60589B0D05DD56006BFB54 /* main.m in Sources */,
+ 1D3623260D0F684500981E51 /* IBExampleAppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -244,8 +231,6 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = IBExample_Prefix.pch;
- GCC_PREPROCESSOR_DEFINITIONS = "DEBUG=1";
- HEADER_SEARCH_PATHS = "$(SDK_ROOT)/usr/include/libxml2";
INFOPLIST_FILE = "IBExample-Info.plist";
PRODUCT_NAME = IBExample;
};
@@ -262,80 +247,22 @@
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = IBExample_Prefix.pch;
- HEADER_SEARCH_PATHS = "$(SDK_ROOT)/usr/include/libxml2";
INFOPLIST_FILE = "IBExample-Info.plist";
PRODUCT_NAME = IBExample;
+ VALIDATE_PRODUCT = YES;
};
name = Release;
};
- 91373B1B1066B28C0089FEE3 /* Ad Hoc */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_BIT)";
- GCC_C_LANGUAGE_STANDARD = c99;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
- SDKROOT = iphoneos4.0;
- };
- name = "Ad Hoc";
- };
- 91373B1C1066B28C0089FEE3 /* Ad Hoc */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CODE_SIGN_ENTITLEMENTS = Entitlements.plist;
- COPY_PHASE_STRIP = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "\"$(SRCROOT)\"",
- );
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = IBExample_Prefix.pch;
- HEADER_SEARCH_PATHS = "$(SDK_ROOT)/usr/include/libxml2";
- INFOPLIST_FILE = "IBExample-Info.plist";
- PRODUCT_NAME = IBExample;
- };
- name = "Ad Hoc";
- };
- 91373B201066B2980089FEE3 /* Distribution */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_32_BIT)";
- GCC_C_LANGUAGE_STANDARD = c99;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- PREBINDING = NO;
- SDKROOT = iphoneos4.0;
- };
- name = Distribution;
- };
- 91373B211066B2980089FEE3 /* Distribution */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- COPY_PHASE_STRIP = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(inherited)",
- "\"$(SRCROOT)\"",
- );
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = IBExample_Prefix.pch;
- HEADER_SEARCH_PATHS = "$(SDK_ROOT)/usr/include/libxml2";
- INFOPLIST_FILE = "IBExample-Info.plist";
- PRODUCT_NAME = IBExample;
- };
- name = Distribution;
- };
C01FCF4F08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
- SDKROOT = iphoneos4.0;
+ SDKROOT = iphoneos;
};
name = Debug;
};
@@ -343,11 +270,13 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PREBINDING = NO;
- SDKROOT = iphoneos4.0;
+ SDKROOT = iphoneos;
};
name = Release;
};
@@ -359,8 +288,6 @@
buildConfigurations = (
1D6058940D05DD3E006BFB54 /* Debug */,
1D6058950D05DD3E006BFB54 /* Release */,
- 91373B1C1066B28C0089FEE3 /* Ad Hoc */,
- 91373B211066B2980089FEE3 /* Distribution */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
@@ -370,8 +297,6 @@
buildConfigurations = (
C01FCF4F08A954540054247B /* Debug */,
C01FCF5008A954540054247B /* Release */,
- 91373B1B1066B28C0089FEE3 /* Ad Hoc */,
- 91373B201066B2980089FEE3 /* Distribution */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
View
262 examples/IBExample/MainWindow.xib
@@ -0,0 +1,262 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
+ <data>
+ <int key="IBDocument.SystemTarget">800</int>
+ <string key="IBDocument.SystemVersion">10D540</string>
+ <string key="IBDocument.InterfaceBuilderVersion">760</string>
+ <string key="IBDocument.AppKitVersion">1038.29</string>
+ <string key="IBDocument.HIToolboxVersion">460.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">81</string>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="2"/>
+ </object>
+ <object class="NSArray" key="IBDocument.PluginDependencies">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBProxyObject" id="841351856">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="427554174">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUICustomObject" id="664661524">
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIWindow" id="380026005">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">1316</int>
+ <object class="NSPSMatrix" key="NSFrameMatrix"/>
+ <string key="NSFrameSize">{320, 480}</string>
+ <reference key="NSSuperview"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">1</int>
+ <bytes key="NSRGB">MSAxIDEAA</bytes>
+ </object>
+ <bool key="IBUIOpaque">NO</bool>
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBUIResizesToFullScreen">YES</bool>
+ </object>
+ </object>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <object class="NSMutableArray" key="connectionRecords">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="841351856"/>
+ <reference key="destination" ref="664661524"/>
+ </object>
+ <int key="connectionID">4</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">window</string>
+ <reference key="source" ref="664661524"/>
+ <reference key="destination" ref="380026005"/>
+ </object>
+ <int key="connectionID">5</int>
+ </object>
+ </object>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <object class="NSArray" key="orderedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <reference key="object" ref="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">2</int>
+ <reference key="object" ref="380026005"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="841351856"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">3</int>
+ <reference key="object" ref="664661524"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="427554174"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="flattenedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>-1.CustomClassName</string>
+ <string>-2.CustomClassName</string>
+ <string>2.IBAttributePlaceholdersKey</string>
+ <string>2.IBEditorWindowLastContentRect</string>
+ <string>2.IBPluginDependency</string>
+ <string>3.CustomClassName</string>
+ <string>3.IBPluginDependency</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>UIApplication</string>
+ <string>UIResponder</string>
+ <object class="NSMutableDictionary">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <string>{{198, 376}, {320, 480}}</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string>IBExampleAppDelegate</string>
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="activeLocalization"/>
+ <object class="NSMutableDictionary" key="localizations">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference key="dict.sortedKeys" ref="0"/>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ <nil key="sourceID"/>
+ <int key="maxID">9</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">AppDelegate</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">BlueController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">OrangeController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">BlueController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>textField</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>buttonTouched:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">OrangeController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>textField</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>buttonTouched:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBUserSource</string>
+ <string key="minorKey"/>
+ </object>
+ </object>
+ </object>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
+ <integer value="3100" key="NS.object.0"/>
+ </object>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <string key="IBDocument.LastKnownRelativeProjectPath">IBExample.xcodeproj</string>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">81</string>
+ </data>
+</archive>
View
128 examples/IBExample/OrangeView.xib
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
- <int key="IBDocument.SystemTarget">768</int>
- <string key="IBDocument.SystemVersion">10C540</string>
- <string key="IBDocument.InterfaceBuilderVersion">740</string>
- <string key="IBDocument.AppKitVersion">1038.25</string>
- <string key="IBDocument.HIToolboxVersion">458.00</string>
+ <int key="IBDocument.SystemTarget">1056</int>
+ <string key="IBDocument.SystemVersion">10H574</string>
+ <string key="IBDocument.InterfaceBuilderVersion">823</string>
+ <string key="IBDocument.AppKitVersion">1038.35</string>
+ <string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
- <string key="NS.object.0">62</string>
+ <string key="NS.object.0">132</string>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -31,9 +31,11 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBProxyObject" id="372490531">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="975951072">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIView" id="191373211">
<reference key="NSNextResponder"/>
@@ -52,6 +54,7 @@
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<int key="IBUITag">1</int>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<object class="NSFont" key="IBUIFont">
@@ -84,6 +87,7 @@
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUITag">2</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">File's Owner is set to the custom class OrangeController</string>
<object class="NSFont" key="IBUIFont">
<string key="NSName">Helvetica</string>
@@ -101,13 +105,13 @@
<int key="IBUITextAlignment">1</int>
</object>
</object>
- <string key="NSFrameSize">{320, 460}</string>
+ <string key="NSFrameSize">{320, 480}</string>
<reference key="NSSuperview"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAwLjgwMDAwMDAxMTkgMC40MDAwMDAwMDYAA</bytes>
</object>
- <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
@@ -115,27 +119,28 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">view</string>
+ <string key="label">textField</string>
<reference key="source" ref="372490531"/>
- <reference key="destination" ref="191373211"/>
+ <reference key="destination" ref="201944532"/>
</object>
- <int key="connectionID">5</int>
+ <int key="connectionID">9</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">button</string>
+ <string key="label">view</string>
<reference key="source" ref="372490531"/>
- <reference key="destination" ref="307630100"/>
+ <reference key="destination" ref="191373211"/>
</object>
- <int key="connectionID">6</int>
+ <int key="connectionID">10</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBCocoaTouchOutletConnection" key="connection">
- <string key="label">textField</string>
- <reference key="source" ref="372490531"/>
- <reference key="destination" ref="201944532"/>
+ <object class="IBCocoaTouchEventConnection" key="connection">
+ <string key="label">buttonTouched:</string>
+ <reference key="source" ref="307630100"/>
+ <reference key="destination" ref="372490531"/>
+ <int key="IBEventType">7</int>
</object>
- <int key="connectionID">8</int>
+ <int key="connectionID">11</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
@@ -217,7 +222,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">8</int>
+ <int key="maxID">11</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -225,17 +230,26 @@
<object class="IBPartialClassDescription">
<string key="className">OrangeController</string>
<string key="superclassName">UIViewController</string>
- <object class="NSMutableDictionary" key="outlets">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>button</string>
- <string>textField</string>
+ <object class="NSMutableDictionary" key="actions">
+ <string key="NS.key.0">buttonTouched:</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <string key="NS.key.0">buttonTouched:</string>
+ <object class="IBActionInfo" key="NS.object.0">
+ <string key="name">buttonTouched:</string>
+ <string key="candidateClassName">id</string>
</object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>id</string>
- <string>id</string>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">textField</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">textField</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">textField</string>
+ <string key="candidateClassName">id</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -285,13 +299,6 @@
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSNetServices.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
</object>
</object>
@@ -299,13 +306,6 @@
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSPort.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
</object>
</object>
@@ -313,13 +313,6 @@
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSStream.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
</object>
</object>
@@ -341,13 +334,6 @@
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">Foundation.framework/Headers/NSXMLParser.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">NSObject</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
</object>
</object>
@@ -414,6 +400,13 @@
<string key="className">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIPrintFormatter.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
</object>
</object>
@@ -436,6 +429,20 @@
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
</object>
</object>
@@ -450,9 +457,10 @@
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
- <integer value="768" key="NS.object.0"/>
+ <integer value="1056" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
@@ -461,6 +469,6 @@
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">IBExample.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
- <string key="IBCocoaTouchPluginVersion">3.1</string>
+ <string key="IBCocoaTouchPluginVersion">132</string>
</data>
</archive>
View
1  examples/IBExample/Rakefile
@@ -1 +0,0 @@
-import "wax/lib/project.rake"
View
1  examples/IBExample/Rakefile
View
18 examples/IBExample/data/scripts/AppDelegate.lua
@@ -1,18 +0,0 @@
-require "BlueController"
-require "OrangeController"
-
--- these are global just to make the code smaller... IT'S GENERALLY A BAD IDEA
-blueController = BlueController:init()
-orangeController = OrangeController:init()
-
-waxClass{"AppDelegate", protocols = {"UIApplicationDelegate"}}
-
-function applicationDidFinishLaunching(self, application)
- local frame = UIScreen:mainScreen():bounds()
- self.window = UIWindow:initWithFrame(frame)
-
-
- self.window:addSubview(blueController:view())
-
- self.window:makeKeyAndVisible()
-end
View
23 examples/IBExample/data/scripts/BlueController.lua
@@ -1,23 +0,0 @@
-waxClass{"BlueController", UIViewController}
-
-function init(self)
- self.super:initWithNibName_bundle("BlueView", nil)
-
- return self
-end
-
-function viewDidLoad(self)
- -- All IB views are accessed through tags. You set a view's tag with the
- -- inspector window in IB
-
- self.button = self:view():viewWithTag(1)
- self.button:addTarget_action_forControlEvents(self, "buttonTouched:", UIControlEventTouchUpInside)
-
- self.textField = self:view():viewWithTag(2)
- self.textField:setText("This was created in Lua!")
-end
-
-function buttonTouched(self, sender)
- self:view():superview():addSubview(orangeController:view())
- self:view():removeFromSuperview()
-end
View
34 examples/IBExample/data/scripts/OrangeController.lua
@@ -1,34 +0,0 @@
-waxClass{"OrangeController", UIViewController}
-
-function init(self)
- self.super:initWithNibName_bundle("OrangeView", nil)
-
- return self
-end
-
-function viewDidLoad(self)
- -- All outlets are dynamically set to values on the lua object. To do this you
- -- need to create a custom 'OrangeController' class in IB's Library Window.
- --
- -- Here are the steps I took to bind the views to this lua object
- -- 1.) Click the 'classes' tab in the Library Windown
- -- 2.) Find the UIViewController class, right click and choose 'New Subclass...'
- -- 3.) Name the subclass 'OrangeController'
- -- 4.) The class editor for 'OrangeController' is now at the bottom of the
- -- Library Window, click on the 'Outlets' tab
- -- 5.) Add an outlet named 'button'
- -- 6.) Add an outlet named 'textfield'
- -- 7.) Set the File's Owner to 'OrangeController'
- -- 8.) Hookup the views like you normally would in IB
- --
- -- I wish I could automate these steps like macruby does, but I'm not sure how
- -- to tap into IB
-
- self.button:addTarget_action_forControlEvents(self, "buttonTouched:", UIControlEventTouchUpInside)
- self.textField:setText("This was also created in Lua!")
-end
-
-function buttonTouched(self, sender)
- self:view():superview():addSubview(blueController:view())
- self:view():removeFromSuperview()
-end
View
7 examples/IBExample/data/scripts/tests/init.lua
@@ -1,7 +0,0 @@
-require "wax.luaspec"
-
--- require "tests.someTest"
-
-print("\nResults\n-------")
-spec:report()
-exitApp() -- Makes sure the app shuts down when run from the command line
View
21 examples/IBExample/main.m
@@ -2,29 +2,16 @@
// main.m
// IBExample
//
-// Created by Corey Johnson on 3/9/10.
-// Copyright Probably Interactive 2010. All rights reserved.
+// Created by Corey on 1/3/11.
+// Copyright 2011 me. All rights reserved.
//
-// This where the magic happens!
-// Wax doesn't use nibs to load the main view, everything is done within the
-// AppDelegate.lua file
#import <UIKit/UIKit.h>
-#import "ProtocolLoader.h"
-#import "WaxTextField.h"
-
-#import "wax/wax.h"
-#import "wax/wax_http.h"
-#import "wax/wax_json.h"
-#import "wax/wax_xml.h"
-
int main(int argc, char *argv[]) {
- NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
- wax_startWithExtensions(luaopen_wax_http, luaopen_wax_json, luaopen_wax_xml, nil);
-
- int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
+ NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
+ int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}
View
24 examples/IBExample/scripts/BlueController.lua
@@ -0,0 +1,24 @@
+waxClass{"BlueController", UIViewController}
+
+IBOutlet "textField" -- This makes the property visible from IB
+
+function init(self)
+ self.super:initWithNibName_bundle("BlueView", nil)
+
+ return self
+end
+
+function viewDidLoad(self)
+ -- The button and textField varibles are automatically created and added to the class via IB
+ self.textField:setText("This text was created in Lua!")
+end
+
+-- Put IBAction next to, or above a function to make it appear in IB
+function buttonTouched(self, sender) -- IBAction
+ local parentView = self:view():superview()
+ UIView:beginAnimations_context(nil, nil)
+ UIView:setAnimationTransition_forView_cache(UIViewAnimationTransitionFlipFromLeft, parentView, true)
+ self:view():removeFromSuperview()
+ parentView:addSubview(orangeController:view())
+ UIView:commitAnimations()
+end
View
23 examples/IBExample/scripts/OrangeController.lua
@@ -0,0 +1,23 @@
+waxClass{"OrangeController", UIViewController}
+
+IBOutlet "textField" -- This makes the property visible from IB
+
+function init(self)
+ self.super:initWithNibName_bundle("OrangeView", nil)
+ return self
+end
+
+function viewDidLoad(self)
+ -- The button and textField varibles are automatically created and added to the class via IB
+ self.textField:setText("This was also created in Lua!")
+end
+
+-- Put IBAction next to, or above a function to make it appear in IB
+function buttonTouched(self, sender) -- IBAction
+ local parentView = self:view():superview()
+ UIView:beginAnimations_context(nil, nil)
+ UIView:setAnimationTransition_forView_cache(UIViewAnimationTransitionFlipFromRight, parentView, true)
+ self:view():removeFromSuperview()
+ parentView:addSubview(blueController:view())
+ UIView:commitAnimations()
+end
View
29 examples/IBExample/scripts/init.lua
@@ -0,0 +1,29 @@
+-- How does this work?
+-- 1.) If you created your wax project from the xcode template, you can skip to
+-- step #2.
+-- If you are using the wax.framework copy the rakefile into your project
+-- root like this:
+--
+-- ln -s wax.framework/Resources/project.rake Rakefile
+--
+-- 2.) Use IBOutlet and IBAction to make variables visible to IB. Look at
+-- BlueController.lua and OrangeController.lua for examples of this.
+--
+-- 3.) From the shell, cd into your project dir and type:
+--
+-- rake ib
+--
+-- This will register your waxClasses and their Outlets and Actions
+-- with IB
+--
+-- 4.) Open up IB and connect the outlets and actions!
+
+require "BlueController"
+require "OrangeController"
+
+-- these are global just to make the code smaller... IT'S GENERALLY A BAD IDEA!
+blueController = BlueController:init()
+orangeController = OrangeController:init()
+
+local window = UIApplication:sharedApplication():keyWindow()
+window:addSubview(blueController:view())
View
0  examples/States/data/scripts/tests/init.lua → examples/IBExample/scripts/tests/init.lua
File renamed without changes
View
2  examples/IBExample/Classes/ProtocolLoader.h → ...t wax.framework)/Classes/ProtocolLoader.h
@@ -3,7 +3,7 @@
//
// This seems to be a bug, or there is a runtime method I'm unaware of
-#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
@interface ProtocolLoader : NSObject <UIApplicationDelegate, UIWebViewDelegate, UIActionSheetDelegate, UIAlertViewDelegate, UISearchBarDelegate, UITextViewDelegate, UITabBarControllerDelegate> {}
@end
View
0  examples/States/Entitlements.plist → ...without wax.framework)/Entitlements.plist
File renamed without changes
View
0  examples/IBExample/Icon.png → ...s/States (without wax.framework)/Icon.png
File renamed without changes
View
0  examples/States/Rakefile → ...s/States (without wax.framework)/Rakefile
File renamed without changes
View
0  tools/Framework/libwax-Info.plist → ...(without wax.framework)/States-Info.plist
File renamed without changes
View
730 examples/States (without wax.framework)/States.xcodeproj/project.pbxproj
@@ -0,0 +1,730 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 45;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 04448FB012D2524F00E8D955 /* states.plist in Resources */ = {isa = PBXBuildFile; fileRef = 04448FAF12D2524F00E8D955 /* states.plist */; };
+ 04A6186B12CA7AB6004ADB76 /* wax_filesystem.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A617DE12CA7AB6004ADB76 /* wax_filesystem.m */; };
+ 04A6186C12CA7AB6004ADB76 /* wax_http.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A617E112CA7AB6004ADB76 /* wax_http.m */; };
+ 04A6186D12CA7AB6004ADB76 /* wax_http_connection.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A617E312CA7AB6004ADB76 /* wax_http_connection.m */; };
+ 04A6186F12CA7AB6004ADB76 /* wax_json.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A617E612CA7AB6004ADB76 /* wax_json.c */; };
+ 04A6187012CA7AB6004ADB76 /* yajl.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A617ED12CA7AB6004ADB76 /* yajl.c */; };
+ 04A6187112CA7AB6004ADB76 /* yajl_alloc.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A617EE12CA7AB6004ADB76 /* yajl_alloc.c */; };
+ 04A6187212CA7AB6004ADB76 /* yajl_buf.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A617F012CA7AB6004ADB76 /* yajl_buf.c */; };
+ 04A6187312CA7AB6004ADB76 /* yajl_encode.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A617F412CA7AB6004ADB76 /* yajl_encode.c */; };
+ 04A6187412CA7AB6004ADB76 /* yajl_gen.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A617F612CA7AB6004ADB76 /* yajl_gen.c */; };
+ 04A6187512CA7AB6004ADB76 /* yajl_lex.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A617F812CA7AB6004ADB76 /* yajl_lex.c */; };
+ 04A6187612CA7AB6004ADB76 /* yajl_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A617FB12CA7AB6004ADB76 /* yajl_parser.c */; };
+ 04A6187A12CA7AB6004ADB76 /* wax_xml.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A6180512CA7AB6004ADB76 /* wax_xml.m */; };
+ 04A6187B12CA7AB6004ADB76 /* lapi.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6180712CA7AB6004ADB76 /* lapi.c */; };
+ 04A6187C12CA7AB6004ADB76 /* lauxlib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6180912CA7AB6004ADB76 /* lauxlib.c */; };
+ 04A6187D12CA7AB6004ADB76 /* lbaselib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6180B12CA7AB6004ADB76 /* lbaselib.c */; };
+ 04A6187E12CA7AB6004ADB76 /* lcode.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6180C12CA7AB6004ADB76 /* lcode.c */; };
+ 04A6187F12CA7AB6004ADB76 /* ldblib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6180E12CA7AB6004ADB76 /* ldblib.c */; };
+ 04A6188012CA7AB6004ADB76 /* ldebug.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6180F12CA7AB6004ADB76 /* ldebug.c */; };
+ 04A6188112CA7AB6004ADB76 /* ldo.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181112CA7AB6004ADB76 /* ldo.c */; };
+ 04A6188212CA7AB6004ADB76 /* ldump.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181312CA7AB6004ADB76 /* ldump.c */; };
+ 04A6188312CA7AB6004ADB76 /* lfunc.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181412CA7AB6004ADB76 /* lfunc.c */; };
+ 04A6188412CA7AB6004ADB76 /* lgc.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181612CA7AB6004ADB76 /* lgc.c */; };
+ 04A6188512CA7AB6004ADB76 /* linit.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181812CA7AB6004ADB76 /* linit.c */; };
+ 04A6188612CA7AB6004ADB76 /* liolib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181912CA7AB6004ADB76 /* liolib.c */; };
+ 04A6188712CA7AB6004ADB76 /* llex.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181A12CA7AB6004ADB76 /* llex.c */; };
+ 04A6188812CA7AB6004ADB76 /* lmathlib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181D12CA7AB6004ADB76 /* lmathlib.c */; };
+ 04A6188912CA7AB6004ADB76 /* lmem.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6181E12CA7AB6004ADB76 /* lmem.c */; };
+ 04A6188A12CA7AB6004ADB76 /* loadlib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182012CA7AB6004ADB76 /* loadlib.c */; };
+ 04A6188B12CA7AB6004ADB76 /* lobject.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182112CA7AB6004ADB76 /* lobject.c */; };
+ 04A6188C12CA7AB6004ADB76 /* lopcodes.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182312CA7AB6004ADB76 /* lopcodes.c */; };
+ 04A6188D12CA7AB6004ADB76 /* loslib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182512CA7AB6004ADB76 /* loslib.c */; };
+ 04A6188E12CA7AB6004ADB76 /* lparser.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182612CA7AB6004ADB76 /* lparser.c */; };
+ 04A6188F12CA7AB6004ADB76 /* lstate.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182812CA7AB6004ADB76 /* lstate.c */; };
+ 04A6189012CA7AB6004ADB76 /* lstring.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182A12CA7AB6004ADB76 /* lstring.c */; };
+ 04A6189112CA7AB6004ADB76 /* lstrlib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182C12CA7AB6004ADB76 /* lstrlib.c */; };
+ 04A6189212CA7AB6004ADB76 /* ltable.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182D12CA7AB6004ADB76 /* ltable.c */; };
+ 04A6189312CA7AB6004ADB76 /* ltablib.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6182F12CA7AB6004ADB76 /* ltablib.c */; };
+ 04A6189412CA7AB6004ADB76 /* ltm.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6183012CA7AB6004ADB76 /* ltm.c */; };
+ 04A6189512CA7AB6004ADB76 /* lundump.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6183512CA7AB6004ADB76 /* lundump.c */; };
+ 04A6189612CA7AB6004ADB76 /* lvm.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6183712CA7AB6004ADB76 /* lvm.c */; };
+ 04A6189712CA7AB6004ADB76 /* lzio.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6183912CA7AB6004ADB76 /* lzio.c */; };
+ 04A6189812CA7AB6004ADB76 /* print.c in Sources */ = {isa = PBXBuildFile; fileRef = 04A6183B12CA7AB6004ADB76 /* print.c */; };
+ 04A618B012CA7AB6004ADB76 /* wax.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A6185812CA7AB6004ADB76 /* wax.m */; };
+ 04A618B112CA7AB6004ADB76 /* wax_class.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A6185A12CA7AB6004ADB76 /* wax_class.m */; };
+ 04A618B212CA7AB6004ADB76 /* wax_gc.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A6185C12CA7AB6004ADB76 /* wax_gc.m */; };
+ 04A618B312CA7AB6004ADB76 /* wax_helpers.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A6185E12CA7AB6004ADB76 /* wax_helpers.m */; };
+ 04A618B412CA7AB6004ADB76 /* wax_instance.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A6186012CA7AB6004ADB76 /* wax_instance.m */; };
+ 04A618B512CA7AB6004ADB76 /* wax_server.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A6186212CA7AB6004ADB76 /* wax_server.m */; };
+ 04A618B612CA7AB6004ADB76 /* wax_struct.m in Sources */ = {isa = PBXBuildFile; fileRef = 04A6186512CA7AB6004ADB76 /* wax_struct.m */; };
+ 04A618D812CA83F0004ADB76 /* libxml2.2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 04A618D712CA83F0004ADB76 /* libxml2.2.dylib */; };
+ 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
+ 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
+ 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
+ 288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765FC0DF74451002DB57D /* CoreGraphics.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 04448F9F12D2521D00E8D955 /* CapitalsTable.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CapitalsTable.lua; sourceTree = "<group>"; };
+ 04448FA012D2521D00E8D955 /* StatesTable.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = StatesTable.lua; sourceTree = "<group>"; };
+ 04448FAF12D2524F00E8D955 /* states.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = states.plist; sourceTree = "<group>"; };
+ 04A617DD12CA7AB6004ADB76 /* wax_filesystem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wax_filesystem.h; sourceTree = "<group>"; };
+ 04A617DE12CA7AB6004ADB76 /* wax_filesystem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = wax_filesystem.m; sourceTree = "<group>"; };
+ 04A617E012CA7AB6004ADB76 /* wax_http.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wax_http.h; sourceTree = "<group>"; };
+ 04A617E112CA7AB6004ADB76 /* wax_http.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = wax_http.m; sourceTree = "<group>"; };
+ 04A617E212CA7AB6004ADB76 /* wax_http_connection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wax_http_connection.h; sourceTree = "<group>"; };
+ 04A617E312CA7AB6004ADB76 /* wax_http_connection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = wax_http_connection.m; sourceTree = "<group>"; };
+ 04A617E512CA7AB6004ADB76 /* Rakefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Rakefile; sourceTree = "<group>"; };
+ 04A617E612CA7AB6004ADB76 /* wax_json.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = wax_json.c; sourceTree = "<group>"; };
+ 04A617E712CA7AB6004ADB76 /* wax_json.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wax_json.h; sourceTree = "<group>"; };
+ 04A617EA12CA7AB6004ADB76 /* yajl_common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_common.h; sourceTree = "<group>"; };
+ 04A617EB12CA7AB6004ADB76 /* yajl_gen.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_gen.h; sourceTree = "<group>"; };
+ 04A617EC12CA7AB6004ADB76 /* yajl_parse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_parse.h; sourceTree = "<group>"; };
+ 04A617ED12CA7AB6004ADB76 /* yajl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = yajl.c; sourceTree = "<group>"; };
+ 04A617EE12CA7AB6004ADB76 /* yajl_alloc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = yajl_alloc.c; sourceTree = "<group>"; };
+ 04A617EF12CA7AB6004ADB76 /* yajl_alloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_alloc.h; sourceTree = "<group>"; };
+ 04A617F012CA7AB6004ADB76 /* yajl_buf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = yajl_buf.c; sourceTree = "<group>"; };
+ 04A617F112CA7AB6004ADB76 /* yajl_buf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_buf.h; sourceTree = "<group>"; };
+ 04A617F212CA7AB6004ADB76 /* yajl_bytestack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_bytestack.h; sourceTree = "<group>"; };
+ 04A617F312CA7AB6004ADB76 /* yajl_common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_common.h; sourceTree = "<group>"; };
+ 04A617F412CA7AB6004ADB76 /* yajl_encode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = yajl_encode.c; sourceTree = "<group>"; };
+ 04A617F512CA7AB6004ADB76 /* yajl_encode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_encode.h; sourceTree = "<group>"; };
+ 04A617F612CA7AB6004ADB76 /* yajl_gen.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = yajl_gen.c; sourceTree = "<group>"; };
+ 04A617F712CA7AB6004ADB76 /* yajl_gen.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_gen.h; sourceTree = "<group>"; };
+ 04A617F812CA7AB6004ADB76 /* yajl_lex.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = yajl_lex.c; sourceTree = "<group>"; };
+ 04A617F912CA7AB6004ADB76 /* yajl_lex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_lex.h; sourceTree = "<group>"; };
+ 04A617FA12CA7AB6004ADB76 /* yajl_parse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_parse.h; sourceTree = "<group>"; };
+ 04A617FB12CA7AB6004ADB76 /* yajl_parser.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = yajl_parser.c; sourceTree = "<group>"; };
+ 04A617FC12CA7AB6004ADB76 /* yajl_parser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = yajl_parser.h; sourceTree = "<group>"; };
+ 04A617FD12CA7AB6004ADB76 /* yajl-1.0.9.tar.gz */ = {isa = PBXFileReference; lastKnownFileType = archive.gzip; path = "yajl-1.0.9.tar.gz"; sourceTree = "<group>"; };
+ 04A6180412CA7AB6004ADB76 /* wax_xml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wax_xml.h; sourceTree = "<group>"; };
+ 04A6180512CA7AB6004ADB76 /* wax_xml.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = wax_xml.m; sourceTree = "<group>"; };
+ 04A6180712CA7AB6004ADB76 /* lapi.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lapi.c; sourceTree = "<group>"; };
+ 04A6180812CA7AB6004ADB76 /* lapi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lapi.h; sourceTree = "<group>"; };
+ 04A6180912CA7AB6004ADB76 /* lauxlib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lauxlib.c; sourceTree = "<group>"; };
+ 04A6180A12CA7AB6004ADB76 /* lauxlib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lauxlib.h; sourceTree = "<group>"; };
+ 04A6180B12CA7AB6004ADB76 /* lbaselib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lbaselib.c; sourceTree = "<group>"; };
+ 04A6180C12CA7AB6004ADB76 /* lcode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lcode.c; sourceTree = "<group>"; };
+ 04A6180D12CA7AB6004ADB76 /* lcode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lcode.h; sourceTree = "<group>"; };
+ 04A6180E12CA7AB6004ADB76 /* ldblib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ldblib.c; sourceTree = "<group>"; };
+ 04A6180F12CA7AB6004ADB76 /* ldebug.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ldebug.c; sourceTree = "<group>"; };
+ 04A6181012CA7AB6004ADB76 /* ldebug.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ldebug.h; sourceTre