전체 글


Xcode16에서 터미널을 실행하고 pod init 할 때 발생하는 오류이다. 1. Xcode 프로젝트를 열어서 Folder를 우클릭 하고 convert to Group 실행 2. xcodeproj 파일 우클릭 - 패키지 내용 보기 - project.pbxproj 파일 열기 3. [command+f] 로 내용 찾기아래 두 줄 제거minimizedProjectReferenceProxies = 1;preferredProjectObjectVersion = 77;내용 변경(77 → 55)objectVersion = 77; -> objectVersion = 56; 3. 다시 터미널에서 pod init 실행하면 성공출처https://github.com/CocoaPods/CocoaPods/issues/12583 p..

Class클래스(Class) : 객체를 생성하기 위한 틀(Templeate)클래스를 사용하면 관련된 데이터와 메서드를 하나의 단위로 묶어서 코드의 재사용성, 확장성, 유지보수성을 높일 수 있음객체(Object): 클래스를 기반으로 생성된 실체속성(Attribute): 객체가 가지는 변수 (데이터)메서드(Method): 객체가 수행할 수 있는 함수 Class 정의 및 사용방법class 클래스이름: def __init__(self, 매개변수1, 매개변수2): # 생성자 메서드 (객체 초기화) self.속성1 = 매개변수1 self.속성2 = 매개변수2 def 메서드이름(self): # 메서드 정의 pass __init__ 메서드를 사용하여 객체를..

문제 풀이Stack 개념과 동일하다.스택(Stack)은 마지막으로 입력 데이터가 먼저 출력되는 방식이다.(LIFO : Last in First out)func stack() -> Bool { let word = readLine()! var stack: [Character] = [] word.forEach { if !stack.isEmpty && stack.last! == 0//마지막데이터제거stack.removeLast()//데이터추가stack.append(0) } return Set(stack).count == stack.count}let n = Int(readLi..


UIResponder이벤트에 응답하고 처리하기 위한 추상적인 인터페이스 Class UIResponder는 UIKit의 핵심 클래스로, 사용자 이벤트(터치, 모션, 리모트 컨트롤 등) 처리하는 객체들의 Base ClassUIView, UIViewController, UIApplication 등 대부분의 UI 컴포넌트가 UIResponder를 상속 받음Responder Chain을 통해 이벤트가 전파되는 구조를 관리 이벤트 처리UIResponder에서는 4가지 유형의 이벤트를 처리할 수 있습니다.Touchoverride func touchesBegan(_ touches: Set, with event: UIEvent?) { // 터치 시작 시 동작}Motionoverride func motionEnde..


struct PlayerView: View{ @State private var isPlaying: Bool = false var body: some View{ PlayButton(isPlaying: $isPlaying) }}struct PlayButton: View{ @Binding var isPlaying: Bool var body: some View{ Button(action:{ self.isPlaying.toggle() }){ Image(systemName:isPlaying ? "pause.circle" : "play.circle") } }}사용자 인터페이스(UI) 상태 관리앱의 View 계층 구조..

fastlane 실행 중에 아래와 같은 에러가 발생하였다. Error: Unable to upload archive. Failed to get authorization for username and password 아무리 봐도 Appstore Connect 오류인 것 같은데 정확하게 설정은 해줬다고 생각했는데 앱 암호로 설정해줘야한다. 1. 아래 사이트로 접속 Apple AccountYour account you use for all Apple servicesaccount.apple.com 2. 앱 암호 생성 생성 하면 XXXX-XXXX-XXXX-XXXX 이런 식으로 생성될 것이다.(나 같은 경우는 저런 형태였다) 3. fastlane/Appfile 또는 Fastfile에 추가ENV["FASTLANE_P..