Hi all,

I am trying a core-data sample application, from Cocoa Programming - Aaron
Hillegass.

In it there is an entity Car, with following properties:

1. condition - Int 16
2. datePurchased - Date
3. makeModel - String
4. onSpecial - Boolean
5. photo - Binary
6. price - Decimal

There are certain view objects such as-

1. TableView
2. DatePicker
3. Image Well, etc.

Some of the bindings performed are-

1. TableView -> TableColumn with NSNumberFormatter (set as currency) ->
 value: arrangedObjects.price
2. DatePicker -> value: selection.datePurchased

Problems are:

1. In TableColumn with NSNumberFormatter it is not accepting any decimal
numbers which I am entering for currency, such as - 123,00 or 123.45 or +235
or 567. It is always displaying this alert message: Formatting error.

2. Whenever I am selecting a row in table and changing its corresponding
value in date picker, it is simultaneously changing the values for other
records, ie. if for first row in table I have set it
to 12/25/2004, it is keeping it 12/25/2004 for other rows.

Can anyone help me to resolve my problems? The source code can be found
here: 
URL="http://db.tt/o9870RZ<http://www.google.com/url?sa=D&q=http://db.tt/o9870RZ&usg=AFQjCNEFKxI-FmHVUnl93xcd6LpCn22kfQ>
"

-- 
Thanks,

Devarshi
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to