본문 바로가기

IT/iOs

Incompatible integer to pointer conversion assigning to 'int *' from 'int' 오류

Incompatible integer to pointer conversion assigning to 'int *' from 'int'

 

속성에 assign 추가해주거나 포인터 제거하면됨

 

@property (nonatomic, assign) int myInt;

'IT > iOs' 카테고리의 다른 글

2020 iOS 보안 이슈  (0) 2021.03.04
Missing or invalid signature 문제  (0) 2020.06.03
카탈리나 ios9, ios8 시물레이터 지원 중단  (0) 2020.02.01
배경 터치시 현재 뷰컨트롤러 내리기  (0) 2020.01.29
생체인증 구현하기  (0) 2020.01.14