Tuesday 15 June 2010

objective c - Mute NSAssert warning -



objective c - Mute NSAssert warning -

i compiled project -weverything , see nsassert calls have warning

must specify @ to the lowest degree 1 argument '...' parameter of variadic macro

nsassert(no, @"this class cannot instantiated!");

the right prepare add together nil argument statements prefer mute warning. possible?

cheers

add next parameters other c flags in xcode build settings turns off nsassert in project:

-dns_block_assertions=1

objective-c xcode llvm

No comments:

Post a Comment