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.
- โ Added