본문 바로가기

Xcode43

Xocde sceneDelegate 사용하지 않고 AppDelegate 사용 유지하기 프로젝트 생성 시 sceneDelegate가 생성되는 걸 볼 수 있습니다. 해당 sceneDelegate를 사용하려면 기존에 AppDelegate 사용을 중단하고 AppDelegate의 코드를 sceneDelegate에 맞게 다시 작성 하셔야 하는 번거로움이 생길 수 도 있습니다. 이번에는 sceneDelegate를 사용하지않고 기존 AppDelegate를 사용하는 방법. // MARK: UISceneSession Lifecycle @available(iOS 13.0, *) func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.. 2021. 11. 1.
Swift TableView(테이블뷰) 커스텀 및 클릭이벤트 스토리보드에 TableView 하나를 추가합니다. 그 다음에 테이블 뷰 안에 이 Table View Cell 이라는 녀석을 드래그해서 넣어주세요. 해당 Cell안에 이런식으로 2개의 라벨을 좌우에 각각 배치했습니다. (원하시는 대로 이미지뷰를 배치해도 좋습니다.) 위 방법처럼 Cocoa Touch Class 하나 만들어주겠습니다. 이런식으로 라벨을 IBOulet 연결해줍니다. 다음은 메인소스 입니다. import UIKit class ViewController: UIViewController { @IBOutlet weak var myTableView: UITableView! let tableViewData1 = ["1","2","3","4","5","6","7","8","9","10","11","12"].. 2021. 10. 19.
Xcode Errors 'GoogleUtilities/GULSceneDelegateSwizzler.h' file not found 해결법 pod update 명령어로 해결했습니다! 2021. 9. 9.
Xcode Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window. 해결 디바이스의 전원을 껏다키면 해결... 2021. 9. 6.