일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 코드스니펫
- 회고
- ios 개발 강의
- IOS
- uikit
- copy-on-write
- 주간 달력
- AnyObject
- 파스칼표기법
- weekly calendar
- 글또9기
- class
- unrecognized selector sent to class
- error해결
- Switch
- struct
- Git
- 다짐글
- 내_삶
- 연관값
- SWIFT
- 생명주기
- K디지털기초역량훈련
- 바이트디그리
- 제어전송문
- MyLife
- avaliable
- 글또
- On branch is up to date with ' '
- actionSheet
- Today
- Total
목록IOS/Error (3)
seong_hye, the developer

UIKit 화면을 코드로 만드는 연습을 하던 중 아래와 같은 화면을 만들어 'dice game'이라는 버튼을 누름과 동시에 reason: '+[BasicsApps.ViewController tapDiceGameButton:]: unrecognized selector sent to class위와 같은 오류가 발생하며 화면이 종료되었다.나의 코드는 다음과 같았다.private let diceGameButton: UIButton = { let button = UIButton() button.setTitle("DICE GAME", for: .normal) button.setTitleColor(.black, for: .normal) button.layer.mask..

xcode를 git에 연결 후아무런 생각없이 storyboard 지우고 commit 하려고 하자 다음과 같은 오류가 발생하였다.On branch 브랜치이름Your branch is up to date with 'origin/브랜치이름'.Changes not staged for commit: (use "git add/rm ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: ../BasicsApps.xcodeproj/project.pbxproj deleted: Base.lproj/Main.storyboard modified: SceneDeleg..