From: Steve H. <st...@we...> - 2013-02-20 20:42:56
|
Thanks for the example. The iphone-hybrid skeleton doesn't seem to be working in the latest SVN trunk (or in any version that I have tried). It gives me an error saying ".classpath" file cannot be found. If I create a dummy one and place it in the iphone-hybrid templates directory, it will build the project, but won't create most of the resources (no src directories etc...). It would be really nice to be able to just generate all of the sources for my business logic and be able to easily include them in an existing Xcode project. So far I haven't had much luck with this as manually adding the dependencies (GC, etc..) has been painful. Perhaps it is just inexperience with Xcode. The only thing that I have been able to get partially working is to generate a project using the iphone skeleton, then modify the build files to remove the entry points of the app and include my own objective-c classes. I would be interested in hearing any solutions that anyone has come up with for developing business logic in Java/XMLVM and using Xcode for the GUI. Steve On Thu, Feb 14, 2013 at 7:26 PM, Kensuke Matsuzaki <mat...@ki...> wrote: > I write platform independent code in Java, and UI related code in obj-c like this. > https://github.com/k-matsuzaki/xmlvm-aobench > > This just calls java from c by xmlvm name mangling. >> aoRender = __NEW_org_xmlvm_demo_aobench_AO(); >> org_xmlvm_demo_aobench_AO___INIT____int_int(aoRender, imageWidth, imageHeight); > > I'm sorry, I don't know well how to go with org.xmlvm.iphone.* or org.xmlvm.ios.* > > On 2013/02/15 5:50, Steve Hannah wrote: >> Thanks for the tip. How are you handling outlets and actions with the >> .xib file? E.g. If I have a button in the .xib file and I want a >> click to be handled by Java code. I know I could break out a native >> method and implement a view controller in Objective-C, but I'm curious >> if there is a way to do it with the org.xmlvm.iphone.* Java classes. >> >> -Steve >> >> On Wed, Feb 13, 2013 at 9:32 PM, Kensuke Matsuzaki >> <mat...@ki...> wrote: >>> Hi, >>> >>> If .xib is OK, there is --skeleton=iphone-hybrid option. > > -- > mat...@ki... > 松崎 憲介 (MATSUZAKI Kensuke) -- Steve Hannah Web Lite Solutions Corp. |