MABGTimer icon indicating copy to clipboard operation
MABGTimer copied to clipboard

Nullability annotations and other assorted forms of Objective-C modernisation.

Open mz2 opened this issue 8 years ago • 0 comments

This PR contains the following modernisation changes:

  • Adds nullability annotations across the API.
  • Module style imports.
  • Makes the timer's object automatically nullable (instead of unsafe, unretained).
  • Hides ivar declarations in the implementation.
  • Drops some stuff that's no longer relevant with current SDKs.

You may also be interested of MPTimer – a Swift port of MABGTimer which I made just now to allow using a pure Swift object as the object with the timer.

mz2 avatar Apr 17 '16 01:04 mz2