I'm new to Objective C. I have a textview. I can append to my textview in first function.
However I cannot append in second function.ie I do not see "inside_checkd3file"
in my textview. I do not get any errors in the 2nd function. Below snippet.
How can I append text in second function to textview?
- (void)webViewDidFinishLoad:(UIWebView *)awebView{
NSString *debuglog = @"abc";
NSString *stropidm = @"123";
exporttextview.text = [exporttextview.text stringByAppendingString:debuglog]; // this WORKS
retdvalue = *[vController checkd3file:stropidm];
}
- (NSInteger*) checkd3file:(NSString*)opidmid {
NSLog(@"\ninside_checkd3file");
NSInteger retvalue =0;
NSString *debuglog = @"\ninside_checkd3file";
exporttextview.text = [exporttextview.text stringByAppendingString:debuglog]; // this NOT WORKS
return &retvalue;
}
TIA,
Steve562