OCMockito v4.0.0 Release Notes

Release Date: 2016-09-09 // over 7 years ago
  • ๐Ÿ”– Version 4.0.0

    08 Sep 2016

    OCMockito now requires OCHamcrest v6.0.0 or higher. (Actually, it only needs v5.4.0 but v6.0.0
    ๐Ÿ‘ is better for CocoaPods/Carthage users.)

    ๐Ÿ”‹ Features:

    • โž• Added stubSingleton(โ€ฆ). "A patch for the rest of us, who know it's easier to live with the
      reality that singletons are here to stay." Thanks to: Igor Sales

    ๐Ÿ›  Fixes:

    • Prevent argument captor from capturing values twice.
    • ๐Ÿคก Prevent over-releasing mock object that is stubbed as return value for copy method.
    • ๐Ÿ›  Fixed crash comparing literals to mocked protocols.
    • ๐Ÿ›  Fixed crash describing collection containing mocked protocol.

    Project changes:

    • ๐Ÿš€ Increased deployment targets to OS X 10.9, iOS 8.0.