I am trying to set an NSInteger
to indexPath.row * 2
but I get an error:
Incompatible integer to pointer conversation initializing 'NSInteger *' (aka 'long *') with an expression of type 'long'
Here's my code
NSInteger *titleToDelete = indexPath.row * 2;
Thanks!
NSInteger titleToDelete = indexPath.row * 2;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.