Browse files

Revert UIView#name alias changes

  • Loading branch information...
1 parent 2c9190b commit d910e85aae3dc8d26422a81cb58e2a03b5c23d58 @seanhotw seanhotw committed Feb 14, 2013
Showing with 2 additions and 14 deletions.
  1. +0 −2 README.md
  2. +1 −11 lib/simple_view/extensions/ui_view.rb
  3. +1 −1 lib/simple_view/version.rb
View
2 README.md
@@ -34,8 +34,6 @@ end
`add` is renamed to `add_view` for clarity.
-UIView#name is now an alias to UIView#accessibilityLabel
-
## Installation
Add the gem to your Gemfile
View
12 lib/simple_view/extensions/ui_view.rb
@@ -1,15 +1,5 @@
class UIView
- def name
- self.accessibilityLabel
- end
-
- def name= name
- self.accessibilityLabel = name
- end
-
- def setName name
- self.name = name
- end
+ attr_accessor :name
def find name
subviews.each do |subview|
View
2 lib/simple_view/version.rb
@@ -1,3 +1,3 @@
module SimpleView
- VERSION = "0.6.1"
+ VERSION = "0.6.2"
end

0 comments on commit d910e85

Please sign in to comment.