Releasing Our Swipe Selector

Giving back to the beloved community of open source

Usful
Usful
Published in
3 min readAug 10, 2016

--

In order to maximize time and effort in the dev world, open source code has become an essential tool in product development. This is especially true in software-based startups, as detailed results are needed in short periods of time to show business potential and improvement. Usful, through Lane, has evidently taken advantage of open source resources, exemplified by the use of Facebook’s React Native. React Native alone has made much progress since its release in 2013 due to open source code. To give back to the community, Lane has decided to share some code to open source.

Source: https://code.facebook.com/projects/450791118411445/react-native/Facebook’s React Native

When Lane made the switch to React Native, the code library was still young and small. As more people came to understand it, more documentation was created and uploaded. This shared information helped further develop Lane during the switch from HTML. However, there were things that could not be found in the open source community. With this in mind, Lane’s next goal is to give back to the community by releasing code detailing a specific swipe selector process for mobile apps, as there is currently no such code available.

This swipe selector is a base of code that will allow users to swipe through and choose specific visual icons on a mobile device. It is a virtual rotary display which will act as a mood selector in an upcoming release of Lane. As this type of animation was not found on any open source platform, Lane chose to create it and fill the empty niche. Staying in line with the DRY principle (Don’t Repeat Yourself) and helping other devs be more efficient when creating their code, Lane is looking to polish and release our version of the swipe selector when ready.

Running Open Source Code — ExampleSwipe

There were a many concepts that helped make the swipe selector what it is. The connection of the 2 endpoints or vanishing points, the difference in linear and logarithmic visual distributions of the icons, and changes in icon size and opacity were all variables that were tested and can still be changed. In the end, this code is a base on which to build and by releasing it, Lane hopes people will make their own edits and additions, improving and further developing it to be even more useful.

Lane aims to make workplaces smarter in every way and contributing to open source is another way to achieve our goal. We are returning all the effort that we’ve benefitted from and are helping other dev teams by putting them a step ahead with reliable code as a basis to start with.

For more information visit www.joinlane.com or email us at info@joinlane.com

--

--

Usful
Usful
Editor for

Preparing people for inevitable planetary change through technology, design, and education. Be Useful. Change the World. | Toronto