Objective-C 方法未被调用
我有一个头文件,其中包含一个名为的方法
-(NSString*)parsePureTextFromHTML:(NSURL*):URL
,在我的 mainViewController 中,我调用该方法
NSURL* URL = (some url goes here)
NSString* string = [parser parsePureTextFromHTML:URL]
,由于某种原因,就好像该方法永远不会被调用。有什么想法吗?
I have a header file with a method called
-(NSString*)parsePureTextFromHTML:(NSURL*):URL
and in my mainViewController I call the method
NSURL* URL = (some url goes here)
NSString* string = [parser parsePureTextFromHTML:URL]
and for some reason it is as if the method never gets called. Any thoughts?
它应该是
-(NSString*)parsePureTextFromHTML:(NSURL*)URL
(删除最后一个:
)it should be
-(NSString*)parsePureTextFromHTML:(NSURL*)URL
(remove last:
)