일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
- mrc
- 프로그래머스
- RxSwift
- 카카오맵클론
- IOS
- RC
- 앱의생명주기
- UIKit
- ARC
- hackerrank
- Swift디자인패턴
- alamofire
- Bubble Search
- Swift코딩테스트
- Safari Inspector
- Di
- TDD
- ReactorKit UnitTest
- AutoLayout
- firestore
- firebase
- 코딩테스트입문
- iOS앱 디버깅
- ios면접
- HackersRank
- algorithm
- SWIFT
- 반응형프레임워크
- unittest
- 시험에자주나오는것만
- Today
- Total
목록전체 글 (93)
샘성의 iOS 개발 일지
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/MA5sI/btshlYKZu0A/CGzwfmZY9AgM1fiYKF6v8K/img.gif)
카카오맵 검색창에 '카페'라고 검색하면 사용자 위치 근처의 카페들에 대한 검색 결과를 보여준다. 이를 구현하기 위해 키워드로 장소 검색하기' 를 사용할 것이다. 배경: 카카오 REST API KEY 발급받은 상태 + Alamofire pod install 된 상태 1. Kakao API - 키워드로 장소 검색하기 Kakao Developers 카카오 API를 활용하여 다양한 어플리케이션을 개발해보세요. 카카오 로그인, 메시지 보내기, 친구 API, 인공지능 API 등을 제공합니다. developers.kakao.com HTTP 요청 보내는 법은 간단하다. GET 메서드에 원하는 요청의 정보를 Parameter에 담아 Host에 요청을 보내면 된다. GET /v2/local/search/keyword.${..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/CX3DV/btsgJ1aPBmX/h57c9foJTm2I1aZ5Vb5gSk/img.gif)
위치 기반 서비스를 클론해보고 싶어, 평소에 가장 많이 쓰는 지도 앱인 KakapMap 클론을 하기로 했다. 오늘은 가장 우선이 되는 KakoMap API 세팅에 대해 다룰 것이다. 1. Kakao Developers에서 API Key 발급받기 & Info plist 세팅 Kakao Developers 카카오 API를 활용하여 다양한 어플리케이션을 개발해보세요. 카카오 로그인, 메시지 보내기, 친구 API, 인공지능 API 등을 제공합니다. developers.kakao.com 하단의 링크로 가서 '내 애플리케이션' 혹은 '시작하기' 버튼을 누르고 키를 발급받으면 된다. 해당 과정은 카카오톡 로그인 구현하기에서 한 과정과 동일하기에 하단의 링크 참고하면 좋을 것 같다! 카카오톡 로그인 구현하기 국민 메신..
iOS 13.0 이후 12.0 이전에는 1앱 1씬이었던 개념이 하나의 앱에서 여러개의 씬을 가질 수 있도록 바뀌었다. 이에 따라, AppDelegate가 담당한 UILifecycle (앱의 실행 상태에 따른 UI및 메모리 관리 등) 역할을 새롭게 출시된 SceneDelegate에서 맡게 되었다. AppDelegate func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions:) 앱을 메모리에 올리고, 앱을 실행할 준비가 마쳤을 때 호출되는 함수 func application(_ application: UIApplication, configurationForConnecting: ) 새로운 씬을 만들 때,..
순열 서로 다른 n개의 숫자 중, r개의 숫자를 선택하여 만들 수 있는 배열들 e.g. [1, 2, 3]이라는 배열의 숫자 중, 2가지 숫자를 골라서 만든 순열을 나열한다면 아래와 같을 것이다. array = [1, 2, 3] permutation = [1, 2], [1, 3], [2, 1], [2, 3], [3, 1], [3, 2] 잘 돌아보면 순열에는 규칙이 있다. 1. 한번 선택한 숫자는 다시 선택할 수 없다. 2. 그러므로 다음 숫자에선 '이미 선택한 숫자를 제외한' 숫자들 중 하나를 선택할 수 있게 된다. (하단 참고) array = [1, 2, 3] [1, 2] - 이미 1을 선택 했으므로, 남은 숫자는 2, 3 [1, 3] [2, 1] - 이미 2을 선택 했으므로, 남은 숫자는 1, 3 [2..
문제 설명: Given an array of bird sightings where every element represents a bird type id, determine the id of the most frequently sighted type. If more than 1 type has been spotted that maximum amount, return the smallest of their ids. Example arr = [1, 1, 2, 2, 3] There are two each of types 1 and 2, and one sighting of type 3. Pick the lower of the two types seen twice: type 1. Function Descripti..
문제 설명: Given an array of integers and a positive integer k, determine the number of [i, j] pairs where i < j and ar[i] + ar[j] is divisible by k. Example ar = [1, 2, 3, 4, 5, 6] k = 5 Three pairs meet the criteria: [1, 4], [2, 3] and [4, 6]. Function Description Complete the divisibleSumPairs function in the editor below. divisibleSumPairs has the following parameter(s): int n: the length of arr..
문제 설명: Maria plays college basketball and wants to go pro. Each season she maintains a record of her play. She tabulates the number of times she breaks her season record for most points and least points in a game. Points scored in the first game establish her record for the season, and she begins counting from there. Example scores = [12, 24, 10, 24] Scores are in the same order as the games pla..
문제 설명: There will be two arrays of integers. Determine all integers that satisfy the following two conditions: The elements of the first array are all factors of the integer being considered The integer being considered is a factor of all elements of the second array These numbers are referred to as being between the two arrays. Determine how many such numbers exist. Example a = [2, 6] b = [24, ..