Skip to content
Guillaume Gendre edited this page Jan 31, 2017 · 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 ?

All those samples can be used by the Cobalt CLI by specifying its name :

cobaltians create myWonderfullApp [SampleName]

Or you can build them from sources, following a few steps :

  • git clone the iOS or Android repository
  • browse to the folder created.
  • run git submodule update --init to retrieve the web folders and Cobalt dependencies

In both cases, 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