Post

Replies

Boosts

Views

Activity

Reply to Relationship between CABasicAnimation's KeyPath and a CALayer's action event
I've gotten it to work by making triggerProperty a regular observed property. count is an NSManaged property. With changes in triggerProperty I update count in didSet. action(for:) watches for events on count and creates an animation with a keypath to count.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Padding Variable in code sample `Using TextKit2 To Interact With Text`
This just seems to be a simple offset for all text rendered on screen.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Padding Variable in code sample `Using TextKit2 To Interact With Text`
to clarify, the variable in question is var padding: CGFloat = 5.0
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Sep ’23