OCMockito v1.1.0 Release Notes
-
30 Oct 2013
๐ Features:
- โ Added MKTArgumentCaptor to capture arguments:
- Use
capture
to capture the argument. This must be used inside of verification. - Use
value
to return the captured value. - Use
allValues
to return an array of all captured values.
- Use
๐ Improvements:
- ๐ Changed mock object factory methods to cast to
(id)
to eliminate AppCode warnings. - โ Added support for 64-bit iOS devices.
- Convert primitive arguments to objects using NSInvocation+OCMockito by Taras Kalapun.
๐ Examples & Documentation:
- โก๏ธ Updated examples so they are based on Apple's templates for main target vs. test target. Added CocoaPods examples.
- ๐ Eliminated DocSet. Documentation will be in the main README and in the OCMockito wiki, https://github.com/jonreid/OCMockito/wiki/_pages
- โ Added MKTArgumentCaptor to capture arguments: