beeminder / BeeSwift

Official Beeminder for iOS app
Other
30 stars 6 forks source link

Begin migration to GoalProtocol/DataPointProtocol #466

Closed theospears closed 4 months ago

theospears commented 4 months ago

This is the first in a set of PRs which will be the most disruptive part of the transition to using CoreData types throughout the app. It introduces DataPointProtocol and GoalProtocol protocols which are implemented by both the existing memory-based types and the new CoreData types. It then starts to bring the two closer together in signature, and update some call sites to use the new shared protocols.

I don't expect these types to exist long term, but they make it possible to have the code compile and run in an intermediate state during the transition.

Testing Verified the code compiles

theospears commented 4 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @theospears and the rest of your teammates on Graphite Graphite