Showing posts with label css. Show all posts
Showing posts with label css. Show all posts

Thursday, 8 January 2015

CSS in Mobile Applications Open Source For iOS & Android



Hi Everyone, This is my first blog hope you'll like it. 

I'm going to introduce Pixate Freestyle framework
Freestyle is a simple, powerful way to define a native app's look and feel, using CSS.
It's 100% native, open source, and works with iOS and Android. 



 1). Create New Project
 2). Import Pixate Framework
  3). Framework Linking
4). Add other Linker flags
 5). Run Project
 6). Create CSS file in Project
  7). Defining CSS file in Project
  8). Apply CSS  class/id to UI Control
 9). Open Main.m file and Import and add Pixate
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#include <PixateFreestyle/PixateFreestyle.h>
int main(int argc, char * argv[]) {
    @autoreleasepool {
        [PixateFreestyle initializePixateFreestyle];
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
    }
}