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
Thanks,
Monaj
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
Thanks,
Monaj