Xcode 4.0.2
프로젝트 새로 만들기
-Xcode 4.0.2를 시작하고, 메뉴에서 File>New>iOS Application>View-based Application을 선택한 후 “프로젝트 이름 (예를 들어, hello)”를 적고 확인버튼을 누른다.
코드추가
– helloViewController.xib를 클릭하고, Interface Builder를 불러들인 후 뷰컨트롤러 안에 컨트롤을 선택하여 넣는다.
– 슬라이더와 레벨을 각각 선택한 후, 속성창을 열고 세부내용을 수정한다.
– xib에 컨트롤에 대한 outlet과 action 코드작성을 위해 헤더파일(helloViewController.h)에 직접 연결하고, 구현파일(helloViewController.m)안에 action 코드의 내부를 작성한다.
– 빌드와 실행(cmd + r)
You can grab this code from here.1299734858.zip
Category Archives: iPhone Programming
Getting Started
Hardware & Software Requirement:
– Hardware: Intel-based Macintosh, running Mac OS X 10.6 Snow Leopard
– Software: iPhone SDK iOS 4.3 & Xcode 4.0.2
Apple Developer Account
– http://developer.apple.com/programs/start/register/create.php
Download and Install Xcode 4.0.2
– Xcode 4.0.2 includes iOS 4.3 SDK
– uninstall a previous version of Xcode on the console window
“sudo /Developer/Library/uninstall-devtools -mode=all”
– install Xcode 4.0.2 (required Mac OS X 10.6.6)
Launch Xcode 4.0.2
– open “Macintosh HD” (finder) and then go to >Developer>Applications>Xcode
XCode4 Transition Guide
XCode4 Transition Guide
http://developer.apple.com/library/ios/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009984-CH1-SW1
Make Connections Directly with Source Code
http://developer.apple.com/library/ios/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/InterfaceBuilder/InterfaceBuilder.html#//apple_ref/doc/uid/TP40009984-CH6-SW10
How To Uninstall Xcode Completely
http://pushkararora.com/how-to/how-to-uninstall-xcode-completely/
Getting Started
Getting set up for iOS development
http://www.icodeblog.com/2011/07/18/back-to-basics-getting-set-up-for-ios-development/
http://adeem.me/blog/2009/07/03/getting-started-with-iphone-development/
Hello iPhone (View-based Application)
http://www.icodeblog.com/2011/08/17/back-to-basics-hello-iphone/
http://adeem.me/blog/2009/07/03/beignner-iphone-sdk-hello-world-tutorial-first-application/
From C++ to Objective-C
From C++ to Objective-C
http://pierre.chachatelier.fr/programmation/fichiers/cpp-objc-en.pdf
Object-Oriented Programming with Objective-C
Objective-C: A Primer
http://developer.apple.com/library/ios/#referencelibrary/GettingStarted/Learning_Objective-C_A_Primer/_index.html#//apple_ref/doc/uid/TP40007594
http://developer.apple.com/library/ios/navigation/