Getting touches for a view with subview
===

i want to have a top view (subclass of UIView), which catches touches using 

    - (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
    - (void) touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
    ...

.h

    @interface XView : UIView<UITableViewDataSource, UITableViewDelegate>
    
    @property (nonatomic, strong) UITableView * tableView;
    
    @end

this works fine, if the view is empty, but as soon as i insert (addSubview) lets say a UITableView

    - (id)initWithFrame:(CGRect)frame 
    {
        self = [super initWithFrame:frame];
        if (self) {
            // Initialization code
    
            self.tableView = [[UITableView alloc] initWithFrame:self.frame];
            
            self.tableView.delegate = self;
            self.tableView.dataSource = self;
            
            [self addSubview:self.tableView];
            
        }
        return self;
    }

Than the touch methods inside XView are not triggered
