비전공자 개발일기

Type 'OOOO' does not conform to protocol 'OOOO' 본문

SWIFT/(SWIFT || Xcode)Error

Type 'OOOO' does not conform to protocol 'OOOO'

HiroDaegu 2022. 12. 30. 17:44
728x90
SMALL

'OOO' 유형이 프로토콜 'OOO'를 준수하지 않습니다.

실제 에러 화면

 

에러문 그대로 구글링해서 검색

https://stackoverflow.com/questions/48568373/codable-class-does-not-conform-to-protocol-decodable

 

Codable class does not conform to protocol Decodable

Why am I getting a "Type 'Bookmark' does not conform to protocol 'Decodable'" error message? class Bookmark: Codable { weak var publication: Publication? var indexPath: [Int] var location...

stackoverflow.com

 

분석 결과

분석 화면

 

해당 에러 해결 과정에서 느낀점

오타 주의!!!!! 😢

 

[번외]

단축키(본인에 맞게 수정 가능)
다중 커서 Ctrl + Shift + ↓(→)
파일 내 동일한 단어 다중 선택 Option + Cmd + E
문장 내 끝으로 이동 Ctrl + E

 

728x90
LIST