Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Status Queues #29

Open
coneybeare opened this issue Jul 4, 2014 · 6 comments
Open

[Feature Request] Status Queues #29

coneybeare opened this issue Jul 4, 2014 · 6 comments

Comments

@coneybeare
Copy link

It would be great to pass in a queue of statuses so that if a bunch of status updates are sent close to one another, you could prevent flashing of them on the status bar and have them programmatically cycled after a certain duration.

MTStatusBarOverlay did this, but because that project has been abandoned, I think many migrators will find your repo and miss that feature as I have.

Do you have any plans to add a feature like this, or to add features to JDStatusBarNotification at all going forward?

@calimarkus
Copy link
Owner

I didn't plan a lot additional logic other than the basic displaying. This could be done in a complete separate wrapper class. Perhaps you want to do it? Perhaps I find time some day. Perhaps I will introduce this at least:

+ (JDStatusBarView*)showWithStatus:(NSString *)status
                        completion:(JDStatusBarCompletionBlock)completion;

@iOSXH
Copy link

iOSXH commented Jul 21, 2014

I want to add a click event ,what should i do?

@calimarkus
Copy link
Owner

calimarkus commented Jul 21, 2014

@iOSmaker that's not easily achievable with the current implementation, since the statusbar is on its own window, which will never be the key window - thus not receiving any touch events.

// edit: It's now possible in v2.0. Touches are enabled if you disable tapToHold

@pronebird
Copy link
Contributor

It would be great to see status queues.

@pronebird
Copy link
Contributor

I had to make a queue for JDStatusBarNotification today to handle clash between multiple uploads updating their status in status bar. FIFO principle, the last added activity is used to update status bar.

https://gist.github.com/pronebird/552a547e1e9a0ad6814f

@CleverLemming1337
Copy link

Maybe I can implement the queue. I would try it if you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants