전체 글(315)
-
iOS) HTTP에 대해서
HTTP 프로토콜 특징 HTTP 프로토콜은 상태가 없는(stateless) 프로토콜입니다. 여기서 상태가 없다라는 말은 데이터를 주고 받기 위한 각각의 데이터 요청이 서로 독립적으로 관리가 된다는 말입니다. 좀 더 쉽게 말해서 이전 데이터 요청과 다음 데이터 요청이 서로 관련이 없다는 말. 이러한 특징 덕택에 서버는 세션과 같은 별도의 추가 정보를 관리하지 않아도 되고, 다수의 요청 처리 및 서버의 부하를 줄일 수 있는 성능 상의 이점이 생깁니다. HTTP 프로토콜은 일반적으로 TCP/IP 통신 위에서 동작하며 기본 포트는 80번. client와 server의 관계라고 볼 수 있음 URL Client가 서버에 자원을 요청하기 위해 입력하는 영문 주소 이 URL을 이용하면 서버에 특정 데이터를 요청할 수 ..
2022.01.19 -
M1노트북에서는 simulator로 실행이 안되나요?
https://stackoverflow.com/questions/65717863/xcode-m1-run-designed-for-iphone Xcode M1: Run Designed for iPhone Hello fellow [iOS] Developers! I've just got my M1 MacBook Pro and been loving how we can test our Apps without even using our mobile devices (props to Apple!!) So far, I was able to test the app stackoverflow.com
2022.01.18 -
Undefined symbol: _OBJC_CLASS_$_NMFPolygonOverlay 어쩌구 에러로 고통받을때
http://susemi99.kr/6178/ NaverMap iOS SDK 빌드 오류 – 쎄미 susemi99.kr https://xodhks0113.blogspot.com/2019/07/git-lfs.html git-lfs 설정하기 iOS 개발 및 일상에 대한 블로그 입니다. xodhks0113.blogspot.com https://branched-wolverine-c06.notion.site/2022-01-18-NMPolygonOverlay-3e39c1348e3347ab911760e927b76d72 2022.01.18 NMPolygonOverlay~와 같은 오류 발생했을때 step1) 에러 발견 branched-wolverine-c06.notion.site
2022.01.18 -
m1 맥북 Executable Not Found ,Xcode 에러로 고통받고있다면..!
https://developer.apple.com/forums/thread/697559 Executable Not Found ,Xcode | Apple Developer Forums Ah, that’s unfortunate that clearing build artifacts didn’t resolve the issue. Which Xcode version are you using? This could also be a bug in Xcode, so it might be worth filing a bug report on Feedback assistant. developer.apple.com
2022.01.17 -
프로그래머스 1단계) 자릿수 더하기
문제 제출한 답안 func solution(_ n:Int) -> Int { var num = String(n) var arr = [Character]() for i in num { arr.append(i) } var arr2 = arr.map {$0.wholeNumberValue!}.reduce(0) {$0 + $1} return arr2 } 유의미한 답안 Q13. 자릿수 더하기 func solution(_ n:Int) -> Int{ return String(n).map {Int(String($0))!}.reduce(0,+) } 테스트케이스2가 런타임 에러가 났었는데 예외가 뭐가 있을까 생각하다가 내 코드가 String(n).map {Int(String($0))!}.reduce(0) {$0+$1} 이었는..
2021.12.05 -
프로그래머스 1단계) 자연수 뒤집어 배열로 만들기
문제 1차 답안 func solution(_ n:Int64) -> [Int] { var str = String(n)//"12345" var arr = str.map { String($0) }.sorted(by: >).map {Int($0)!} print(arr) return arr } 2차 시도(정답) func solution(_ n:Int64) -> [Int] { var str = String(n) var arr1 = str.map { String($0) }//["1", "2", "3", "4", "5"] var arr2 = [String]() var arr3 = [Int]() var newNum = arr1[arr1.count-1] //print(arr2)//"5" for i in 1.. [Int] ..
2021.12.05