I have an Objective-C class. What I am doing is I am calling C functions in my objective-C class [ This C functions I implemented in one file , which is part in this sample ios
even in Blocks also you can't access instance variables right. Please check the following code snippet.
// this is simple block code
NSString* (^trimTheStr)(NSString*) = ^(NSString *str) {
[self myInstanceMethods]; // This will show error right
NSString *result = nil;
result = [str stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
return result;
};