mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 23:45:52 +00:00
Bug fixes.
This commit is contained in:
1 parent
45f74386b8
commit
63d5c442a3
4 files changed
+14
-4
No files matched your search
@@ -35,7 +35,7 @@ var CPCibBindingConnectorBindingKey = @"CPCibBindingConnectorBindingKey",
|
||||
|
||||
- (id)initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
if (self = [super initWithCoder:coder])
|
||||
if (self = [super initWithCoder:aCoder])
|
||||
{
|
||||
_binding = [aCoder decodeObjectForKey:CPCibBindingConnectorBindingKey];
|
||||
_keyPath = [aCoder decodeObjectForKey:CPCibBindingConnectorKeyPathKey];
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
@import "_NSCornerView.j"
|
||||
@import "NSArrayController.j"
|
||||
@import "NSBox.j"
|
||||
@import "NSButton.j"
|
||||
@import "NSCell.j"
|
||||
@@ -43,6 +44,7 @@
|
||||
@import "NSMenu.j"
|
||||
@import "NSMenuItem.j"
|
||||
@import "NSNibConnector.j"
|
||||
@import "NSObjectController.j"
|
||||
@import "NSOutlineView.j"
|
||||
@import "NSPopUpButton.j"
|
||||
@import "NSResponder.j"
|
||||
|
||||
@@ -2,4 +2,10 @@
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSNumberFormatter : CPObject
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -27,13 +27,15 @@
|
||||
- (id)NS_initWithCoder:(CPCoder)aCoder
|
||||
{
|
||||
self = [super init];
|
||||
|
||||
|
||||
if (self)
|
||||
{
|
||||
_declaredKeys = [aCoder decodeObjectForKey:@"NSDeclaredKeys"];
|
||||
_objectClassName = CP_NSMapClassName([aCoder decodeObjectForKey:@"NSObjectClassName"]);
|
||||
|
||||
if (!_objectClassName)
|
||||
var className = [aCoder decodeObjectForKey:@"NSObjectClassName"];
|
||||
if (className)
|
||||
_objectClassName = CP_NSMapClassName(className);
|
||||
else
|
||||
_objectClass = [CPMutableDictionary class];
|
||||
|
||||
_editable = [aCoder decodeBoolForKey:@"NSEditable"];
|
||||
|
||||
Reference in new issue
Block a user