Comments (11)
I guess that's a really good idea in the case of the missing network connection. In my apps I'm showing the internet error message whenever the user does anything that requires the internet connection.
from tsmessages.
I need this, too! I want to show some instruction on top of the view. Only dismiss after user have done some task.
from tsmessages.
How about passing -1 as duration to show a message with no limited duration which you can manually dismiss in your code? Adding another parameter just for that might be a bit too much. It would be a constant that contains the -1 value.
from tsmessages.
Yeah, good idea!
One more thing is that there is no mechanism to dismiss the view myself if I use TSMessage to showNotification,
It would be great if I can own the View object and show it, like the way I work with UIAlertView:
UIAlertView *alertView = [[UIAlertView alloc] initWith...];
[alertView show];
from tsmessages.
Oh yes, there is a way. It's not yet on Cocoapods but on the master branch: e5ab6fc
from tsmessages.
Great! Sounds really good
from tsmessages.
Super cool! Thanks 👍
PS: I still like to get the View object, just in case I want to customise it, I do change the font to be suitable with my app :)
from tsmessages.
Here we go: 9676944
Take a look at the new example code that shows you how to add this kind of message. Let me know if it works as expected, I'll update the Podspec then.
from tsmessages.
Thanks for your support @KrauseFx , I've tested it and works as expected.
from tsmessages.
Awesome. I'll create and release the Cocoapods update tomorrow.
from tsmessages.
Okay, I released the Cocoapods update. We have to wait until it gets approved by the Cocoapods Team
from tsmessages.
Related Issues (20)
- Swipe gesture doesn't work with banners over navigation bar position
- Font Type/Name should be exposed via function call, not JSON HOT 2
- the messages do not show when called recursively HOT 1
- How to detect if the TSmessage has disappeared? HOT 2
- messageIcon doesn't display HOT 1
- Show notifications from AppDelegate HOT 1
- How can I setDelegate in Swift ?
- Crashed at notificationDesign = [NSJSONSerialization JSONObjectWithData:[NSData dataWithContentsOfFile:path] options:kNilOptions error:nil]; HOT 6
- modifying font in Swift HOT 1
- Default Success Font Color Is Aweful
- TSMessages incorrect behaviour while installing via framework. HOT 1
- Swipe gesture does't work HOT 1
- Swipe gesture does't work
- cocoapods.org point to missing 0.9.13 release HOT 1
- can't set the space of titlelabel HOT 1
- Dismiss TSMessage HOT 1
- [!] Unable to find a specification for `TSMessage (~> 0.9.13)` HOT 1
- can't find picture
- Is there any plan for new version that will fix warnings? HOT 5
- Podspec for 0.9.13 missing?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsmessages.