you use externs which map the methods of the native code for whatever platform you are targetting.
i haven't used it for iOS stuff yet, but i have done externs for php and javascript. basically you provide the method names, arguments (with type) and the return type of the functions so that the compiler can check everything for you, and you stay type safe. you don't need to rewrite the actual code though, it's more liek an interface definition. so as you are writing your code you get the compiler type checking and then at runtime the external classes in the native language are called. it's a good flexible system which means you don't have to keep reinventing the wheel and can use the oodles of libraries already out there in JS/PHP etc. On 1 December 2011 00:44, Ross Sclafani <ross.sclaf...@gmail.com> wrote: > So it's effectively a c++ app, yes? > Any clue about using iOS APIs like uikit, web kit, mapkit, notifications, > etc etc with HaXe? > > Ross P. Sclafani > Design | Technology | Creative > 347.204.5714 > http://ross.sclafani.net > http://www.twitter.com/rosssclafani > > On Nov 30, 2011, at 6:14 PM, tom rhodes <tom.rho...@gmail.com> wrote: > > > yup check out ponon. was one of the top free ones, really nicely made > > tetris style game. > > > > http://itunes.apple.com/app/ponon!-free/id409576993?mt=8 > > > > On 1 December 2011 00:05, Ross Sclafani <ross.sclaf...@gmail.com> wrote: > > > >> Can anybody point to native iApps coded from HaXe? I imagine the uikit > >> views/view controllers aren't supported by this method. Anyone with > insight? > >> > >> Ross P. Sclafani > >> Design | Technology | Creative > >> 347.204.5714 > >> http://ross.sclafani.net > >> http://www.twitter.com/rosssclafani > >> > >> On Nov 30, 2011, at 5:42 PM, tom rhodes <tom.rho...@gmail.com> wrote: > >> > >>> On windows there is flashdevelop which is a good IDE. > >>> > >>> don't really get why you think there is no type checking Eugene? in all > >> the > >>> various plug-ins etc. for different editors/IDE's that support haxe the > >>> autocompletion is done by the haxe compiler so type checking goes on > all > >>> the time. > >>> > >>> you also concentrate on writing AS3 to publish HTML5+JS+CSS, you can > use > >>> haxe for that. you can also compile to iOS and android etc. etc etc. as > >>> mentioned above. > >>> > >>> PLUS you can use the same language on the server side, the php target > >> works > >>> very well and neko is very fast indeed. ah, for the server side there > is > >>> also support for nodeJS too. so you can reuse the same objects (the > very > >>> same classes) in the client and the server. this is very cool indeed. > >>> > >>> haxe is not a toy to play with, or a swiss army knife dream. it's a > very > >>> real and very usefull tool. > >>> > >>> On 30 November 2011 20:07, Matt Perkins <nudoru.m...@gmail.com> wrote: > >>> > >>>> Yep, on Windows, FlashDevelop is much better for haXe than FDT. > >>>> Haven't had luck with refactoring yet ... Maybe I'm doing it wrong > >>>> since I'm used to FDT for AS3. > >>>> > >>>> -- > >>>> Matt Perkins > >>>> ----------------- > >>>> http://www.nudoru.com > >>>> > >>>> On Nov 30, 2011, at 2:05 PM, "Merrill, Jason" > >>>> <jason.merr...@bankofamerica.com> wrote: > >>>> > >>>>> FlashDevelop IDE support HaXe, though I don't know how far it goes. > >> But > >>>> FlashDevelop does have many of those features, like refactoring for > >> example. > >>>>> > >>>>> Jason Merrill > >>>>> Instructional Technology Architect II > >>>>> Bank of America Global Learning > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> _______________________ > >>>>> > >>>>> > >>>>> -----Original Message----- > >>>>> From: flashcoders-boun...@chattyfig.figleaf.com [mailto: > >>>> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of ??????? > >> ????????? > >>>>> Sent: Wednesday, November 30, 2011 1:48 PM > >>>>> To: Flash Coders List > >>>>> Subject: Re: [Flashcoders] Switching to HaXe? > >>>>> > >>>>> Alas, HaXe still doesn't have an IDE support in a proper level to > call > >>>> it a language for real projects. It's a good toy to play with. Or > maybe > >> to > >>>> dream of a swiss-knife style language "for any purpose whatsoever". > >>>> Nevertheless, without any IDE supporting refactoring, find usages, > type > >>>> checking and all sorts of things utilized by developers, the practical > >> use > >>>> of this language seems not to be possible. > >>>>> > >>>>> As a developer with a real experience in creating IDE, I can affirm > >> that > >>>> you can expect the uprise of an editor that would provide a > >> fully-featured > >>>> HaXe support, not earlier than in one year or two (I don't count the > >>>> rudimentary HaXe support in FDT - basic code highlight and > autocomplete > >> is > >>>> clearly not enough). > >>>>> > >>>>> I also think that such a biodiversity of target platforms is more > >>>> marketing than advantage. It's enough to concentrate on platform like > >> HTML5 > >>>> (JS + HTML + CSS) and provide tools to package an application in the > >> manner > >>>> of PhoneGap. If you need a native language solution - you can always > >> write > >>>> a plugin - one more reference to the PhoneGap project. That is not > only > >>>> reasonable, but more realistic. > >>>>> > >>>>> In the late December a new version of Realaxy Editor (1.1) will be > >>>> launched. Its key feature will be JS + HTML generation from the AS3 > >> code. > >>>>> > >>>>> That means, you will be able to create HTML5 projects using the > regular > >>>> ActionScript3. > >>>>> > >>>>> ...with a debugger (breakpoints right in AS3 code). > >>>>> ...with language extensions to deal with jquery, dom, css3, d3, > >>>> processing. > >>>>> ...with flash-api support, sound, embed, inline xml, e4x. > >>>>> ...with functionality to port your Flash projects to HTML5. > >>>>> ...with WebGL shaders support (this is the next version, close to > April > >>>> 2012). > >>>>> > >>>>> As a bonus: when the JS generator is used instead of the flash/flex > >>>> compiler, building process is almost instant - see > >>>> http://www.youtube.com/watch?v=fhdmGo0MFqY&hd=1 > >>>>> In addition, Realaxy allows to combine JS and Flash in the same > project > >>>> (if you want to implement some functionality that is available only in > >>>> Flash - like working with microphone and camera in a browser - just > >> embed > >>>> small Flash insertions in your HTML5 project). > >>>>> > >>>>> In order not to get lost in the details, a small announcement. A > >> working > >>>> prototype or Realaxy 1.1 will be presented just within a few days, at > a > >>>> conference FlashGAMM 10-12 December in Kiev. Keep in touch. > >>>>> > >>>>> > >>>>>> Yeah, I didn't realize NME had been ported to all these other HaXe > >>>> targets (I may have simply misunderstood NME, I thought it was just a > >> C++ > >>>> target). > >>>>>> > >>>>>> That's just awesome. :-) > >>>>>> > >>>>>> Kevin N. > >>>>>> > >>>>>> > >>>>>> On 11/30/11 6:16 AM, tom rhodes wrote: > >>>>>>> just catching up on the thread a bit , Kevin wrote... > >>>>>>> > >>>>>>> "but it doesn't do any emulation of Flash's APIs (I'm pretty sure)" > >>>>>>> > >>>>>>> check it out... > >>>>>>> > >>>>>>> http://www.haxenme.org/api/ > >>>>>>> > >>>>>>> then have a look at all the stuff in the nme package, display, > >>>>>>> errors, events, external, filters, text etc. are all used as you > >>>>>>> would use them in flash except they compile to c++ (iOS, android, > >>>>>>> webOS, mac, pc, linux), flash and html5. > >>>>>> > >>>>>> _______________________________________________ > >>>>>> Flashcoders mailing list > >>>>>> Flashcoders@chattyfig.figleaf.com > >>>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> Flashcoders mailing list > >>>>> Flashcoders@chattyfig.figleaf.com > >>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >>>>> > >>>>> > ---------------------------------------------------------------------- > >>>>> This message w/attachments (message) is intended solely for the use > of > >>>> the intended recipient(s) and may contain information that is > >> privileged, > >>>> confidential or proprietary. If you are not an intended recipient, > >> please > >>>> notify the sender, and then please delete and destroy all copies and > >>>> attachments, and be advised that any review or dissemination of, or > the > >>>> taking of any action in reliance on, the information contained in or > >>>> attached to this message is prohibited. > >>>>> Unless specifically indicated, this message is not an offer to sell > or > >> a > >>>> solicitation of any investment products or other financial product or > >>>> service, an official confirmation of any transaction, or an official > >>>> statement of Sender. Subject to applicable law, Sender may intercept, > >>>> monitor, review and retain e-communications (EC) traveling through its > >>>> networks/systems and may produce any such EC to regulators, law > >>>> enforcement, in litigation and as required by law. > >>>>> The laws of the country of each sender/recipient may impact the > >> handling > >>>> of EC, and EC may be archived, supervised and produced in countries > >> other > >>>> than the country in which you are located. This message cannot be > >>>> guaranteed to be secure or free of errors or viruses. > >>>>> > >>>>> References to "Sender" are references to any subsidiary of Bank of > >>>> America Corporation. Securities and Insurance Products: * Are Not FDIC > >>>> Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank > >> Deposit > >>>> * Are Not a Condition to Any Banking Service or Activity * Are Not > >> Insured > >>>> by Any Federal Government Agency. Attachments that are part of this EC > >> may > >>>> have additional important disclosures and disclaimers, which you > should > >>>> read. This message is subject to terms available at the following > link: > >>>>> http://www.bankofamerica.com/emaildisclaimer. By messaging with > Sender > >>>> you consent to the foregoing. > >>>>> _______________________________________________ > >>>>> Flashcoders mailing list > >>>>> Flashcoders@chattyfig.figleaf.com > >>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >>>> > >>>> _______________________________________________ > >>>> Flashcoders mailing list > >>>> Flashcoders@chattyfig.figleaf.com > >>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >>>> > >>> _______________________________________________ > >>> Flashcoders mailing list > >>> Flashcoders@chattyfig.figleaf.com > >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >> _______________________________________________ > >> Flashcoders mailing list > >> Flashcoders@chattyfig.figleaf.com > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders