Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert UIView#name alias changes

  • Loading branch information...
commit d910e85aae3dc8d26422a81cb58e2a03b5c23d58 1 parent 2c9190b
Sean Ho seanhotw authored
2  README.md
View
@@ -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
12 lib/simple_view/extensions/ui_view.rb
View
@@ -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|
2  lib/simple_view/version.rb
View
@@ -1,3 +1,3 @@
module SimpleView
- VERSION = "0.6.1"
+ VERSION = "0.6.2"
end
Please sign in to comment.
Something went wrong with that request. Please try again.