Saturday, June 6, 2020

Build Cross-Platform Apps For Both iOS And OSX With Chameleon Framework

Chameleon is development framework for OSX the non-programmers to web mapping application using MapServer easily. Chameleon works as a drop-in replacement for UIkit; the basic tool you need to implement graphical, event-driven app in iOS framework.

Sean Heber and Craig Hockenberry built the Chameleon framework, an open source project. Both are senior developers from the software company Iconfactory, they developed Twitteriffic app for both iOS and OSX. Now they have created Chameleon to aid their own port of Twitteriffic from iOS to OSX.

The project site states that it is possible to port some applications from iOS to OSX, and no change is required in code. Chameleon however can still provide users a desktop OS experience instead of a multi touch experience. How to translate the multi touch experience into a traditional desktop experience? To do so, Chameleon incorporates the standard OSX AppKit framework and transitions between UIKit and AppKit depending on the context. For example, for text entry on OSX Chameleon will use AppKit instead of bringing up an on-screen keyboard.

“Prior to the creation of Chameleon, we were looking at only being able to re-use about 25-30% of our code from iOS in the Mac version,” the site says. “By porting UIKit instead of the individual view and controller classes, we were able to re-use 90% of our iOS code.”

“Our approach with Chameleon was to use native AppKit constructs in the context of UIKit,” the site says. “The glue that holds these two frameworks together is Core Animation.”

The creators of Chameleon are selling Chameleon t-shirts for $250 to fun this open source project, as many open source projects are funded by subsidiary services or products. One may argue that a Chameleon T-shirt can be produced at cost less than $250, but it’s also no secret that this source code is potentially worth much more than $250 to your software development business. So in my view, everyone should support Chameleon as this project benefits everyone.

Developers have expressed some doubt over whether Chameleon’s upright user experience on OSX, and translation from one platform to another. Time will better answer the scepticism. Chameleon can be downloaded from Github.

Recent Articles

What Big Tech Companies Admit to Collect About You?

Privacy has been a general concern among public all over the world. It has been intense in developed countries where 'ways to...

8 Common Misconceptions about Refurbished Macbooks

Generally, as tech users - we are not to keen on buying refurbished / used technology. This applies to all sorts of...

10 Tips to protect your smart home from a cyber attack in 2020

The definition of a smart home is rapidly changing with the evolution of technology. Consumers can now easily adapt IoT devices thus;...

16 Awesome tools to Improve Writing Skills

At one point in our lives, we all were novice writers. There was a time where we couldn’t write in between the...

7 Best Video Editing Apps for Mobile Content Creators

DIY (Do It Yourself) video production is on the rise. Requirements being content idea, decent camera or smartphone; an app / tool...

Related Stories

Leave a Reply

%d bloggers like this: