sugarcube 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +2 -2
  2. data/lib/sugarcube/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -287,7 +287,7 @@ UIControl
287
287
  -----------
288
288
 
289
289
  ```ruby
290
- button = UIButton.alloc.initWithFrame([0, 0, 10, 10])
290
+ button = UIButton.alloc.initWithFrame([[0, 0] ,[10, 10]])
291
291
 
292
292
  button.on(:touch) { my_code }
293
293
  button.on(:touch_up_outside, :touch_cancel) { |event|
@@ -1172,7 +1172,7 @@ url = 'http://localhost'.nsurl
1172
1172
  url.nsdata # => NSData.dataWithContentsOfURL(self)
1173
1173
 
1174
1174
  string_data.nsstring # => 'String'
1175
- image_data.nsimage # => whatever 'an image' was
1175
+ image_data.uiimage # => whatever 'an image' was
1176
1176
  ```
1177
1177
 
1178
1178
  NSDate ([wiki][NSDate Wiki])
@@ -1,3 +1,3 @@
1
1
  module SugarCube
2
- Version = '1.4.0'
2
+ Version = '1.4.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sugarcube
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: