So I have:
@interface testAppControl : NSObject
{
NSString *s;
}
and then in my block I want to do
[SendAPI setGroupWithNam
Is not totally clear why and what you want to do so I give you 3 options:
s
outside the block, it will be copied inside
automatically inside the block__block
specifier, pay attention that if you are changing that var in an async process, the value after the block will be most probably useless static
put it will be "visible" only inside the block