Giter Site home page Giter Site logo

fspopoverview's People

Contributors

lifution avatar parmar-mehul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fspopoverview's Issues

很不错!!!期待加个选择后的标识

如果我点选了某一行。再次打开的时候,cell中没有标识我之前选择的哪一个,虽然是个小功能,但是可以扩展下,设置个属性是否开启标识,如果开启,那么给一些标识的枚举,打对勾、文字图标变色...等等。

封装得很好! 提需求的哦~~

封装得很好!

但需求这个东西~~呵呵,你懂的
我花了一些时间,进行了改造,不知道作者能不能有更好的办法实现. 就是在鼠标按住cell的时候,有一个高亮效果(highLight). (我只是按照项目需求进行了,相应改造,以达到项目中要求的效果;但暂时还没有用于项目中)

  • (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
    [super setHighlighted:highlighted animated:animated];
    if (highlighted) {
    // self.backgroundColor = _style == PopoverViewStyleDefault ? [UIColor colorWithRed:0.90 green:0.90 blue:0.90 alpha:1.00] : [UIColor colorWithRed:0.23 green:0.23 blue:0.23 alpha:1.00];
    self.backgroundColor = [UIColor orangeColor];
    self.contentView.backgroundColor = self.backgroundColor;
    [_button setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    NSString *highLightImageString = [NSString stringWithFormat:@"%@_highLight",self.action.imageString];
    [_button setImage:[UIImage imageNamed:highLightImageString] forState:UIControlStateNormal];

    } else {
    [UIView animateWithDuration:0.3f animations:^{
    // self.backgroundColor = [UIColor clearColor];
    self.backgroundColor = [UIColor colorWithRed:33/255.0 green:44/255.0 blue:53/255.0 alpha:0.0];
    self.contentView.backgroundColor = self.backgroundColor;
    [_button setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
    [_button setImage:[UIImage imageNamed:self.action.imageString] forState:UIControlStateNormal];
    }];
    }
    }

另外一个需求,有时候actions的个数一开始是不确定,需要请求完成,才知道个数的;并且个数有可能很多,需要tableView滚动.作者是否会考虑扩展呢.
demo 1

Not getting selected Index from FSPopoverListTextItem

Screenshot 2024-02-27 at 4 22 55 PM

Item.selectorHandler is giving item, but i need selected Index. As shown above image i am using stores which is a [String]. We are showing stores name in list and store name can be same so i was wondering if there's any way to get the selected Index from the selectedHandler Closure.

I have tried to set the tag property but couldn't find any object on which i can set it.

Any help will be appreciated. Thank you!

使用这个库之后导致 SVProgressHUD 无法显示

在 Test1ViewController 中弹出 PopoverView,
选中 PopoverView 的 item 之后 push 到 Test2ViewController (Test2ViewController 的 viewDidLoad 中 调用了 [SVProgressHUD show];
但是 SVProgressHUD 却无法显示。

FSActionSheet 不能提issue

image
微信的这个subtitle 能实现吗?现在好多社区类产品都是抄袭微信的。
FSActionSheet 貌似只兼容了iPhone X 没有兼容iPhone XR ,iPhone XS Max

内存泄漏

PopoverAction *action1 = [PopoverAction actionWithTitle:@"Title" handler:^(PopoverAction *action) { // 该Block不会导致内存泄露, Block内代码无需刻意去设置弱引用. }];
此注释有误,PopoverAction持有Block,PopoverView持有actions,actions持有PopoverAction,进而PopoverView持有Block,若此Block中持有某个控制器self,self持有PopoverView,或者此Block中持有PopoverView,则会造成循环引用。PopoverView代码中含有_actions = nil;的片段,但是没有覆盖全部场景,当点击浮层hide的时候,并没有_actions = nil;,则导致PopoverView造成内存泄漏。

悬浮按钮弹出问题

我本身点击的时候,就是一个悬浮按钮,这时候弹出的视图会有问题,是因为我之前的window视图影响吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.