Use of gems is based on the programming practice of Don't Repeat Yourself (DRY), which states that when some piece of code is ready to use and is available, why bother working on it again. The RubyMotion community may be very young right now, but it already has some amazing gems that make a lot of tiring tasks pretty easy. Some gems even target challenging functionalities in a very simple manner.
In this chapter we will cover the following RubyMotion-flavored gems:
Teacup
BubbleWrap
motion-addressbook
Designing a UI for iOS apps is a tough job, especially for developers who have worked previously on easy-to-learn-and-implement web technologies. Teacup is a gem that will make your life really easy. Teacup augments your ability to quickly design and style the views of your RubyMotion application; you can easily create layouts while keeping your code DRY.
Let's create an application and learn how easy it is to use Teacup:
$motion create...