-
[Codility] OddOccurrencesInArray
안녕하세요:) 썸머입니다🏝 Codlity lesson2-2 문제를 풀어보았습니다. 문제 A non-empty array A consisting of N integers is given. The array contains an odd number of elements, and each element of the array can be paired with another element that has the same value, except for one element that is left unpaired. For example, in array A such that: A[0] = 9 A[1] = 3 A[2] = 9 A[3] = 3 A[4] = 9 A[5] = 7 A[6] = 9 the elements a..
-
전략적인 기획서 작성하기 - 5W2H1T
전략적인 기획서 작성하기 - 5W2H1T 안녕하세요 썸머입니다🏝 이번에 AIhub공모전을 참여하면서 기획서를 작성하였습니다. 글쓰기 앞에서는 한낱 공대생인 저는 너무 막막하더라구요..ㅠㅠ 초반에 어떻게 작성할까 마음이 어려웠지만 5W2H1T요소를 분석해 초안을 잡고 기획서 작성을 빠르게 진행할 수 있었습니다!! 마침 지난주말에 치른 TOPCIT 시험에도 출제되어 5W2H1T가 무엇인지, 어떻게 적용하는지 포스팅하겠습니다. 5W2H1T란? 기획서의 길잡이(골격) 5W1H + 1H1T : 국어시간에 배웠던 5W1H에 1H(How much)와 1T(target)을 더한 8가지 요소 요소 설명 키워드 Who 누가 하는가? 진행자, 관계자 When 언제, 어떤 일정으로 추진하는가? 진행기간 Where 어디에서 실..
-
Carthage 설치방법 (Xcode13)
안녕하세요 썸머입니다🏝 주로 cocoapods을 사용해서 프레임워크를 사용해왔는데요 빌드 속도가 빠르다는 카르타고를 사용해보았습니다🙌 xcode버전 관련해서 설치하는데 이슈가 생겨 설치방법을 포스팅했습니다. Carthage 설치방법 (Xcode13) 1. carthage 설치 // 카르타고를 설치한 적이 없을 때 $ brew install carthage // 설치가 된 경우 $ brew upgrade carthage 2. Cartfile 생성 프로젝트( .xcodeproj)가 있는 폴더에 Cartfile을 생성합니다. 제 프로젝트 이름은 PhoneBookApp입니다. $ ls PhoneBookApp PhoneBookApp.xcodeproj $ vi Cartfile // 아래 내용을 입력해주세요. $ c..
-
Autolayout (2) - CHCR Priority
Autolayout이란 Auto Layout dynamically calculates the size and position of all the views in your view hierarchy, based on constraints placed on those views. 즉, Autolayout은 View의 크기와 위치를 제약조건(constraints)들을 사용하여 동적으로(dynamic) 결정합니다. 우리는 Autolayout을 사용해서 다양한 화면 크기에 대응할 수 있습니다. Intrinsic Content Size The natural size for the receiving view, considering only properties of the view itself. 아래 예시를 통해서 살..
-
Autolayout (1) - Constraints
Autolayout이란 Auto Layout dynamically calculates the size and position of all the views in your view hierarchy, based on constraints placed on those views. 즉, Autolayout은 View의 크기와 위치를 제약조건(constraints)들을 사용하여 동적으로(dynamic) 결정합니다. 우리는 Autolayout을 사용해서 다양한 화면 크기에 대응할 수 있습니다. Constraint 뷰를 동적으로 구성하게 하는 제약조건은 여러가지 속성을 가지고 있습니다. 이 중에서 근본적인 속성은 4가지입니다. 바로 상하좌우! ⬆️ 상: top 뷰가 위로부터 부터 떨어진 거리 ⬇️ 하: bottom..