전체 글
-
UIButtoniOS/UICatalog 2022. 3. 21. 00:23
When adding a button to your interface, perform the following steps: Set the type of the button at creation time. Supply a title string or image; size the button appropriately for your content. Connect one or more action methods to the button. Set up Auto Layout rules to govern the size and position of the button in your interface. Provide accessibility information and localized strings. Respond..
-
1005 - iOS 앱개발 기초 - ModalViewiOS/iOS기초(네이버edwith*obj-c) 2022. 3. 21. 00:11
1) Navigation Controller로 push / pop을 통해 동작을 수행 - push / pop은 같은 라인 상에서 일렬로 동작 수행 2) Modal View: 새로운 UI가 풀스크린으로 등장 1. 만들어진 MapViewController를 navigation controller에 push/pop 하지 않고 모달로 띄우기 -> view controller가 가진 메소드 중 presentViewController를 통해 : 화면을 모달로 띄울 수 있는 기능 completion : 화면에 다 뜨고 나서 뒷마무리 할때 2. back button 기능 생성 UIButton 생성 -> 화면에 띄우고 -> 버튼을 눌렀을 때 뒤로 가도록 기능 추가 (addTarget) - modal로 띄운 뷰는 dism..
-
1005 - iOS 앱개발 기초 - UINavigationBar & BarbuttonItemiOS/iOS기초(네이버edwith*obj-c) 2022. 3. 20. 23:03
Navigation Controller는 Navigation Bar를 통해 외부와 연결 - 3가지로 구성 1) 가운데 label (title, title view) 2) left / right bar button item 화면의 view들은 view의 최상위 객체인 표준 UIView 를 상속받고 있음 But navigation item들은 표준 UIView를 상속받지 않음. ==> UIBarbutton Item이라는 클래스를 사용해서 화면을 밀어넣어야 함 1. Navigation Bar에 올라가는 3가지 요소 묶음을 Barbutton Item을 통해 제어 touchMap: 에서 : 콜론은 뒤에 인자가 있다는 의미 2. detailViewController가 WorldPhotosModel을 참조하는 것 처..
-
UIPageControl / UIPageViewControliOS/UICatalog 2022. 3. 16. 10:06
In this tutorial, we’ll be discussing and implementing the UIPageControl element in our iOS Application. UIPageControl UIPageControl is inherited from UIControl. A UIPageControl displays horizontal dots with each dot corresponding to a different Page in the ViewController. A UIPageViewController is used to browse through different pages where each page is a Child View Controller. UIPageControl P..
-
UICatalog카테고리 없음 2022. 3. 14. 01:09
alert1, alert2 … 동일한 창을 매번 생성해야 하는가? 한번 생성해놓고 addAction만 하는 방법 추가해야할 사항 앱 켜자마자 테이블뷰가 보이는게 아니라 설명 먼저 뜨고 테이블뷰 ************* 네비게이션 바의 왼쪽 버튼 back으로 수정 *************** - (void)viewDidLoad { [super viewDidLoad]; // 객체 할당, 내용 생성을 동시에 self.sec1 = @[@"Simple",@"Okay/Cancel",@"Other",@"Text Entry",@"Secure Text Entry"]; self.sec2 = @[@"Okay/Cancel",@"Other"]; // 객체 할당 하고 나서 내용 생성 self.total = [@[] mutable..
-
-
URI vs URL vs URN 차이컴퓨터상식/네트워크,통신 2022. 3. 10. 10:25
✨ URI란? 은행계좌는 계좌번호, 버스는 노선번호, 사람은 주민등록번호로 구분되듯 웹 서버의 리소스 또한 각자의 이름이 있다. (클라이언트가 요청할 때 찾아야하니까, id같은 고유한 식별값이 있어야겠지!) 이때 서버 리소스 이름(식별자)을 uniform resource identifier(통합 자원 식별자), URI라고 부른다. URI는 두가지 종류가 있는데, 이는 URL과 URN이다. 즉, URL이 URI에 포함되는 개념이다❗️ ✋ 리소스란? 웹 서버는 웹 리소스를 관리하고 제공한다. 어떤 종류의 콘텐츠도 리소스가 될 수 있다. 리소스는 텍스트 파일, html파일, 워드, JPEG 이미지 파일 등의 정적 파일이 될 수도 있고, 주식거래, 인터넷 검색엔진 등 요청에 따라 콘텐츠를 생산하는 프로그램도 모..
-
1005 - iOS 앱개발 기초 - 화면전환iOS/iOS기초(네이버edwith*obj-c) 2022. 3. 10. 00:06
1. 두번째 화면에 해당하는 detailViewController 생성 detailViewController.xib에서 attribute - 배경색상 red로 변경 (확인용) 2. 화면전환을 언제하나? - 사용자가 tableview의 특정 셀을 touch했을 때 - 일반적인 버튼을 통한 target-action이 아니라 delegate패턴을 이용 - UITableViewDelegate 프로토콜에 정의되어 있는 메시지(tableView: DidSelectRowAtIndexPath)로 2번째화면 등록 1) MainTableViewController에서 pushViewController를 통해 DetailViewController를 등록 (MainTable에서 바로 DetailView를 ..