|May 15, 2008, 09:24 AM||#1|
have problem for objective-c which is used on iphone
Right now i am learning objective-c because i have to develop one web application for iphone.
I cant understand that how can i print string in objective-c and meaning of "NSLog" and their syntax
Pls help me its urgent
|May 15, 2008, 09:46 AM||#2|
I am *just* learning Objective-C. Luckily, I took a C (and C++) class years ago and it's all coming back to me as I read on. And from what I've read, haven't programmed yet, it should be.
NSLog(@"something to output");
Also, I believe you need to include the Foundation framework (I think). That's where NSLog is hiding out.
If you're referencing variables the syntax is a little different. Check out cocoadevcentral.com. I also downloaded a PDF called Become an XCoder. It was linked in one of the threads under Programming recently. Also, books are valuable too. Check out Amazon.
The only thing that seems to increase over the years is that nonsense multiplies.
|May 16, 2008, 12:23 AM||#3|
thank your reply
i know that nslog is about for printing something but syntax of nslog i cant understand. means where can i use NSLog and so what is difference between NSLog and printf.....
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Danger signs to be on the lookout for when buying a 3GS on Craigslist for unlocking?||Granitel||Jailbreaks and iOS Hacks||5||Nov 13, 2011 08:28 AM|
|Quick question...Which firmware is jailbreakable on iPhone 4? Tethered? Untethered?||WiiDSmoker||Jailbreaks and iOS Hacks||7||Dec 28, 2010 01:05 PM|
|Weird icon in status bar on my iPhone 3G - I have no clue what it is!||kidpaul1||iPhone Tips, Help and Troubleshooting||2||Nov 3, 2010 06:29 PM|
|i know how many 3g iphones just one att store will have in my town which is small||Vegan TJ||iPhone||16||Jul 3, 2008 10:56 PM|
|Having problems upgrading to 1.1.2 on OTB 1.1.3 iPhone||mikelong622||Jailbreaks and iOS Hacks||6||Feb 10, 2008 12:31 PM|
All times are GMT -5. The time now is 10:24 AM.