motion-kit 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b22aaa500be2edac6395ebf69d34966726906a6f
|
4
|
+
data.tar.gz: 73762f0b31935e2eafdf23eaf8ad397b262e31f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a96bd95971b62699b7f5650c89d91b16dcc61220ec741c31b1d8ea79b25809a3b02840113d2f3bf42366044180e7f4afda70668abbeb7696a738e0565c8c2f0
|
7
|
+
data.tar.gz: 16151eed8d35d0db5848665d561a6cba5d3f4d66d93eeb1aae1e3fa474c02c318e1970d7709b8d093a4dfffab60296ea77a4f033bbe737b04160ef7f2f989782
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# These methods are defined on NSObject, and so we need to fix em.
|
2
|
+
#
|
3
|
+
# @requires MotionKit::BaseLayout
|
4
|
+
module MotionKit
|
5
|
+
class BaseLayout
|
6
|
+
|
7
|
+
delegate_method_fix :accessibilityActivationPoint
|
8
|
+
delegate_method_fix :accessibilityElementsHidden
|
9
|
+
delegate_method_fix :accessibilityFrame
|
10
|
+
delegate_method_fix :accessibilityHint
|
11
|
+
delegate_method_fix :accessibilityLabel
|
12
|
+
delegate_method_fix :accessibilityLanguage
|
13
|
+
delegate_method_fix :accessibilityPath
|
14
|
+
delegate_method_fix :accessibilityTraits
|
15
|
+
delegate_method_fix :accessibilityValue
|
16
|
+
delegate_method_fix :accessibilityViewIsModal
|
17
|
+
delegate_method_fix :isAccessibilityElement
|
18
|
+
delegate_method_fix :shouldGroupAccessibilityChildren
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
@@ -251,10 +251,9 @@ module MotionKit
|
|
251
251
|
# Finally, try again with camel case if there's an underscore.
|
252
252
|
elsif method_name.include?('_')
|
253
253
|
objc_name = MotionKit.objective_c_method_name(method_name)
|
254
|
-
self.apply(objc_name, *args)
|
254
|
+
self.apply(objc_name, *args, &block)
|
255
255
|
else
|
256
256
|
target.send(setter, *args, &block)
|
257
|
-
# raise ApplyError.new("Cannot apply #{method_name.inspect} to instance of #{target.class.name} (from #{@layout_delegate && @layout_delegate.class})")
|
258
257
|
end
|
259
258
|
end
|
260
259
|
|
data/lib/motion-kit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin T.A. Gray
|
@@ -48,6 +48,7 @@ files:
|
|
48
48
|
- lib/motion-kit-cocoa/constraints/constraint_placeholder.rb
|
49
49
|
- lib/motion-kit-cocoa/constraints/constraints_layout.rb
|
50
50
|
- lib/motion-kit-cocoa/constraints/constraints_target.rb
|
51
|
+
- lib/motion-kit-cocoa/layouts/accessibility_compat.rb
|
51
52
|
- lib/motion-kit-cocoa/layouts/cagradientlayer_layout.rb
|
52
53
|
- lib/motion-kit-cocoa/layouts/calayer_layout.rb
|
53
54
|
- lib/motion-kit-cocoa/layouts/sugarcube_compat.rb
|