XYAddImageView *img = [[XYAddImageView alloc] initWithFrame:CGRectMake(0, 100, kScreenWidth, 100) NumberOfImageForOneLine:4];
[self.view addSubview:img];
img.delegate = self;
必须响应一下事件:
- (void)XYAddImageViewFrameDidIncrease:(XYAddImageView *)imageView;
- (void)XYAddImageViewFrameDidDecrease:(XYAddImageView *)imageView;