I put a UIActivityIndicatorView on my storyboard screen and from the storyboard screen I dragged the UIActivityIndicatorView to the .h file of my controller and it created this in my .h file:
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *spinner;
But when I started working in the .m file, it didn't place the property there automatically, and when I tried to put this in there:
@property (nonatomic, retain) UIActivityIndicatorView *spinner;
which gave the error
Illigal declaration of property in the continuation class xyz, property must be readWrite...
Does anyone know why this is happening? And how do I fix it? :)
Thanks!