Make all non-reactive properties on AdjustsAnchorPoint constant.
ClosedPublic

Authored by featherless on Mar 1 2017, 1:39 PM.

Diff Detail

Repository
rREACTIVEMOTIONSWIFT reactive-motion-swift
Branch
constanchorpoint (branched from develop)
Lint
Lint OK
Unit
Unit Tests OK
featherless created this revision.Mar 1 2017, 1:39 PM
chuga accepted this revision.Mar 1 2017, 1:51 PM
chuga added a subscriber: chuga.
chuga added inline comments.
src/interactions/AdjustsAnchorPoint.swift
23

do you also need to override the default init an throw a fatalError if it gets used?

This revision is now accepted and ready to land.Mar 1 2017, 1:51 PM
featherless added inline comments.Mar 1 2017, 1:56 PM
src/interactions/AdjustsAnchorPoint.swift
23

By not marking this initializer as a convenience init, it makes this the designated — and therefor required — initializer.

This revision was automatically updated to reflect the committed changes.
chuga added inline comments.Mar 1 2017, 1:58 PM
src/interactions/AdjustsAnchorPoint.swift
23

Swift ❤️