Skip to content
MICHEL Jérôme edited this page Jan 29, 2018 · 8 revisions

Here is a list of samples hosted on the Cobaltians Samples Repository

HelloWorld Sample

This sample contains only one page with a simple Cobalt pullToRefresh enabled.

Name Plugins enabled iOS repository Android repository Web repository
HelloWorld none Samples-HelloWorld-iOS Samples-HelloWorld-Android Samples-HelloWorld-Web

Catalog Sample

This sample contains a developper demonstration of all features and plugins available in Cobaltians Plugins repository.

Name Plugins enabled iOS repository Android repository Web repository
Catalog none Samples-Catalog-iOS Samples-Catalog-Android Samples-Catalog-Web

This one can also be downloaded on the stores :

SideMenu Sample

This sample can be used as a starting block for an app with a side menu on the left.

Name Plugins enabled iOS repository Android repository Web repository
SideMenu none Samples-SideMenu-iOS Samples-SideMenu-Android Samples-SideMenu-Web

How to try them ?

Use Git to try a sample from its Android or iOS repository url from the tables above (the Web folder is just if you wan to see the common web content) :

git clone https://github.com/Cobaltians-Samples/Samples-HelloWorld-Android.git
//or
git clone https://github.com/Cobaltians-Samples/Samples-HelloWorld-iOS.git

Then go to the created folder and don't forget to init git submodules :

git submodule update --init

Then, open the project with XCode or Android Studio

  • Xcode : double click on the xcworkspace file if present or the xcodeproj otherwise
  • Android Studio : select "Import project (Eclipse ADT, Gradle, etc.)" and select the project folder.

And click the play button.

More to come

We have more samples in our backlog including a Side Menu Sample, A kitten gallery sample.

Want another sample ? Contact us !

Submit yours !

You have done a great sample and want to share it to the community for reviews, glory and enhancements?

Get in touch to submit yours on this list! As Cobalt is an Open Source framework under MIT license, keep in mind that your sample must be in MIT Licence or compatible!

Clone this wiki locally