When I include MSWeakTimer.m in my iPhone XCode project, I get the following errors at line 169 of MSWeakTimer.m ( __weak typeof(self) weakSelf = self; ) - A parameter list without types is only allowed in a function definition. A corresponding warning tells me that __weak only applies to Objective-C object or block pointer types; type here is 'int'. Any idea why I get these warnings/errors, and what I should do about them?
Thanks!
Steve Harris ([email protected])
When I include MSWeakTimer.m in my iPhone XCode project, I get the following errors at line 169 of MSWeakTimer.m ( __weak typeof(self) weakSelf = self; ) - A parameter list without types is only allowed in a function definition. A corresponding warning tells me that __weak only applies to Objective-C object or block pointer types; type here is 'int'. Any idea why I get these warnings/errors, and what I should do about them?
Thanks!
Steve Harris ([email protected])