No commit activity in last 3 years
No release in over 3 years
This gem provides a function that you changes css files, apply changes into your application that uses Pixate Framework immediately.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
 Project Readme

Motion::Pixate::Observer

This gem provides a function that you changes css files, apply changes into your application that uses Pixate Framework / Pixate Freestyle Framework immediately.

You do not need rebuild your application and any operations. Only update your css files.

この gem は、CSS ファイルを変更すると即座に Pixate Framework を利用したアプリに変更内容を適用するという機能を提供します。

CSS ファイルを変更するたびにアプリをビルドし直す必要も、アプリ上での操作も一切必要ありません。CSS ファイルをエディタで編集し保存するだけです。

Requirements

Installation

$ gem install motion-pixate-observer

Usage

  • Add require motion-pixate-observer to your Rakefile
require 'rubygems'
require 'motion-pixate-observer'
  • include Motion::Pixate::Observer in Main Controller. Call startObserving in viewDidLoad.
class MainViewController < UIViewController
  include Motion::Pixate::Observer  # include Motion::Pixate::Observer in Main Controller

  def viewDidLoad
    super

    startObserving # start searching and communicate with server

    ....
  end
  • First, you have to start server.
$ pixate_server css_file_path

After started server, run your RubyMotion application.

  • update css files, apply changes immediately.