I was using the Prisma app (like half of the world probably) and noticed the info bubble when you swipe with your fingers to adjust the strength of the effect.
This is my implementation (written in Swift) of this component, which comes with the Prisma look out of the box.
Continue reading TNInfoBubble – Prisma app info bubble component
What is the Sketch app Favicon Exporter?
I’ve just uploaded a Sketch app Favicon Exporter template to Github which makes it easy to generate different kinds of favicons for your website.
Continue reading Sketch app Favicon Exporter template
Last year I published TNCheckboxGroup for Objective-C, but I had a few comments it didn’t work when using with Swift. So I just published a Swift version on Github. This versions leverages UICollectionView to handle big sets of checkboxes. TNSwiftyCheckboxGroup, create checkbox groups in Swift.
Continue reading TNSwiftyCheckboxGroup, create checkbox groups in Swift
For a few iOS projects I needed a scrollview which had different UIViews with different background colors. Because it came back regularly it became cumbersome to write the whole thing over and over again. So yesterday I created a view controller which takes away the pain of writing it.
You can find the code on Github with a demo project on how to use it, but the steps are easy.
- Create an array with TNColorViewData objects and give it a background color or a reference to a custom UIView class (this class has to subclass TNColorView)
- Create a config object in which you add the array and have the possibility to set some extra properties so the view controller knows how to behave
- Present the view controller
- There is no step 4
If you have any requests, just put them in the comments or add an enhancement in the GitHub issue tracker!
I’ve just pushed some code to GitHub to easily visualise an image upload in Objective-C. Hope it could help some of you out and save you some time! The class can be easily customised via various setters to change the radius, colors, etc.
You can find the code on GitHub. If you have any requests, put them in the issues panel. I’ve tested as many scenarios as I could, but if you find any bugs, please post them as well!
ps: don’t let the name mislead you, it isn’t really sexy. I just wanted to see the effect on clicks 😉
There is now also a Swift version available: read about it here.
A few weeks back I pushed some code to GitHub to easily create checkboxes in Objective-C, but there were some limitations to the class. I’ve now updated the class so you can work with checkbox groups, like TNRadioButtonGroup.
Continue reading TNCheckBoxGroup – Custom checkboxes for Objective-C
Radio buttons for Objective-C
I just pushed some code to GitHub to easily create radio button groups in Objective-C.
I’ve created 3 classes for the most common radio buttons, but it’s really easy to extend the class with your own requirements. I’ve posted all the details on GitHub. When you toggle the radio button there is an animation. You can always override the animation method if you would like to do some other animations.
Continue reading TNRadioButtonGroup – Radio buttons for Objective-C