{"id":15685155,"url":"https://github.com/watson1978/motion-pixate-observer","last_synced_at":"2025-05-07T17:22:22.012Z","repository":{"id":6532682,"uuid":"7773835","full_name":"Watson1978/motion-pixate-observer","owner":"Watson1978","description":"This gem provides a function that you changes css files, apply changes into your application that uses Pixate Framework /  Pixate Freestyle Framework immediately.","archived":false,"fork":false,"pushed_at":"2014-02-25T00:38:19.000Z","size":204,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-25T16:20:59.338Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Watson1978.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-23T12:01:42.000Z","updated_at":"2014-02-25T00:38:21.000Z","dependencies_parsed_at":"2022-08-20T23:40:54.309Z","dependency_job_id":null,"html_url":"https://github.com/Watson1978/motion-pixate-observer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Watson1978%2Fmotion-pixate-observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Watson1978%2Fmotion-pixate-observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Watson1978%2Fmotion-pixate-observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Watson1978%2Fmotion-pixate-observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Watson1978","download_url":"https://codeload.github.com/Watson1978/motion-pixate-observer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231455858,"owners_count":18379373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T17:24:03.256Z","updated_at":"2024-12-28T12:48:45.943Z","avatar_url":"https://github.com/Watson1978.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motion::Pixate::Observer\n\nThis gem provides a function that you changes css files, apply changes into your application that uses Pixate Framework  /  Pixate Freestyle Framework immediately.\n\nYou do not need rebuild your application and any operations.\nOnly update your css files.\n\nこの gem は、CSS ファイルを変更すると即座に Pixate Framework を利用したアプリに変更内容を適用するという機能を提供します。\n\nCSS ファイルを変更するたびにアプリをビルドし直す必要も、アプリ上での操作も一切必要ありません。CSS ファイルをエディタで編集し保存するだけです。\n\n## Requirements\n\n- RubyMotion 1.0 or greater (see http://www.rubymotion.com).\n- Pixate Framework 1.0 / Pixate Freestyle Framework 2.1 or greater (see http://www.pixate.com/).\n\n## Installation\n\n```\n$ gem install motion-pixate-observer\n```\n\n## Usage\n\n- Add require `motion-pixate-observer` to your `Rakefile`\n\n```ruby\nrequire 'rubygems'\nrequire 'motion-pixate-observer'\n```\n\n- include `Motion::Pixate::Observer` in Main Controller. Call `startObserving` in `viewDidLoad`.\n\n```ruby\nclass MainViewController \u003c UIViewController\n  include Motion::Pixate::Observer  # include Motion::Pixate::Observer in Main Controller\n\n  def viewDidLoad\n    super\n\n    startObserving # start searching and communicate with server\n\n    ....\n  end\n```\n\n- First, you have to start server.\n\n\n```\n$ pixate_server css_file_path\n```\n\nAfter started server, run your RubyMotion application.\n\n- update css files, apply changes immediately.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson1978%2Fmotion-pixate-observer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatson1978%2Fmotion-pixate-observer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson1978%2Fmotion-pixate-observer/lists"}