Home Tutorial Iphone Examples Nslog NSLog examples

 
 

Share on Google+Share on Google+
NSLog examples
Posted on: July 29, 2009 at 12:00 AM
Advertisement
In this section we will discuss the usage of NSLog function. NSLog function is used to print the value of variables on the debug console.

Programmers uses the NSLog function to debug the application. NSLog function is used to display the debug messages on the console. The NSLog function is very useful in debugging the iPhone applications.

In this NSLog tutorial series we will show you the different usages of the NSLog functions. You will also learn how to print the values of different data types.

Printing Boolean values with NSLog function
In this section we will show you how you can print the values of Boolean using NSLog.
 
Formatting the out put in NSLog function
You will learn how to display formatted output into the log message using the NSLog function.
 
Printing the String value using NSLog function
In this section you will learn how you can print the value of NSString using the NSLog function.
 
NSLog Integer Example
In this code example you will see how to print the value of int variable.
 
NSLog array example
In this tutorial we will show you how to print the values of array using the NSLog function. Printing array values on the console is important debugging technique in iPhone application debugging.
 
NSLog float example code
In this section we will see the correct example of NSLog function that prints the float value.
 
NSLog double example code
In this example we are discussing about NSLog function that actually prints the value of double.
 
NSLog Date example code
In this example code I will show you how you can print the current date using the NSLog function.
 
NSLog long example code
In this example I will show you the usage of NSLog function to print the long value on the console.
 
NSLog print NSString example code
In this example we will show you the code to print the NSString using NSLog function.
 
NSLog NSInteger example code
This example shows you how to print the value of NSInteger object with the help of NSLog function.
 
NSLog NSDictionary Example code
In this example code we will learn how to print the value of NSDictionary
 
Advertisement

Related Tags for NSLog examples:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: July 29, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com