Latest | 2.0 |
---|---|
Homepage | https://github.com/hfossli/AGAssert |
License | MIT |
Authors |
Similar to NSAssert, but with slightly improved logging and is meant to ship with apps in release.
Benefits of using this over NSAssert:
- It is default on in all configurations since it uses
AG_BLOCK_ASSERTIONS
and notNS_BLOCK_ASSERTIONS
. - Slightly improved logging.
- Fewer macros and less mess.
- Does not require any description string as second parameter
The assert will raise an exception.
Recommended reading about asserts http://www.mikeash.com/pyblog/friday-qa-2013-05-03-proper-use-of-asserts.html
Latest podspec
{ "name": "AGAssert", "version": "2.0", "summary": "The better alternative to NSAssert.", "homepage": "https://github.com/hfossli/AGAssert", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Hau00e5vard Fossli": "[email protected]" }, "source": { "git": "https://github.com/hfossli/AGAssert.git", "tag": "2.0" }, "source_files": "Source/*.{h,m}", "exclude_files": "Source/*Test.{h,m}", "requires_arc": true }
Sun, 06 Mar 2016 08:30:03 +0000