How to link ibOutlet from subview to custom UIView Class in storyboard xcode
Here is a solution:
1) Type an IBOutlet by hands in your header file, example:
@property (strong, nonatomic) IBOutlet ProgressBarElementView *targetProgressElement;
2) Drag the pin from the code to the element in document outline zone