Question:
Does anyone know how to use objective-C.?
anonymous
2008-06-18 02:20:45 UTC
I am using it in the iPhone SDK.
Three answers:
niiro13
2008-06-18 10:00:39 UTC
Yes.



But because of the NDA that we all agree to when we use the SDK, there's a lack of tutorials and/or videos.



The documentation is all you need, though. Take a look at the iPhone OS Application Tutorial.



A lot of programming comes from skills. If you find Objective-C difficult, then start with C, C++, or Java just to get an idea. The most difficult part of programming is figuring out how to use the concepts that are the same in all languages. Sure, the syntax is different (C uses printf and C++ uses cout) but they do the same thing. So it's more of developing your ability to utilize all these same techniques.



Even the professionals haven't seen the API before they received the SDK two weeks before March 6th. But they can make programs really easily because they know that the iPhone OS uses the exact same skills as any other programming langauge.



Unfortunately, Objective-C is probably the most difficult language as there are some things that don't carry over (like from what I've seen, there's no boolean variable).



So either look into the documentation provided (that's as much as anyone is allowed to tell you...and as much as you're allowed to tell anyone) or take a course on Java, C, or C++.
GeMni KinG
2008-06-18 02:25:22 UTC
You have to do all development on a Mac, you have to have an iPhone (emulators are not for production testing), you have to be a partner in the Apple developer program and you have to write code in Objective-C.



Objective what? Objective-C is a language that sits on top of C++ C. It has some dynamic features and the syntax will instantly remind you of

SmallTalk. Actually I shrug to the idea of writing code that looks like SmallTalk with C++ like constructs. Sounds like sweet and sour Chinese food

to me (it reminds me of the ugly "new" operator that is off place in Javascript). But Apple has done a great job with Cocoa (the MacOS X interface toolkit) and CocoaTouch (the one designed for touch interfaces, iPhone, iPodTouch and soon iTablet). The API is very elegant and clean (I still yearn for the BeOS API though, will always do).





Hope this information helps u a lot
anonymous
2008-06-18 02:27:46 UTC
dunno


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...