Just a quick question about inline Objective-C: Can I declare a variable outside of a method? This seems like a really basic question but I haven't use inline objective-c before and wanted to be sure before proceeding.
Example:
Example:
B4X:
UIStackView *stackView =[[UIStackView alloc] init]; //This is outside the scope of methods.
- (void) myMehtod{
}
Last edited: