You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0930972
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core): deprecated iOS APIs and four bugs found by strict typing
Compiling core to Swift rejects deprecated APIs and calls whose arguments do not
match; each of these is a fix under the JavaScript runtime too.
- image-source.ios: dispatch_get_current_queue (deprecated) gives way to the
caller's operation queue, else main; base64Encoding to
base64EncodedStringWithOptions(0).
- dialogs.ios: presentModalViewControllerAnimated to
presentViewControllerAnimatedCompletion.
- tab-view.ios: UITextAttributeTextColor to NSForegroundColorAttributeName.
- gestures.ios: TouchGestureEventData.getX/getY read contentOffset only from a
UIScrollView (other views have none).
- animation.ios: generateShadowLayerPaths takes the box shadow its layer draws;
the animation called it without one (background.d.ts declares the parameter).
- background-common: Background.equals compared the backgrounds, never
gradients, instead of their images: gradient images now compare by value.
- text-base.ios: clearing a text shadow sets a CGColor, not a UIColor, as the
layer's shadowColor.
0 commit comments