README.md in motion-objection-0.5 vs README.md in motion-objection-0.6
- old
+ new
@@ -1,10 +1,14 @@
motion-objection
================
Wrapping Objection in RubyMotion.
+[![Build Status](https://travis-ci.org/atomicobject/motion-objection.png)](https://travis-ci.org/atomicobject/motion-objection)
+
+## Basic Example
+
```ruby
class Car
include Objection
compose_with :engine, :brakes
end
@@ -25,8 +29,26 @@
end
end
class Brakes
def brake!
+ end
+end
+```
+
+## Initializers
+
+```ruby
+class ViewController < NSObject
+ include Objection
+ initializer "initWithNibName:bundle:", "Home"
+
+ attr_reader :name
+
+ def initWithNibName(name, bundle: bundle)
+ self.init
+ self.tap do
+ @name = name
+ end
end
end
```