Re: [OT] Really quick WebObjects-Cocoa Touch crossover question
Re: [OT] Really quick WebObjects-Cocoa Touch crossover question
- Subject: Re: [OT] Really quick WebObjects-Cocoa Touch crossover question
- From: Mike Schrag <email@hidden>
- Date: Sat, 1 Aug 2009 10:41:40 -0400
Yeah, definitely you can build reusable pieces -- you can look at http://github.com/joehewitt/three20/tree/master
as an example of a well-known one ... I would suggest that the only
way to do it WELL at the UI-level (aside from things like cells, etc)
is to also build the corresponding IB palettes, though.
ms
On Aug 1, 2009, at 9:55 AM, George Domurot wrote:
Cocoa is OO, and you can create reusable elements. For example, you
can easily create a reusable UITableViewCell that takes an object to
create all the necessary display content you want in the cell.
The apps I've written are mostly coded outside of IB. However, I
would think you should still be able to blend the two.
-G
On Jul 31, 2009, at 10:34 PM, Janine Sisk wrote:
FWIW, regardless of how OT it is I would be interested in the
answers as well.
I know of one person who has built an application template that he
bases new apps on, but am not aware of anyone doing this with the
UI. I think the reliance on Interface Builder is partly to blame;
unless you code all your UI elements by hand to start with there is
nothing to reuse. Not easily, anyway. But I'd be happy to be
proven wrong.
janine
On Jul 31, 2009, at 8:44 PM, Paul Hoadley wrote:
Hello,
(I hope this isn't too far OT. Feel free to flame. :-))
Obviously a very common pattern in WO is finding common elements
in one's UI and breaking those out into a re-usable component---
encapsulation and code re-use. I've recently waded into some
Cocoa Touch development, and one of the first things I tried to do
with a UI I was create the equivalent of such a "re-usable
component". It turned out to be harder than I thought---I won't
go into the specifics, because it's even further off-topic for
this list. I just had a quick question for any WO people also
working with Cocoa Touch: am I trying to do something that would
be considered unusual on that platform? I posted on Apple's
iPhone developer forums, and got a couple of basically helpful
answers, but, to be honest, they didn't smell quite right. For
example, someone wrote:
What you're trying to do is something that no one else is doing.
There is no 'usual way.' UI's on iPhone are generally much
simpler than those on desktop apps so there's very little reason
to have plugins or component UIs like you describe.
I find this hard to believe. In any case, sorry for the off-topic
post. Feel free to limit answers to "You're crazy" or "Of course
you can make re-usable UI components", or even reply off-list.
--
Paul.
w http://logicsquad.net/
h http://paul.hoadley.name/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
---
Janine Sisk
President/CEO of furfly, LLC
503-693-6407
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden