Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'assign' and 'weak' are mutually exclusive

I am trying TwitPic to post Image with Text over Twitter using GSTwitPicEngine class, which use YAJLiOS,

So i add YAJLiOS framework in my project and, i am getting this('assign' and 'weak' are mutually exclusive) error in the file "YAJLParser.h" that is in YAJLiOS framework. showing Error in the following line-

@property (assign, nonatomic) __weak id <YAJLParserDelegate> delegate;

When i remove the __weak it becomes Apple Mach-O Linker (Id) Error.

Please help.How to handle this kinda errors.I am not getting the reason.

like image 634
Naina Soni Avatar asked Jan 31 '26 16:01

Naina Soni


1 Answers

silly me ...

try

@property (unsafe_unretained, nonatomic) id <YAJLParserDelegate> delegate;
like image 70
OverToasty Avatar answered Feb 03 '26 07:02

OverToasty