 |
 |
xcode - help required
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Status:
Offline
|
|
Hi
I am looking to create a piece of software which can analyse the nutritional value of products.
The core elemets will consist of the user entering the name etc for the product, and then enterting quantities used from lists of ingredients (split into categories).
From here, the nutritional value should be calculated by multiplying the amount used by the amount of calories etc in each ingredient.
The final output will be that the totals are colaborated into a 'package label', displaying the lists of ingredients against a table of nutritional values.
Does anybody have any suggestion as to how I might go about this? This is the first time I have ever used the xCode pack.
Thanks
Jamesl
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2001
Status:
Offline
|
|
Well... the easiest way is probably using RealBASIC, but using Xcode I would say learn some basic Cocoa programming. Doing a search on this forum should get you started, some other good resources are developer.apple.com and cocoadev.com
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Status:
Offline
|
|
Thanks for that info.
My reason for choosing xCode is because I have got access to it, as oppose to real Basic which I only own a trial version of.
Does anybody have any rough hints or tips as to how the various sections of this may work?
Thanks, James
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Aug 2001
Status:
Offline
|
|
Originally posted by jamesl:
Thanks for that info.
My reason for choosing xCode is because I have got access to it, as oppose to real Basic which I only own a trial version of.
Does anybody have any rough hints or tips as to how the various sections of this may work?
Thanks, James
Code:
---------------------
| |
| 2 column |
| NSTableView |
| |
---------------------
|+|-|
result
I'm thinking something like that. Then you can use bindings to hook the table view to an NSArrayController and the result field to the sum of the calories column. Clicking the + button can bring up a sheet with a list of ingredients loaded from a file. This would definitely take some Cocoa learning for a beginner to do though  There are probably easier (if, imo, less slick) ways of doing it in Cocoa.
<edit> dang UBB messing up my formatting </edit>
(Last edited by Catfish_Man; Oct 19, 2004 at 01:20 PM.
)
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |