.xib files in the iphone project on edge

54 views
Skip to first unread message

Christian Stocker

unread,
Feb 9, 2010, 12:45:43 PM2/9/10
to phonegap
Hi

I wanted to add some native controls to my iPhone phonegap project and
generally play with the view of my project. In 0.8 that was quite
obvious with the .xib files found in Ressources. Now, with the edge
version, they aren't there anymore and I didn't find them anywhere
else

Can anyone give me a hint and tell me, what I have to do, to get those
files, so I can add some native controls.

Thanks a lot

chregu

D. Rimron

unread,
Feb 9, 2010, 12:58:00 PM2/9/10
to phon...@googlegroups.com
On 09/02/2010 17:45, Christian Stocker wrote:
> Can anyone give me a hint and tell me, what I have to do, to get those
> files, so I can add some native controls.
>
Edge now uses a programatically built interface, this makes it
resolution independant and great for stuff like the iPad. :)

You'll either need to:
1) modify the objective C to add your native controls by hand; or
2) look into the plugins to see if there's one already to do as you
need/add the controls you want (eg: tabbar); or
3) reverse out the changes to 0.9edge for your own custom build
returning to a handbuilt/static interface; or
4) use 0.8.... :)

I would suggest option2, keeping the Objective C core as pure as
possible....

-Dx

Christian Stocker

unread,
Feb 10, 2010, 1:41:01 AM2/10/10
to phonegap

On Feb 9, 6:58 pm, "D. Rimron" <dar...@xalior.com> wrote:
> On 09/02/2010 17:45, Christian Stocker wrote:> Can anyone give me a hint and tell me, what I have to do, to get those
> > files, so I can add some native controls.
>
> Edge now uses a programatically built interface, this makes it
> resolution independant and great for stuff like the iPad. :)

Thanks for the answer and too bad that isn't as easy as it was with
0.8 (and I don't really like to go back to an in the near future
obsolete version :))

We plan to write an application just for the iPad with no plans for
other devices. We plan to use some of the new native controls for
this, but we also really like to write most of the functionality in
HTML/JavaScript with some connection between native code and HTML/JS,
as phonegap of course provides the possibility.

I'll look into the code and hopefully will find a solution, which
doesn't need to much Objective-C to start with :)

Greetings

christian

Christian Stocker

unread,
Feb 12, 2010, 7:35:04 AM2/12/10
to phonegap
If anyone is interested, I found a solution, the "fork" is available
here

http://github.com/chregu/phonegap-iphone

and what to do is decribed here

http://github.com/chregu/phonegap-iphone/blob/master/README.xib

chregu

Reply all
Reply to author
Forward
0 new messages