facebookarchive / origami

A Quartz Composer framework that enables interactive design prototyping without programming.
https://origami.design/
Other
3.26k stars 436 forks source link

Code export not working for me #45

Closed jwebcat closed 8 years ago

jwebcat commented 9 years ago

When I export a project all I get are the utility functions.

Am I missing something?

Any help is appreciated.

Thanks for this great tool, it is fantastic.!

alexeichemenda commented 9 years ago

Same here. For the "Swipe Card" example, I only have 1 file generated, and here's its content :

import "ViewController.h"

import <POP/POP.h>

import <POP/POPLayerExtras.h>

@interface ViewController () @end

@implementation ViewController

// Utilities

[EDIT] : I'm trying to export on iOS from a MBP 15" Retina on Yosemite latest's version. I've tried other examples, and they do export correctly. The ones that are not exporting for me are (I haven't tested all of them) : "Card Swiper" and "Filter Reveal".

Thanks a lot !

devSC commented 9 years ago

me too,please tell how should to do... Thanks a lot.

irshadpc commented 9 years ago

me too have the same problem.

jwebcat commented 9 years ago

For all to know I heard the update that will allow origami to export usable code is coming soon

jwebcat commented 9 years ago

I talked with some of the folks in the rebound js Facebook group. I have asked this same question there and I am awaiting a response.

jwebcat commented 9 years ago

You have to connect them to a pop animation patch. Currently pop animation patches are the only ones that can be exported. Support for the other patches is supposed to be on its way eventually.

On Fri, Mar 6, 2015, 9:57 PM lilymdwyer notifications@github.com wrote:

I'm also having the same issue with this! I'm exporting Android code and there are only blank functions.

— Reply to this email directly or view it on GitHub https://github.com/facebook/origami/issues/45#issuecomment-77675385.

pcqpcq commented 9 years ago

it works for me, with origami 2.0.2. @jwebcat was right

mRs- commented 9 years ago

same problem with the classic animation

Daemon-Devarshi commented 9 years ago

I followed this video tutorial step by step: Introduction to Origami Video and then selected Code Export -> iOS but it did not generate any file :( When I downloaded the attached prototype from this link: Introduction to Origami.zip and tried Code Export it generated the respective viewController, any ideas?

tarngerine commented 8 years ago

Hi all, as noted on the Code Export docs (and from jwebcat above) we only support a few things in Code Export right now:

http://facebook.github.io/origami/documentation/concepts/CodeExport.html

Daemon-Devarshi, hard to answer without seeing your composition. Can you open a new issue if you are still experiencing the issue?