Tutorial: Using iOS 10’s UIViewPropertyAnimator Class

iOS 10 has added the UIViewPropertyAnimator providing a much cleaner syntax for creating UIView animations, adding an animation curve and allowing you to start and stop animations.

Here’s a tutorial from Yari D’areglia providing a nice overview of UIViewPropertyAnimator. The topics covered include:

  • An overview of the different animation states
  • Setting up basic animation options
  • Creating animation blocks for more complex animations
  • Interacting with the animation flow

You can find UIViewPropertyAnimator on the Think and Build It site.

A nice straightforward guide to using the UIViewPropertyAnimator class.

Original article: Tutorial: Using iOS 10’s UIViewPropertyAnimator Class

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Denning’s Walk

This brief tale was written for members of this site. Membership includes a weekly newsletter with exclusive essays, stories, updates on my writing projects, and more.

If you’d like to read it as an ePub, you can download it here. Be sure to also take a look at my books.


“What you have to understand is nothing was actually stolen. And nobody laid a finger on him. I just want to be clear about that.”

Denning shifted in the uncomfortable plastic seat, as the police officer across the desk nodded while jotting down today’s date on a yellow form.

“So you said, sir,” the policeman replied. His name was James Rowney, and he was the duty desk-sergeant for the evening shift. Denning watched as he ticked a couple of boxes, then looked up again impassively. Rowney was a stockily-built man, with a bristly black moustache. He was all hard edges, and had an air of quiet efficiency and control. He also looked like the sort of man who didn’t tolerate any nonsense.

Just the sort of copper the Brits love, Denning thought.

Continue reading “Denning’s Walk”

ObjectiveKit – Swift Library That Makes It Easy To Introspect And Modify Classes At Runtime

ObjectiveKit from Roy Marmelstein is an open source Swift library for working with the Objective-C at runtime that makes instrospection, modifying methods, and creation of Objective-C classes dynamically simple in Swift.

Here’s an example showing one could use ObjectiveKit to create an Objective-C class dynamically in Swift.

let mapViewClass = ObjectiveClass<mkmapview \>()
let selectors = mapViewClass.selectors // An array of selectors.
let properties = mapViewClass.properties // An array of properties.
mapViewClass.addSelector(#selector(testSelector), from: self.classForCoder)

You can read more about ObjectiveKit on the Swift and iOS writing blog.

You can find ObjectiveKit on Github here.

A handy library for anyone needing to use the dynamic features of Objective-C within Swift.

Original article: ObjectiveKit – Swift Library That Makes It Easy To Introspect And Modify Classes At Runtime

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.