본문 바로가기
[iOS Study] 간단한 iOS 앱 만들기 [iOS Study] 간단한 iOS 앱 만들기 출처 : 아론 힐리가스의 iOS 프로그래밍 -모델과 뷰는 서로 통신하지 않는다. -XIB 은 “집” 이라고 읽는다.XML Interface Builder 를 의미한다. -Xcode 에서 좌측 section 을 [네비게이터 영역], 우측 section 을 [유틸리티 영역] 이라고 부른다.유틸리티 영역의 상단의 [인스펙터(inspector)] 와 하단의 [라이브러리(library)] 로 구성된다. -프로젝트 네비게이터의 그룹은 순전히 파일을 구성하는 데만 사용되고 실제 파일 시스템에 디렉터리 형태로 만들어지지는 않는다. -인터페이스 빌더는 편집기 영역을 두 부분으로 나눈다.왼편의 [독 (dock)]과 오른편의 [캔버스 (canvas)]이다. 독은 XIB 파일 내.. 2016. 2. 12.
[ios] How to link xib file to the view controller? ( xib 파일을 view controller 에 연결하는 방법 ) How to link xib file to the view controller? ( xib 파일을 view controller 에 연결하는 방법 ) xib 파일에서 file’s owner 를 선택한다.inspector 에서 3번째 tab 인 identity inspector 를 선택한다. Custom Class 에서 연결하고 싶은 view controller 의 이름을 설정하면 된다. custom class, file owner, How to link xib file to the view controller, identity inspector, inspector, IOS, TAB, view controller, XIB, xib 파일을 view controller 에 연결하는 방법, 설정, 이름 2015. 7. 4.
iOS Simulator Home 버튼이 보이지 않아요. iOS Simulator Home 버튼이 보이지 않아요. Xcode 4 버전대에서는 시뮬레이터 자체에 홈 버튼이 있었다고 하는데,Xcode 5 부터는 이게 사라진 것으로 보인다. 시뮬레이터의 홈 버튼 UI 는 사라졌지만Command + Shift + H 로 홈 버튼 클릭의 효과를 줄 수 있다. Multi tasking window 는 홈 버튼 더블클릭이 원래 아이폰의 명령어이기 때문에Command + Shift + H + H 를 하면 멀티테스크 윈도우로 이동한다. 요런것들이 사실 Menu 에 보면 대충 다 있기 때문에메뉴를 열심히 보는 습관을 길러야겠다. command shift h, iOS Simulator Home 버튼이 보이지 않아요., Menu, multitasking window, simulat.. 2015. 6. 30.
illegal configuration launch screens may not have connections illegal configuration launch screens may not have connections 위의 에러를 마딱뜨렸다면 당신은 아마도 LaunchScreen.xib 에 뭔가를 진행했을 것이다.LaunchScreen.xib 는 다른 목적으로 설계된 녀석으로( iOS8 & Xcode 6 에서 등장 ) 이 녀석 말고,무언가를 만들고 싶다면 새롭게 xib 를 만들어서 사용해야 한다. 기존에 LaunchScreen.xib 에 연결한 무언가는 다 끊어줘야 제대로 컴파일 된다. Configuration, Illegal, illegal configuration launch screens may not have connections, ios8, launch, launchscreen.xib, screens.. 2015. 6. 20.
Objective-C 고급 ( Advanced Objective-C ) Objective-C 고급 ( Advanced Objective-C ) 출처 : http://www.tutorialspoint.com/objective_c/objective_c_classes_objects.htm > - class 는 @interface 와 @implementation 의 두 파트로 나뉘어 정의된다. - 대부분이 objects 를 상속한다. - objects 는 메세지를 받기 때문에 receiver 로 불리기도 한다. - Properties 는 다른 class 에서의 access 를 접근하도록 도와준다. - ex) @interface Box:NSObject { double length; double breadth; } @property(nonatomic, readwrite) double .. 2015. 6. 18.
Objective-C 의 기본 ( Basic Objective-C ) Object-C 의 기본 ( Basic Objective-C ) 출처 : http://www.tutorialspoint.com/objective_c/ > - OOP 언어로 Smalltalk-style 을 C 언어 에 가미한 언어이다. Apple 의 OSX 와 iOS 에서 공식적으로 사용되는 언어이다. > - Object-C 는 OOP 의 4가지 조건 ( Encapsulation, Data hiding, Inheritance, Polymorphism ) 을 모두 만족시키는 언어이다. - Foundation Framework 는 아래 명시된 기능들을 비롯해 많은 기능을 제공한다. * NSArray, NSDictionary, NSSet 과 같은 data type 을 제공 * file, string 등 많은 u.. 2015. 6. 16.
Xcode Line Delete Shortcut ( 라인 삭제 단축키 ) Xcode Line Delete Shortcut ( 라인 삭제 단축키 ) control + A + K + K control + A moves the cursor to the beginning position of the line.control + K removes all following characters in the line.seoncd control + K removed the empty line. control + A 는 커서를 해당 라인의 첫번째 위치로 옮긴다.control + K 는 커서 뒤에 따라오는 해당 라인의 모든 문자들을 삭제한다.두번째 control + K 는 빈 라인을 제거한다. 2015. 6. 2.
[ios] View Controller 간의 transition control 하기. 출처 : iOS Developer Library View Controller 간의 transition control 하기. - 현재 하는 일을 잠시 멈추고, 다른 view set 을 보여주는 것을 말한다. android에서 activity 를 띄우는 것과 매우 비슷한 개념이다. 보통은 다른 view controller 보여주기 기능은 user 로부터 중요한 정보를 입력받기 위해서 쓰는 경우가 많다. 어떻게 다른 view controller 를 부여주는가? - 보여진 view controller 는 특별한 타입의 UIViewController 가 아니다. 어떤 view controller 든 보여질 수 있다. 이 때 controller 간 relationship 을 이루며 보여진다. 현재 보여지는 view.. 2012. 11. 5.
[ios] UIAlertView 와 delegate callback function. UIAlertView 와 delegate callback function. - ios의 UIAlertView 는 android 의 AlertDialog 에 매칭되는 녀석이다. UIAlertView *alert = [UIAlertView alloc] initWithTitle:@"Alert View" message:@"This is alert view" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"yes", @"no"; [alert show]; [alert release]; - (void) alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger) buttonIndex { if (.. 2012. 11. 5.
반응형