pinterest / PINOperation

Apache License 2.0
103 stars 49 forks source link

Rename methods to avoid retain cycle warnings #17

Closed garrettmoon closed 6 years ago

garrettmoon commented 6 years ago

Clang is annoying and looks for retain cycles in methods which begin in add but aren't named addOperationWithBlock. Since adding a block to PINOperation is safe to do without doing the strongify weakify dance, lets rename to schedule so people don't have to type addOperationWithBlock every time.