Reputation: 1527
I've opened my project within xCode 6 GM Seed and am now getting some new warnings. This is one warning "Incompatible pointer types initializing 'NSMutableData *' with an expression of type 'NSData *'? How to resolve this?
NSMutableData *data=[NSData dataWithContentsOfFile:pdfFileName];
Upvotes: 0
Views: 336
Reputation: 4093
change to this:
NSMutableData *data=[NSMutableData dataWithContentsOfFile:pdfFileName];
Upvotes: 2