Aparajita Fishman
abaa1e81f2
Support for multiple-value bindings
...
- CPView and subclasses support multiple-value hidden bindings.
- CPControl and subclasses support multiple-value enabled bindings.
- CPWindow and CPBox support multiple-value title with pattern bindings.
- CPButton supports multiple argument + target bindings.
- CPImageView and CPTextField support multiple-value editable bindings.
- CPMenuItem supports multiple-value enabled bindings.
- Fixed bugs in CPObjectController with simple collection operators.
- CPColorWell uses black as the placeholder color.
- Runtime object attributes from a cib are applied as they are read, not deferred.
- NSNumberFormatter now reads the number style from the xib.
- Normalized some parameter names.
- Formatting.
- Test app for all binding types.
2013-02-15 12:21:13 -05:00
Aparajita Fishman
9d99b5f550
Hardly worth using a #define for something called once
2013-02-11 14:06:31 -05:00
Alexander Ljungberg
1f0ab2ab49
Fixes #1721 . Fixed: bad negative numbers from CPNumberFormatter.
...
Without this fix, CPNumberFormatter didn't format negative values well. E.g. with thousands separators on it could generate, "-,999.00".
This fix generally improves handling of negative numbers by CPNumberFormatter.
2013-01-23 22:23:50 +00:00
Martin Carlberg
c297e926f9
Compiler now works with jake and can compiler the whole Cappuccino framework. A lot of test cases still fail
2012-12-16 17:38:47 +01:00
Alexander Ljungberg
59ad8499df
Refs #1676 . Whitespace.
2012-09-24 17:05:35 +01:00
Johan Stille
eb2bb24c19
Added support for CPNumberFormatterPercentStyle in CPNumberFormatter.
2012-09-24 12:08:31 +02:00
Alexander Ljungberg
31ea0da526
CPNumberFormatter generatesDecimalNumbers support, enabled by default.
2012-08-04 13:45:45 +01:00
Alexander Ljungberg
3a2bf36359
Very basic CPNumberFormattercurrency style.
2012-08-04 13:37:42 +01:00
Alexander Ljungberg
dc0c63ccc3
Extend CPNumberFormatter CPCoding support and fix rounding default.
2012-08-04 02:31:43 +01:00
Alexander Ljungberg
534635cbc2
Fix CPNumberFormatter maximum/minimum fraction digits property name.
2012-08-04 01:21:42 +01:00
Alexander Ljungberg
a7f22a0c5a
Correct CPNumberFormatter maximumFractionalDigits default.
2012-08-04 01:09:51 +01:00
Alexander Ljungberg
b279a92e4c
CPNumberFormatter setMinimumFractionDigits: support.
2012-08-04 00:55:41 +01:00
Alexander Ljungberg
055dd7229e
Properly allow CPNumberFormatter to operate on most CPNumber types.
...
This only worked by accident before.
2012-08-04 00:48:45 +01:00
Alexander Ljungberg
a78c1bf03a
Refs #1624 . Fix grouping separator support.
...
`perMillSymbol` was incorrectly used as the grouping separator.
2012-07-21 13:13:14 +01:00
Alexander Ljungberg
7e562fa3aa
Fixes #1624 . Fix grouping for CPNumberFormatter.
2012-07-21 13:08:54 +01:00
Alexander Ljungberg
bd02ec057c
Style fix.
2012-02-24 19:44:26 +00:00
Alexander Ljungberg
da61da392b
Fixed: initialise CPNumberFormatter maximumFractionalDigits to 3.
2011-07-06 14:08:44 -04:00
Alexander Ljungberg
42220e057b
CPNumberFormatter maximum fractional digits support. Optimise by only creating CPDecimalNumberHandler when needed and caching the result.
2011-06-13 23:19:06 -07:00
Alexander Ljungberg
91509e7d36
CPFormatter support for CPControl which actually works.
2011-06-13 18:39:17 -07:00
Alexander Ljungberg
3758c86d20
CPFormatter support for CPControl.
2011-06-11 03:59:33 -07:00
Alexander Ljungberg
ada547a79d
Temporary numberFromString:.
2011-06-11 03:36:44 -07:00
Alexander Ljungberg
445adcb47f
CPNumberFormatter rounding mode support.
2011-06-10 11:41:23 -07:00
Alexander Ljungberg
4e9b975ca8
Simple CPNumberFormatter stringFromNumber for CPNumberFormatterDecimalStyle.
2011-06-10 11:23:36 -07:00
Alexander Ljungberg
0f5eee0258
nib2cib compatible CPNumberFormatter skeleton.
2011-06-05 19:27:21 -04:00