正规365体育投注

Dark mode beta

You’ve been asking for dark mode for years.
The is finally here.

Change your preferences any time.

Questions tagged [core-animation]

正规365体育投注 Core Animation is Apple's framework for performing hardware-accelerated animation of display elements on the Mac and iOS devices. Useful references include Core Animation Programming Guide Animation Types and Timing Programming Guide Core Animation Cookbook

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Why are CATiledLayers drawing on a single thread in 10.14 and 10.15?

I have a macOS application (commercial GIS Package) that's been shipping since 2009 which uses CATiledLayer to draw large areas for map presentation. I've had no problems with this since the early ...
0
votes
0answers
25 views

OpenGL on Cocoa: CGLChoosePixelFormat() is terribly slow?

I've built a small Cocoa app that uses OpenGL to draw some light content. I've used CAOpenGLLayer. While the app itself is very small and works blazingly fast, the launch time of the app is not ...
1
vote
1answer
39 views

Animate UIImageView appearing on screen line by line

I'd like to display a UIImageView with some animation and i'm thinking i'd like for it to appear on the screen pixel by pixel moving left to right, line by line. A bit like a printer would print an ...
1
vote
0answers
16 views

Can you get UIPageViewController's children's layout state after animation, before actually animating?

So I have a UIPageViewController which holds two UIViewController. When I now set one of those UIViewController to be displayed by the UIPageViewController, the earliest I can access this ...
1
vote
1answer
21 views

NSAnimationContext crashing when called by an Observer

I have two WebViews: webView and customizerWebView. Both of these WKWebViews are attached by a trailing constraint. Essentially, when I go to the menu and click "Show Customizer" showCustomizer() or "...
1
vote
1answer
34 views

Show elements on page load for 5 seconds, than remove and show again on hover again, preferably CSS only

I wish to show some info over image, I would like to show it on page load and keep it for 5 seconds, than to disappear and to reappear again on hover again (and also can stay again for min 5s, but it ...
0
votes
1answer
27 views

Aligned Line Dash Patterns in 2 CAShapeLayer

I'm calling to you Core Animation Gods! I'm trying to display a shape in iOS. The idea is to draw a square with dashed strokes, inner and outer, like shown in the following image created with the ...
0
votes
0answers
17 views

How do I make UIActivityIndicatorView's animation interactive?

I am trying to imitate UIScrollView's pull-to-refresh functionality with my own custom refresh control. I have an activity indicator object, I intercept the scroll events, etc. However I want to make ...
0
votes
1answer
36 views

Animating CALayer [filters, compositionFilter, backFilters]

I need to animate one of [filters, compositionFilter, backFilters] on a CALayer in video composition I tried the following code on NSView layer to test if the code works in the first place view....
0
votes
0answers
14 views

Getting CGContext from AVPlayerLayer

I have a video playing on a AVPLayerLayer and am trying to get a zoomed snapshot of it to show in a small circular view. However, when I try to call render on the layer of the view containing the ...
2
votes
1answer
57 views

Draw A Path with Animation

I want to draw a path with animation in my application I used the code below but there is no animation and it only adds the result of the path to View even when I make the duration longer than normal. ...
2
votes
0answers
33 views

Video transitions in iOS - blur, zoom etc

I am working on a video editing app for iOS, I am currently struggling to add smooth transitions to the app. For example: My video is composited using AVMutableVideoComposition and AVAssetTrack. I ...
0
votes
0answers
19 views

CATiledLayer how to hide tile creation

My app has a huge horizontal scroll implemented with CATiledLayer. I use a CATiledLayer view inside a ScrollView. The problem I have is that when you scroll you see some glitches because of tiles ...
0
votes
1answer
17 views

Control layout of sublayers of NSView with transforms applied

I'm attempting to create an NSView subclass which can give me access to a layer for which I can control the normally-off-limits parameters like anchorPoint and transform, as well as apply animations. ...
1
vote
0answers
36 views

How would I apply the easing animation from the keyboardWillShowNotification to SwiftUI's .animation modifier?

In my SwiftUI layout, when the keyboard becomes visible it moves my textfields and buttons above the keyboard so nothing gets blocked. This is working fine, but I am not currently able to apply the ...

15 30 50 per page
1
2 3 4 5
268