Josh Highland

Purveyor Of Awesome Tech

Purveyor Of Awesome Tech

Read my book
Shopify Empire: The best SEO book for Shopify
Shopify Empire

Outputting a BOOL in NSLog

By Josh Highland in iPhone app dev, tutorials August 6, 2010

Ever wanted to use NSLog in the iPhone SDK to see the value of a BOOL? Heck I have! “How do you do it”, you say? Just like this:

NSLog(@"BOOL =  %@\n", (boolVar ? @"YES" : @"NO"));

Then again, I don’t use NSLog anymore, I use DebugLog

Tags booliPhoneNSLogxcode
ColdFusion powered iPhone Applications
Macbook Pro – Make an external monitor your primary display

Related Articles.

Instagram iPhone App Cache Size

19 Mar, 2012

Review: Instagram for iPhone

04 Jan, 2011

iPhone text tones are now possible!

05 Oct, 2010

ColdFusion powered iPhone Applications

04 Aug, 2010

CFUnited 2010 here I come!

20 Jul, 2010

Who is Josh Highland?

Josh Highland

Josh Highland is an entrepreneur, app developer, and author from Redlands Ca.

Josh is also the CEO and founder of venntov

Learn More



Categories

Archives

Like what you see?

Send me a tip via Bitcoin
1ByPGUZbiaf7mLLQaFY9tsiuQ8ti3o6EtD

Or get something from my
Amazon wishlist

Proudly powered by WordPress. Theme: DW Minion by DesignWall.