ShadyElyaski / ios-filter-control

An iOS Filter UIControl Subclass. Zero Graphics. Highly Customizable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change Request

zeeshankhan opened this issue · comments

Hi @ShadyElyaski,

I was trying to rotate your control by 90 degree but its not working. I have tried using
filter.layer.transform = CATransform3DRotate( CATransform3DIdentity,-1.57079633,0,0,1);
and
filter.transform = CGAffineTransformMakeRotation(M_PI/2);.

I have a wide length of text to display, which is not accommodating on this control so i thought of rotating it.
It would be great to see this change. Let me know your thoughts on this.

Thanks :]

Have filterValueChanged be called 2 time in one change?.

this is my code:

-(void)filterValueChanged:(SEFilterControl *) sender{
NSLog(@"%@", [NSString stringWithFormat:@"%d", sender.SelectedIndex]);
}

and one time, i see 0 0 or 1 1 or 2 2 .....

Have filterValueChanged be called 2 time in one change?.