Starting point
I have a class, say A, used by an UI view.
A has a delegate that should notify UI view and this one should be write something on screen.
Question
What is the best approach to achieve this feature?
Seems something like observer-observable pattern
Code
---A.h
@interface A : NSObject
@end
---A.m
@implementation A
-(void)fooDelegate:(FooType *)sender {
/* Here I need to notify UI (that change notificationArea.text) */
}
---UIView.h
@interface UIView : UIViewController
@property(strong, nonatomic, retain) A* a;
@property(strong, nonatomic) IBOutlet UITextField *notificationArea;
@end