- Renamed&Moved the NSXML* classes into NSPropertyList/NSOldXML*. These are being replaced by classes that adhere to the API documentation but are still needed to read plists while the new classes are being worked on.

- Added method starting points for NSXML*, NSOpenGL*, NSSegmented*, NSNib, NSURLRequest,NSURLResponse,NSURLConnection,NSURLAuthenticationChallenge,NSHTTPURLResponse,NSShadow,NSClassDescription

- Added blank starting points for NSIndexPath,NSValueTransformer,NSNetService*,NSDistributed*,NSDatePicker*,NSSortDescriptor,NSMetadata*,NSDecimal*

- Moved NSAffineTransform into Foundation/

- Changed KGImage_context into KGLayer
This commit is contained in:
Christopher Lloyd 2007-03-19 02:52:21 +00:00
parent 291d859a1e
commit 9d9ccbe544
107 changed files with 3881 additions and 380 deletions

View File

@ -9,7 +9,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/Foundation.h>
#import <AppKit/NSActionCell.h>
#import <AppKit/NSAffineTransform.h>
#import <Foundation/NSAffineTransform.h>
#import <AppKit/NSAlert.h>
#import <AppKit/NSApplication.h>
#import <AppKit/NSArrayController.h>
@ -36,6 +36,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/NSController.h>
#import <AppKit/NSCursor.h>
#import <AppKit/NSCustomImageRep.h>
#import <AppKit/NSDatePicker.h>
#import <AppKit/NSDatePickerCell.h>
#import <AppKit/NSDocument.h>
#import <AppKit/NSDocumentController.h>
#import <AppKit/NSDragging.h>
@ -71,6 +73,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/NSNibOutletConnector.h>
#import <AppKit/NSObjectController.h>
#import <AppKit/NSOpenPanel.h>
#import <AppKit/NSOpenGLContext.h>
#import <AppKit/NSOpenGLView.h>
#import <AppKit/NSOpenGLPixelBuffer.h>
#import <AppKit/NSOpenGLPixelFormat.h>
#import <AppKit/NSOutlineView.h>
#import <AppKit/NSPageLayout.h>
#import <AppKit/NSPanel.h>

View File

@ -12,7 +12,6 @@
6E14EC6B09A3C40F009C8693 /* NSTIFFReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E14EC6709A3C40F009C8693 /* NSTIFFReader.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E14EC6C09A3C40F009C8693 /* NSTIFFReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E14EC6809A3C40F009C8693 /* NSTIFFReader.m */; };
6E2B53260976075200DA0954 /* NSActionCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2B53250976075200DA0954 /* NSActionCell.m */; settings = {ATTRIBUTES = (); }; };
6E2B53280976075200DA0954 /* NSAffineTransform.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2B53270976075200DA0954 /* NSAffineTransform.m */; settings = {ATTRIBUTES = (); }; };
6E2B532A0976075200DA0954 /* NSAlertPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2B53290976075200DA0954 /* NSAlertPanel.m */; settings = {ATTRIBUTES = (); }; };
6E2B532C0976075200DA0954 /* NSApplication.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2B532B0976075200DA0954 /* NSApplication.m */; settings = {ATTRIBUTES = (); }; };
6E2B532E0976075200DA0954 /* NSAttributedString.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2B532D0976075200DA0954 /* NSAttributedString.m */; settings = {ATTRIBUTES = (); }; };
@ -119,7 +118,6 @@
6E2B53FB0976075200DA0954 /* AppKitExport.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2B53FA0976075200DA0954 /* AppKitExport.h */; settings = {ATTRIBUTES = (Public, Project, ); }; };
6E2B53FD0976075200DA0954 /* AppKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2B53FC0976075200DA0954 /* AppKit.h */; settings = {ATTRIBUTES = (Public, Project, ); }; };
6E2B53FF0976075200DA0954 /* NSActionCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2B53FE0976075200DA0954 /* NSActionCell.h */; settings = {ATTRIBUTES = (Public, Project, ); }; };
6E2B54010976075200DA0954 /* NSAffineTransform.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2B54000976075200DA0954 /* NSAffineTransform.h */; settings = {ATTRIBUTES = (Public, Project, ); }; };
6E2B54030976075200DA0954 /* NSAlertPanel.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2B54020976075200DA0954 /* NSAlertPanel.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E2B54050976075200DA0954 /* NSApplication.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2B54040976075200DA0954 /* NSApplication.h */; settings = {ATTRIBUTES = (Public, Project, ); }; };
6E2B54070976075200DA0954 /* NSAttributedString.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2B54060976075200DA0954 /* NSAttributedString.h */; settings = {ATTRIBUTES = (Public, Project, ); }; };
@ -499,9 +497,7 @@
FE064AD80B8B805000853FBB /* CGShading.m in Sources */ = {isa = PBXBuildFile; fileRef = FE064ABA0B8B805000853FBB /* CGShading.m */; };
FE064AD90B8B805000853FBB /* KGColor.h in Headers */ = {isa = PBXBuildFile; fileRef = FE064ABB0B8B805000853FBB /* KGColor.h */; settings = {ATTRIBUTES = (Private, ); }; };
FE064ADA0B8B805000853FBB /* KGColor.m in Sources */ = {isa = PBXBuildFile; fileRef = FE064ABC0B8B805000853FBB /* KGColor.m */; };
FE064ADD0B8B805000853FBB /* KGImage_context.h in Headers */ = {isa = PBXBuildFile; fileRef = FE064ABF0B8B805000853FBB /* KGImage_context.h */; settings = {ATTRIBUTES = (Private, ); }; };
FE064ADE0B8B805000853FBB /* KGImage_context.m in Sources */ = {isa = PBXBuildFile; fileRef = FE064AC00B8B805000853FBB /* KGImage_context.m */; };
FE064ADF0B8B805000853FBB /* KGLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = FE064AC10B8B805000853FBB /* KGLayer.h */; };
FE064ADF0B8B805000853FBB /* KGLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = FE064AC10B8B805000853FBB /* KGLayer.h */; settings = {ATTRIBUTES = (Private, ); }; };
FE064AE00B8B805000853FBB /* KGLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = FE064AC20B8B805000853FBB /* KGLayer.m */; };
FE064AE10B8B805000853FBB /* KGPath.h in Headers */ = {isa = PBXBuildFile; fileRef = FE064AC30B8B805000853FBB /* KGPath.h */; settings = {ATTRIBUTES = (Private, ); }; };
FE064AE20B8B805000853FBB /* KGPath.m in Sources */ = {isa = PBXBuildFile; fileRef = FE064AC40B8B805000853FBB /* KGPath.m */; };
@ -637,9 +633,15 @@
FE64B91A0B81239D007EE513 /* KGShading.m in Sources */ = {isa = PBXBuildFile; fileRef = FE64B8E00B81239D007EE513 /* KGShading.m */; };
FE64B9220B8123F1007EE513 /* CGImage.h in Headers */ = {isa = PBXBuildFile; fileRef = FE64B9200B8123F1007EE513 /* CGImage.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE64B9230B8123F1007EE513 /* CGImage.m in Sources */ = {isa = PBXBuildFile; fileRef = FE64B9210B8123F1007EE513 /* CGImage.m */; };
FE6DC16C0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6DC16A0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE6DC16D0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.m in Sources */ = {isa = PBXBuildFile; fileRef = FE6DC16B0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.m */; };
FE6DC3DE0BA9A6EB0082AC66 /* NSDatePicker.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6DC3DC0BA9A6EB0082AC66 /* NSDatePicker.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE6DC3DF0BA9A6EB0082AC66 /* NSDatePicker.m in Sources */ = {isa = PBXBuildFile; fileRef = FE6DC3DD0BA9A6EB0082AC66 /* NSDatePicker.m */; };
FE6DC3F00BA9A7100082AC66 /* NSDatePickerCell.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6DC3EE0BA9A7100082AC66 /* NSDatePickerCell.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE6DC3F10BA9A7100082AC66 /* NSDatePickerCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FE6DC3EF0BA9A7100082AC66 /* NSDatePickerCell.m */; };
FEEF00590B96441800069FD1 /* CGPDFPage.h in Headers */ = {isa = PBXBuildFile; fileRef = FEEF00570B96441800069FD1 /* CGPDFPage.h */; settings = {ATTRIBUTES = (Public, ); }; };
FEEF005A0B96441800069FD1 /* CGPDFPage.m in Sources */ = {isa = PBXBuildFile; fileRef = FEEF00580B96441800069FD1 /* CGPDFPage.m */; };
FEF33C010B93543C00DC0B6F /* KGMutablePath.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF33BFF0B93543C00DC0B6F /* KGMutablePath.h */; };
FEF33C010B93543C00DC0B6F /* KGMutablePath.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF33BFF0B93543C00DC0B6F /* KGMutablePath.h */; settings = {ATTRIBUTES = (Private, ); }; };
FEF33C020B93543C00DC0B6F /* KGMutablePath.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF33C000B93543C00DC0B6F /* KGMutablePath.m */; };
/* End PBXBuildFile section */
@ -694,7 +696,6 @@
6E14EC6809A3C40F009C8693 /* NSTIFFReader.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSTIFFReader.m; sourceTree = "<group>"; };
6E2B53220976074C00DA0954 /* AppKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AppKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6E2B53250976075200DA0954 /* NSActionCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NSActionCell.m; sourceTree = "<group>"; };
6E2B53270976075200DA0954 /* NSAffineTransform.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NSAffineTransform.m; sourceTree = "<group>"; };
6E2B53290976075200DA0954 /* NSAlertPanel.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NSAlertPanel.m; sourceTree = "<group>"; };
6E2B532B0976075200DA0954 /* NSApplication.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NSApplication.m; sourceTree = "<group>"; };
6E2B532D0976075200DA0954 /* NSAttributedString.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NSAttributedString.m; sourceTree = "<group>"; };
@ -801,7 +802,6 @@
6E2B53FA0976075200DA0954 /* AppKitExport.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppKitExport.h; sourceTree = "<group>"; };
6E2B53FC0976075200DA0954 /* AppKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppKit.h; sourceTree = "<group>"; };
6E2B53FE0976075200DA0954 /* NSActionCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NSActionCell.h; sourceTree = "<group>"; };
6E2B54000976075200DA0954 /* NSAffineTransform.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NSAffineTransform.h; sourceTree = "<group>"; };
6E2B54020976075200DA0954 /* NSAlertPanel.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NSAlertPanel.h; sourceTree = "<group>"; };
6E2B54040976075200DA0954 /* NSApplication.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NSApplication.h; sourceTree = "<group>"; };
6E2B54060976075200DA0954 /* NSAttributedString.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NSAttributedString.h; sourceTree = "<group>"; };
@ -1182,8 +1182,6 @@
FE064ABA0B8B805000853FBB /* CGShading.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = CGShading.m; sourceTree = "<group>"; };
FE064ABB0B8B805000853FBB /* KGColor.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = KGColor.h; sourceTree = "<group>"; };
FE064ABC0B8B805000853FBB /* KGColor.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = KGColor.m; sourceTree = "<group>"; };
FE064ABF0B8B805000853FBB /* KGImage_context.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = KGImage_context.h; sourceTree = "<group>"; };
FE064AC00B8B805000853FBB /* KGImage_context.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = KGImage_context.m; sourceTree = "<group>"; };
FE064AC10B8B805000853FBB /* KGLayer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = KGLayer.h; sourceTree = "<group>"; };
FE064AC20B8B805000853FBB /* KGLayer.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = KGLayer.m; sourceTree = "<group>"; };
FE064AC30B8B805000853FBB /* KGPath.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = KGPath.h; sourceTree = "<group>"; };
@ -1320,6 +1318,12 @@
FE64B8E00B81239D007EE513 /* KGShading.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = KGShading.m; sourceTree = "<group>"; };
FE64B9200B8123F1007EE513 /* CGImage.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = CGImage.h; sourceTree = "<group>"; };
FE64B9210B8123F1007EE513 /* CGImage.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = CGImage.m; sourceTree = "<group>"; };
FE6DC16A0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSOpenGLPixelBuffer.h; sourceTree = "<group>"; };
FE6DC16B0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSOpenGLPixelBuffer.m; sourceTree = "<group>"; };
FE6DC3DC0BA9A6EB0082AC66 /* NSDatePicker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSDatePicker.h; sourceTree = "<group>"; };
FE6DC3DD0BA9A6EB0082AC66 /* NSDatePicker.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSDatePicker.m; sourceTree = "<group>"; };
FE6DC3EE0BA9A7100082AC66 /* NSDatePickerCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSDatePickerCell.h; sourceTree = "<group>"; };
FE6DC3EF0BA9A7100082AC66 /* NSDatePickerCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSDatePickerCell.m; sourceTree = "<group>"; };
FEEF00570B96441800069FD1 /* CGPDFPage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CGPDFPage.h; sourceTree = "<group>"; };
FEEF00580B96441800069FD1 /* CGPDFPage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CGPDFPage.m; sourceTree = "<group>"; };
FEF33BFF0B93543C00DC0B6F /* KGMutablePath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KGMutablePath.h; sourceTree = "<group>"; };
@ -1363,15 +1367,13 @@
6E2B53240976075200DA0954 /* Classes */ = {
isa = PBXGroup;
children = (
FE267E7F0B8BCB660000DDC0 /* ImageIO */,
6E2B53FC0976075200DA0954 /* AppKit.h */,
6E2B53FA0976075200DA0954 /* AppKitExport.h */,
6E2B55B20976075300DA0954 /* CoreGraphics */,
FE267E7F0B8BCB660000DDC0 /* ImageIO */,
6E2B55100976075300DA0954 /* nib */,
6E2B53FE0976075200DA0954 /* NSActionCell.h */,
6E2B53250976075200DA0954 /* NSActionCell.m */,
6E2B54000976075200DA0954 /* NSAffineTransform.h */,
6E2B53270976075200DA0954 /* NSAffineTransform.m */,
FE2A101D0B44A201006C03DE /* NSAlert.h */,
FE2A101E0B44A201006C03DE /* NSAlert.m */,
6E2B54020976075200DA0954 /* NSAlertPanel.h */,
@ -1427,6 +1429,10 @@
6E2B53550976075200DA0954 /* NSCursorRect.m */,
6E2B54300976075200DA0954 /* NSCustomImageRep.h */,
6E2B53570976075200DA0954 /* NSCustomImageRep.m */,
FE6DC3DC0BA9A6EB0082AC66 /* NSDatePicker.h */,
FE6DC3DD0BA9A6EB0082AC66 /* NSDatePicker.m */,
FE6DC3EE0BA9A7100082AC66 /* NSDatePickerCell.h */,
FE6DC3EF0BA9A7100082AC66 /* NSDatePickerCell.m */,
6E2B54320976075200DA0954 /* NSDisplay.h */,
6E2B53590976075200DA0954 /* NSDisplay.m */,
6E2B54340976075200DA0954 /* NSDocument.h */,
@ -1847,8 +1853,6 @@
6E2B55BC0976075300DA0954 /* KGGraphicsState.m */,
FE64B8AF0B81239D007EE513 /* KGImage.h */,
FE64B8B00B81239D007EE513 /* KGImage.m */,
FE064ABF0B8B805000853FBB /* KGImage_context.h */,
FE064AC00B8B805000853FBB /* KGImage_context.m */,
FE064AC10B8B805000853FBB /* KGLayer.h */,
FE064AC20B8B805000853FBB /* KGLayer.m */,
FEF33BFF0B93543C00DC0B6F /* KGMutablePath.h */,
@ -2042,6 +2046,8 @@
children = (
6E2B56B90976075400DA0954 /* NSOpenGLContext.h */,
6E2B56B20976075400DA0954 /* NSOpenGLContext.m */,
FE6DC16A0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.h */,
FE6DC16B0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.m */,
6E2B56BB0976075400DA0954 /* NSOpenGLPixelFormat.h */,
6E2B56B40976075400DA0954 /* NSOpenGLPixelFormat.m */,
6E2B56BD0976075400DA0954 /* NSOpenGLView.h */,
@ -2248,7 +2254,6 @@
6E2B53FB0976075200DA0954 /* AppKitExport.h in Headers */,
6E2B53FD0976075200DA0954 /* AppKit.h in Headers */,
6E2B53FF0976075200DA0954 /* NSActionCell.h in Headers */,
6E2B54010976075200DA0954 /* NSAffineTransform.h in Headers */,
6E2B54030976075200DA0954 /* NSAlertPanel.h in Headers */,
6E2B54050976075200DA0954 /* NSApplication.h in Headers */,
6E2B54070976075200DA0954 /* NSAttributedString.h in Headers */,
@ -2536,7 +2541,6 @@
FE064AD50B8B805000853FBB /* CGPattern.h in Headers */,
FE064AD70B8B805000853FBB /* CGShading.h in Headers */,
FE064AD90B8B805000853FBB /* KGColor.h in Headers */,
FE064ADD0B8B805000853FBB /* KGImage_context.h in Headers */,
FE064ADF0B8B805000853FBB /* KGLayer.h in Headers */,
FE064AE10B8B805000853FBB /* KGPath.h in Headers */,
FE064AE30B8B805000853FBB /* KGPattern.h in Headers */,
@ -2548,6 +2552,9 @@
FE267EB90B8BD2690000DDC0 /* KGBitmapContext.h in Headers */,
FEF33C010B93543C00DC0B6F /* KGMutablePath.h in Headers */,
FEEF00590B96441800069FD1 /* CGPDFPage.h in Headers */,
FE6DC16C0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.h in Headers */,
FE6DC3DE0BA9A6EB0082AC66 /* NSDatePicker.h in Headers */,
FE6DC3F00BA9A7100082AC66 /* NSDatePickerCell.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -2682,7 +2689,6 @@
buildActionMask = 2147483647;
files = (
6E2B53260976075200DA0954 /* NSActionCell.m in Sources */,
6E2B53280976075200DA0954 /* NSAffineTransform.m in Sources */,
6E2B532A0976075200DA0954 /* NSAlertPanel.m in Sources */,
6E2B532C0976075200DA0954 /* NSApplication.m in Sources */,
6E2B532E0976075200DA0954 /* NSAttributedString.m in Sources */,
@ -2965,7 +2971,6 @@
FE064AD60B8B805000853FBB /* CGPattern.m in Sources */,
FE064AD80B8B805000853FBB /* CGShading.m in Sources */,
FE064ADA0B8B805000853FBB /* KGColor.m in Sources */,
FE064ADE0B8B805000853FBB /* KGImage_context.m in Sources */,
FE064AE00B8B805000853FBB /* KGLayer.m in Sources */,
FE064AE20B8B805000853FBB /* KGPath.m in Sources */,
FE064AE40B8B805000853FBB /* KGPattern.m in Sources */,
@ -2977,6 +2982,9 @@
FE267EBA0B8BD2690000DDC0 /* KGBitmapContext.m in Sources */,
FEF33C020B93543C00DC0B6F /* KGMutablePath.m in Sources */,
FEEF005A0B96441800069FD1 /* CGPDFPage.m in Sources */,
FE6DC16D0BA85BEC0082AC66 /* NSOpenGLPixelBuffer.m in Sources */,
FE6DC3DF0BA9A6EB0082AC66 /* NSDatePicker.m in Sources */,
FE6DC3F10BA9A7100082AC66 /* NSDatePickerCell.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

View File

@ -37,7 +37,7 @@ enum {
};
@class KGColor,KGColorSpace,KGShading,KGImage,KGGraphicsState,KGMutablePath,KGPath,KGPattern,KGLayer,KGPDFPage,NSMutableArray;
@class KGRenderingContext,KGColor,KGColorSpace,KGShading,KGImage,KGGraphicsState,KGMutablePath,KGPath,KGPattern,KGLayer,KGPDFPage,NSMutableArray;
@interface KGContext : NSObject {
NSMutableArray *_layerStack;
@ -48,6 +48,8 @@ enum {
-initWithGraphicsState:(KGGraphicsState *)state;
-(KGRenderingContext *)renderingContext;
-(void)setAllowsAntialiasing:(BOOL)yesOrNo;
-(void)beginTransparencyLayerWithInfo:(NSDictionary *)unused;

View File

@ -37,6 +37,11 @@ static inline KGGraphicsState *currentState(KGContext *self){
return [self->_stateStack lastObject];
}
-(KGRenderingContext *)renderingContext {
return [currentState(self) renderingContext];
}
-(void)setAllowsAntialiasing:(BOOL)yesOrNo {
_allowsAntialiasing=yesOrNo;
}
@ -513,7 +518,7 @@ static inline KGGraphicsState *currentState(KGContext *self){
}
-(void)drawLayer:(KGLayer *)layer inRect:(NSRect)rect {
NSUnimplementedMethod();
[[self renderingContext] drawLayer:layer inRect:rect ctm:[currentState(self) ctm]];
}
-(void)drawPDFPage:(KGPDFPage *)page {
@ -530,11 +535,11 @@ static inline KGGraphicsState *currentState(KGContext *self){
}
-(void)beginPage:(const NSRect *)mediaBox {
[[[_stateStack lastObject] renderingContext] beginPage];
[[self renderingContext] beginPage];
}
-(void)endPage {
[[[_stateStack lastObject] renderingContext] endPage];
[[self renderingContext] endPage];
}
// temporary
@ -581,15 +586,15 @@ static inline KGGraphicsState *currentState(KGContext *self){
}
-(void)beginDocument {
[[[_stateStack lastObject] renderingContext] beginDocument];
[[self renderingContext] beginDocument];
}
-(void)scalePage:(float)scalex:(float)scaley {
[[[_stateStack lastObject] renderingContext] scalePage:scalex:scaley];
[[self renderingContext] scalePage:scalex:scaley];
}
-(void)endDocument {
[[[_stateStack lastObject] renderingContext] endDocument];
[[self renderingContext] endDocument];
}
@end

View File

@ -9,15 +9,19 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
@class KGContext,NSDictionary;
@class KGContext,NSDictionary,KGRenderingContext;
@interface KGLayer : NSObject {
KGContext *_context;
NSSize _size;
NSDictionary *_unused;
NSSize _size;
NSDictionary *_unused;
KGRenderingContext *_renderingContext;
}
-initRelativeToContext:(KGContext *)context size:(NSSize)size unused:(NSDictionary *)unused;
-initRelativeToRenderingContext:(KGRenderingContext *)context size:(NSSize)size unused:(NSDictionary *)unused;
-initWithSize:(NSSize)size;
-(KGRenderingContext *)renderingContext;
-(KGContext *)context;
-(NSSize)size;

View File

@ -8,15 +8,44 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
// Original - Christopher Lloyd <cjwl@objc.net>
#import "KGLayer.h"
#import <AppKit/KGContext.h>
#import <AppKit/Win32DeviceContextBitmap.h>
@implementation KGLayer
-initRelativeToContext:(KGContext *)context size:(NSSize)size unused:(NSDictionary *)unused {
_size=size;
_unused=[unused retain];
_renderingContext=[[Win32DeviceContextBitmap alloc] initWithSize:size deviceContext:(Win32DeviceContext *)[context renderingContext]];
return self;
}
-initRelativeToRenderingContext:(KGRenderingContext *)context size:(NSSize)size unused:(NSDictionary *)unused {
_size=size;
_unused=[unused retain];
_renderingContext=[[Win32DeviceContextBitmap alloc] initWithSize:size deviceContext:(Win32DeviceContext *)context];
return self;
}
-initWithSize:(NSSize)size {
_size=size;
_unused=nil;
_renderingContext=[[Win32DeviceContextBitmap alloc] initWithSize:size];
return self;
}
-(void)dealloc {
[_unused release];
[_renderingContext release];
[super dealloc];
}
-(KGRenderingContext *)renderingContext {
return _renderingContext;
}
-(KGContext *)context {
return nil;
return [_renderingContext graphicsContextWithSize:_size];
}
-(NSSize)size {

View File

@ -22,6 +22,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-(void)addCurveToControlPoint:(NSPoint)cp1 endPoint:(NSPoint)endPoint withTransform:(CGAffineTransform *)matrix;
-(void)closeSubpath;
-(void)relativeMoveToPoint:(NSPoint)point withTransform:(CGAffineTransform *)matrix;
-(void)addRelativeLineToPoint:(NSPoint)point withTransform:(CGAffineTransform *)matrix;
-(void)addRelativeCurveToControlPoint:(NSPoint)cp1 controlPoint:(NSPoint)cp2 endPoint:(NSPoint)endPoint withTransform:(CGAffineTransform *)matrix;
-(void)addLinesWithPoints:(NSPoint *)points count:(unsigned)count withTransform:(CGAffineTransform *)matrix;
-(void)addRect:(NSRect)rect withTransform:(CGAffineTransform *)matrix;
@ -34,4 +38,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-(void)addPath:(KGPath *)path withTransform:(CGAffineTransform *)matrix;
-(void)applyTransform:(CGAffineTransform)matrix;
@end

View File

@ -135,6 +135,37 @@ static void expandPointCapacity(KGMutablePath *self,unsigned delta){
_operators[_numberOfOperators++]=KGPathOperatorCloseSubpath;
}
-(void)relativeMoveToPoint:(NSPoint)point withTransform:(CGAffineTransform *)matrix {
NSPoint current=[self currentPoint];
point.x+=current.x;
point.y+=current.y;
[self moveToPoint:point withTransform:matrix];
}
-(void)addRelativeLineToPoint:(NSPoint)point withTransform:(CGAffineTransform *)matrix {
NSPoint current=[self currentPoint];
point.x+=current.x;
point.y+=current.y;
[self addLineToPoint:point withTransform:matrix];
}
-(void)addRelativeCurveToControlPoint:(NSPoint)cp1 controlPoint:(NSPoint)cp2 endPoint:(NSPoint)endPoint withTransform:(CGAffineTransform *)matrix {
NSPoint current=[self currentPoint];
cp1.x+=current.x;
cp1.y+=current.y;
cp2.x+=current.x;
cp2.y+=current.y;
endPoint.x+=current.x;
endPoint.y+=current.y;
[self addCurveToControlPoint:cp1 controlPoint:cp2 endPoint:endPoint withTransform:matrix];
}
-(void)addLinesWithPoints:(NSPoint *)points count:(unsigned)count withTransform:(CGAffineTransform *)matrix {
int i;
@ -229,4 +260,11 @@ static void expandPointCapacity(KGMutablePath *self,unsigned delta){
}
}
-(void)applyTransform:(CGAffineTransform)matrix {
int i;
for(i=0;i<_numberOfPoints;i++)
_points[i]=CGPointApplyAffineTransform(_points[i],matrix);
}
@end

View File

@ -22,8 +22,8 @@ enum {
KGPathOperatorMoveToPoint,
KGPathOperatorLineToPoint,
KGPathOperatorCurveToPoint,
KGPathOperatorCloseSubpath,
KGPathOperatorQuadCurveToPoint,
KGPathOperatorCloseSubpath
};
@interface KGPath : NSObject <NSCopying,NSMutableCopying> {

View File

@ -10,7 +10,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/CGAffineTransform.h>
#import <AppKit/CGFont.h>
@class KGContext,KGColor,KGPath,KGImage;
@class KGContext,KGColor,KGPath,KGImage,KGLayer;
@interface KGRenderingContext : NSObject
@ -45,4 +45,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-(void)drawImage:(KGImage *)image inRect:(NSRect)rect ctm:(CGAffineTransform)ctm fraction:(float)fraction;
-(void)drawLayer:(KGLayer *)layer inRect:(NSRect)rect ctm:(CGAffineTransform)ctm;
@end

View File

@ -84,4 +84,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
NSInvalidAbstractInvocation();
}
-(void)drawLayer:(KGLayer *)layer inRect:(NSRect)rect ctm:(CGAffineTransform)ctm {
NSInvalidAbstractInvocation();
}
@end

View File

@ -6,9 +6,138 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
#import <AppKit/NSFont.h>
@interface NSBezierPath : NSObject {
@class NSAffineTransform;
typedef enum {
NSMoveToBezierPathElement,
NSLineToBezierPathElement,
NSCurveToBezierPathElement,
NSClosePathBezierPathElement,
} NSBezierPathElement;
typedef enum {
NSMiterLineJoinStyle,
NSRoundLineJoinStyle,
NSBevelLineJoinStyle,
} NSLineJoinStyle;
typedef enum {
NSButtLineCapStyle,
NSRoundLineCapStyle,
NSSquareLineCapStyle,
} NSLineCapStyle;
typedef enum {
NSNonZeroWindingRule,
NSEvenOddWindingRule,
} NSWindingRule;
@interface NSBezierPath : NSObject <NSCopying> {
KGMutablePath *_path;
float _lineWidth;
float _miterLimit;
float _flatness;
NSWindingRule _windingRule;
NSLineCapStyle _lineCapStyle;
NSLineJoinStyle _lineJoinStyle;
int _dashCount;
float *_dashes;
float _dashPhase;
unsigned _cachesPath:1;
unsigned _lineWidthIsDefault:1;
unsigned _miterLimitIsDefault:1;
unsigned _flatnessIsDefault:1;
unsigned _windingRuleIsDefault:1;
unsigned _lineCapStyleIsDefault:1;
unsigned _lineJoinStyleIsDefault:1;
}
+(NSBezierPath *)bezierPath;
+(NSBezierPath *)bezierPathWithOvalInRect:(NSRect)rect;
+(NSBezierPath *)bezierPathWithRect:(NSRect)rect;
+(float)defaultLineWidth;
+(float)defaultMiterLimit;
+(float)defaultFlatness;
+(NSWindingRule)defaultWindingRule;
+(NSLineCapStyle)defaultLineCapStyle;
+(NSLineJoinStyle)defaultLineJoinStyle;
+(void)setDefaultLineWidth:(float)width;
+(void)setDefaultMiterLimit:(float)limit;
+(void)setDefaultFlatness:(float)flatness;
+(void)setDefaultWindingRule:(NSWindingRule)rule;
+(void)setDefaultLineCapStyle:(NSLineCapStyle)style;
+(void)setDefaultLineJoinStyle:(NSLineJoinStyle)style;
+(void)fillRect:(NSRect)rect;
+(void)strokeRect:(NSRect)rect;
+(void)strokeLineFromPoint:(NSPoint)point toPoint:(NSPoint)point;
+(void)drawPackedGlyphs:(const char *)packed atPoint:(NSPoint)point;
+(void)clipRect:(NSRect)rect;
-(float)lineWidth;
-(float)miterLimit;
-(float)flatness;
-(NSWindingRule)windingRule;
-(NSLineCapStyle)lineCapStyle;
-(NSLineJoinStyle)lineJoinStyle;
-(void)getLineDash:(float *)dashes count:(int *)count phase:(float *)phase;
-(BOOL)cachesBezierPath;
-(int)elementCount;
-(NSBezierPathElement)elementAtIndex:(int)index;
-(NSBezierPathElement)elementAtIndex:(int)index associatedPoints:(NSPoint *)points;
-(void)setLineWidth:(float)width;
-(void)setMiterLimit:(float)limit;
-(void)setFlatness:(float)flatness;
-(void)setWindingRule:(NSWindingRule)rule;
-(void)setLineCapStyle:(NSLineCapStyle)style;
-(void)setLineJoinStyle:(NSLineJoinStyle)style;
-(void)setLineDash:(const float *)dashes count:(int)count phase:(float)phase;
-(void)setCachesBezierPath:(BOOL)flag;
-(BOOL)isEmpty;
-(NSRect)bounds;
-(NSRect)controlPointBounds;
-(BOOL)containsPoint:(NSPoint)point;
-(NSPoint)currentPoint;
-(void)moveToPoint:(NSPoint)point;
-(void)lineToPoint:(NSPoint)point;
-(void)curveToPoint:(NSPoint)point controlPoint1:(NSPoint)cp1 controlPoint2:(NSPoint)cp2;
-(void)closePath;
-(void)relativeMoveToPoint:(NSPoint)point;
-(void)relativeLinetoPoint:(NSPoint)point;
-(void)relativeCurveToPoint:(NSPoint)point controlPoint1:(NSPoint)cp1 controlPoint2:(NSPoint)cp2;
-(void)appendBezierPathWithPoints:(NSPoint *)points count:(unsigned)count;
-(void)appendBezierPathWithRect:(NSRect)rect;
-(void)appendBezierPathWithOvalInRect:(NSRect)rect;
-(void)appendBezierPathWithArcFromPoint:(NSPoint)point toPoint:(NSPoint)toPoint radius:(float)radius;
-(void)appendBezierPathWithArcWithCenter:(NSPoint)center radius:(float)radius startAngle:(float)startAngle endAngle:(float)endAngle;
-(void)appendBezierPathWithArcWithCenter:(NSPoint)center radius:(float)radius startAngle:(float)startAngle endAngle:(float)endAngle clockwise:(BOOL)clockwise;
-(void)appendBezierPathWithGlyph:(NSGlyph)glyph inFont:(NSFont *)font;
-(void)appendBezierPathWithGlyphs:(NSGlyph *)glyphs count:(unsigned)count inFont:(NSFont *)font;
-(void)appendBezierPathWithPackedGlyphs:(const char *)packed;
-(void)appendBezierPath:(NSBezierPath *)other;
-(void)transformUsingAffineTransform:(NSAffineTransform *)matrix;
-(void)removeAllPoints;
-(void)setAssociatedPoints:(NSPoint *)points atIndex:(int)index;
-(NSBezierPath *)bezierPathByFlatteningPath;
-(NSBezierPath *)bezierPathByReversingPath;
-(void)stroke;
-(void)fill;
-(void)addClip;
-(void)setClip;
@end

View File

@ -5,8 +5,465 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// Original - Christopher Lloyd <cjwl@objc.net>
#import <AppKit/NSBezierPath.h>
#import <AppKit/KGMutablePath.h>
#import <AppKit/CGContext.h>
#import <AppKit/NSGraphicsContext.h>
#import <Foundation/NSAffineTransform.h>
#import <Foundation/NSRaise.h>
@implementation NSBezierPath
static float _defaultLineWidth=1.0;
static float _defaultMiterLimit=10.0;
static float _defaultFlatness=0.6;
static NSWindingRule _defaultWindingRule=NSNonZeroWindingRule;
static NSLineCapStyle _defaultLineCapStyle=NSButtLineCapStyle;
static NSLineJoinStyle _defaultLineJoinStyle=NSMiterLineJoinStyle;
-init {
_path=[[KGMutablePath alloc] init];
_lineWidth=_defaultLineWidth;
_miterLimit=_defaultMiterLimit;
_flatness=_defaultFlatness;
_windingRule=_defaultWindingRule;
_lineCapStyle=_defaultLineCapStyle;
_lineJoinStyle=_defaultLineJoinStyle;
_dashCount=0;
_dashes=NULL;
_dashPhase=0;
_cachesPath=NO;
_lineWidthIsDefault=YES;
_miterLimitIsDefault=YES;
_flatnessIsDefault=YES;
_windingRuleIsDefault=YES;
_lineCapStyleIsDefault=YES;
_lineJoinStyleIsDefault=YES;
return self;
}
-(void)dealloc {
[_path release];
if(_dashes!=NULL)
NSZoneFree(NULL,_dashes);
[super dealloc];
}
-copyWithZone:(NSZone *)zone {
NSBezierPath *copy=NSCopyObject(self,0,zone);
copy->_path=[_path mutableCopy];
if(_dashCount>0){
int i;
copy->_dashes=NSZoneMalloc(NULL,sizeof(float)*_dashCount);
for(i=0;i<_dashCount;i++)
copy->_dashes[i]=_dashes[i];
}
return copy;
}
+(NSBezierPath *)bezierPath {
return [[[self alloc] init] autorelease];
}
+(NSBezierPath *)bezierPathWithOvalInRect:(NSRect)rect {
NSBezierPath *result=[[[self alloc] init] autorelease];
[result appendBezierPathWithOvalInRect:rect];
return result;
}
+(NSBezierPath *)bezierPathWithRect:(NSRect)rect {
NSBezierPath *result=[[[self alloc] init] autorelease];
[result appendBezierPathWithRect:rect];
return result;
}
+(float)defaultLineWidth {
return _defaultLineWidth;
}
+(float)defaultMiterLimit {
return _defaultMiterLimit;
}
+(float)defaultFlatness {
return _defaultFlatness;
}
+(NSWindingRule)defaultWindingRule {
return _defaultWindingRule;
}
+(NSLineCapStyle)defaultLineCapStyle {
return _defaultLineCapStyle;
}
+(NSLineJoinStyle)defaultLineJoinStyle {
return _defaultLineJoinStyle;
}
+(void)setDefaultLineWidth:(float)width {
_defaultLineWidth=width;
}
+(void)setDefaultMiterLimit:(float)limit {
_defaultMiterLimit=limit;
}
+(void)setDefaultFlatness:(float)flatness {
_defaultFlatness=flatness;
}
+(void)setDefaultWindingRule:(NSWindingRule)rule {
_defaultWindingRule=rule;
}
+(void)setDefaultLineCapStyle:(NSLineCapStyle)style {
_defaultLineCapStyle=style;
}
+(void)setDefaultLineJoinStyle:(NSLineJoinStyle)style {
_defaultLineJoinStyle=style;
}
+(void)fillRect:(NSRect)rect {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
CGContextSaveGState(context);
// set default attributes ?
CGContextFillRect(context,rect);
CGContextRestoreGState(context);
}
+(void)strokeRect:(NSRect)rect {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
CGContextSaveGState(context);
// set default attributes ?
CGContextStrokeRect(context,rect);
CGContextRestoreGState(context);
}
+(void)strokeLineFromPoint:(NSPoint)point toPoint:(NSPoint)toPoint {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
CGContextBeginPath(context);
CGContextMoveToPoint(context,point.x,point.y);
CGContextAddLineToPoint(context,toPoint.x,toPoint.y);
CGContextStrokePath(context);
}
+(void)drawPackedGlyphs:(const char *)packed atPoint:(NSPoint)point {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
CGGlyph *glyphs;
unsigned count=0;
// FIX, unpack glyphs
CGContextShowGlyphsAtPoint(context,point.x,point.y,glyphs,count);
}
+(void)clipRect:(NSRect)rect {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
CGContextClipToRect(context,rect);
}
-(float)lineWidth {
if(_lineWidthIsDefault)
return _defaultLineWidth;
else
return _lineWidth;
}
-(float)miterLimit {
if(_miterLimitIsDefault)
return _defaultMiterLimit;
else
return _miterLimit;
}
-(float)flatness {
if(_flatnessIsDefault)
return _defaultFlatness;
else
return _flatness;
}
-(NSWindingRule)windingRule {
if(_windingRuleIsDefault)
return _defaultWindingRule;
else
return _windingRule;
}
-(NSLineCapStyle)lineCapStyle {
if(_lineCapStyleIsDefault)
return _defaultLineCapStyle;
else
return _lineCapStyle;
}
-(NSLineJoinStyle)lineJoinStyle {
if(_lineJoinStyleIsDefault)
return _defaultLineJoinStyle;
else
return _lineJoinStyle;
}
-(void)getLineDash:(float *)dashes count:(int *)count phase:(float *)phase {
if(dashes!=NULL){
int i;
for(i=0;i<_dashCount;i++)
dashes[i]=_dashes[i];
}
if(count!=NULL)
*count=_dashCount;
if(phase!=NULL)
*phase=_dashPhase;
}
-(BOOL)cachesBezierPath {
return _cachesPath;
}
-(int)elementCount {
return [_path numberOfOperators];
}
-(NSBezierPathElement)elementAtIndex:(int)index {
return [_path operators][index];
}
-(NSBezierPathElement)elementAtIndex:(int)index associatedPoints:(NSPoint *)points {
NSUnimplementedMethod();
}
-(void)setLineWidth:(float)width {
_lineWidth=width;
_lineWidthIsDefault=NO;
}
-(void)setMiterLimit:(float)limit {
_miterLimit=limit;
_miterLimitIsDefault=NO;
}
-(void)setFlatness:(float)flatness {
_flatness=flatness;
_flatnessIsDefault=NO;
}
-(void)setWindingRule:(NSWindingRule)rule {
_windingRule=rule;
_windingRuleIsDefault=NO;
}
-(void)setLineCapStyle:(NSLineCapStyle)style {
_lineCapStyle=style;
_lineCapStyleIsDefault=NO;
}
-(void)setLineJoinStyle:(NSLineJoinStyle)style {
_lineJoinStyle=style;
_lineJoinStyleIsDefault=NO;
}
-(void)setLineDash:(const float *)dashes count:(int)count phase:(float)phase {
if(_dashes!=NULL)
NSZoneFree(NULL,_dashes);
_dashCount=count;
if(_dashCount==0)
_dashes=NULL;
else {
int i;
_dashes=NSZoneMalloc(NULL,sizeof(float)*_dashCount);
for(i=0;i<_dashCount;i++)
_dashes[i]=dashes[i];
}
_dashPhase=phase;
}
-(void)setCachesBezierPath:(BOOL)flag {
_cachesPath=flag;
}
-(BOOL)isEmpty {
return [_path isEmpty];
}
-(NSRect)bounds {
NSUnimplementedMethod();
}
-(NSRect)controlPointBounds {
return [_path boundingBox];
}
-(BOOL)containsPoint:(NSPoint)point {
BOOL evenOdd=([self windingRule]==NSEvenOddWindingRule)?YES:NO;
return [_path containsPoint:point evenOdd:evenOdd withTransform:NULL];
}
-(NSPoint)currentPoint {
return [_path currentPoint];
}
-(void)moveToPoint:(NSPoint)point {
[_path moveToPoint:point withTransform:NULL];
}
-(void)lineToPoint:(NSPoint)point {
[_path addLineToPoint:point withTransform:NULL];
}
-(void)curveToPoint:(NSPoint)point controlPoint1:(NSPoint)cp1 controlPoint2:(NSPoint)cp2 {
[_path addCurveToControlPoint:point controlPoint:cp1 endPoint:cp2 withTransform:NULL];
}
-(void)closePath {
[_path closeSubpath];
}
-(void)relativeMoveToPoint:(NSPoint)point {
[_path relativeMoveToPoint:point withTransform:NULL];
}
-(void)relativeLinetoPoint:(NSPoint)point {
[_path addRelativeLineToPoint:point withTransform:NULL];
}
-(void)relativeCurveToPoint:(NSPoint)point controlPoint1:(NSPoint)cp1 controlPoint2:(NSPoint)cp2 {
[_path addRelativeCurveToControlPoint:point controlPoint:cp1 endPoint:cp2 withTransform:NULL];
}
-(void)appendBezierPathWithPoints:(NSPoint *)points count:(unsigned)count {
[_path addLinesWithPoints:points count:count withTransform:NULL];
}
-(void)appendBezierPathWithRect:(NSRect)rect {
[_path addRect:rect withTransform:NULL];
}
-(void)appendBezierPathWithOvalInRect:(NSRect)rect {
[_path addEllipseInRect:rect withTransform:NULL];
}
-(void)appendBezierPathWithArcFromPoint:(NSPoint)point toPoint:(NSPoint)toPoint radius:(float)radius {
[_path addArcToPoint:point point:toPoint radius:radius withTransform:NULL];
}
-(void)appendBezierPathWithArcWithCenter:(NSPoint)center radius:(float)radius startAngle:(float)startAngle endAngle:(float)endAngle {
[_path addArcAtPoint:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES withTransform:NULL];
}
-(void)appendBezierPathWithArcWithCenter:(NSPoint)center radius:(float)radius startAngle:(float)startAngle endAngle:(float)endAngle clockwise:(BOOL)clockwise {
[_path addArcAtPoint:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:clockwise withTransform:NULL];
}
-(void)appendBezierPathWithGlyph:(NSGlyph)glyph inFont:(NSFont *)font {
[self appendBezierPathWithGlyphs:&glyph count:1 inFont:font];
}
-(void)appendBezierPathWithGlyphs:(NSGlyph *)glyphs count:(unsigned)count inFont:(NSFont *)font {
NSUnimplementedMethod();
}
-(void)appendBezierPathWithPackedGlyphs:(const char *)packed {
// NSGlyph *glyphs;
// unsigned count=0;
// FIX, unpack glyphs
// does this use the current font?
// [self appendBezierPathWithGlyphs:glyphs count:count inFont:font];
NSUnimplementedMethod();
}
-(void)appendBezierPath:(NSBezierPath *)other {
[_path addPath:other->_path withTransform:NULL];
}
-(void)transformUsingAffineTransform:(NSAffineTransform *)matrix {
NSAffineTransformStruct atStruct=[matrix transformStruct];
CGAffineTransform cgMatrix;
cgMatrix.a=atStruct.m11;
cgMatrix.b=atStruct.m12;
cgMatrix.c=atStruct.m21;
cgMatrix.d=atStruct.m22;
cgMatrix.tx=atStruct.tX;
cgMatrix.ty=atStruct.tY;
[_path applyTransform:cgMatrix];
}
-(void)removeAllPoints {
[_path reset];
}
-(void)setAssociatedPoints:(NSPoint *)points atIndex:(int)index {
NSUnimplementedMethod();
}
-(NSBezierPath *)bezierPathByFlatteningPath {
NSUnimplementedMethod();
}
-(NSBezierPath *)bezierPathByReversingPath {
NSUnimplementedMethod();
}
-(void)stroke {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
CGContextSaveGState(context);
// set attributes ?
CGContextBeginPath(context);
CGContextAddPath(context,_path);
CGContextStrokePath(context);
CGContextRestoreGState(context);
}
-(void)fill {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
CGContextSaveGState(context);
// set attributes ?
CGContextBeginPath(context);
CGContextAddPath(context,_path);
CGContextFillPath(context);
CGContextRestoreGState(context);
}
-(void)addClip {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
CGContextAddPath(context,_path);
CGContextClip(context);
}
-(void)setClip {
KGContext *context=[[NSGraphicsContext currentContext] graphicsPort];
// FIX, wrong
CGContextAddPath(context,_path);
CGContextClip(context);
}
@end

View File

@ -8,11 +8,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/NSImageRep.h>
@class KGContext;
@class KGRenderingContext;
@class KGContext,KGLayer;
@interface NSCachedImageRep : NSImageRep {
KGRenderingContext *_renderingContext;
KGLayer *_layer;
}
-initWithSize:(NSSize)size;

View File

@ -9,32 +9,29 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
// Original - Christopher Lloyd <cjwl@objc.net>
#import <AppKit/NSCachedImageRep.h>
#import <AppKit/NSGraphicsContextFunctions.h>
#import <AppKit/NSDisplay.h>
#import <AppKit/Win32DeviceContextBitmap.h>
#import <AppKit/KGImage_context.h>
#import <AppKit/KGLayer.h>
@implementation NSCachedImageRep
-initWithSize:(NSSize)size {
_size=size;
_renderingContext=[[Win32DeviceContextBitmap alloc] initWithSize:size];
_layer=[[KGLayer alloc] initWithSize:size];
return self;
}
-(void)dealloc {
[_renderingContext release];
[_layer release];
[super dealloc];
}
-(KGContext *)graphicsContext {
return [_renderingContext graphicsContextWithSize:[self size]];
return [_layer context];
}
-(BOOL)drawAtPoint:(NSPoint)point {
KGImage *image=[[KGImage_context alloc] initWithRenderingContext:_renderingContext];
NSRect rect={point,_size};
NSRect rect={point,_size};
CGContextDrawImage(NSCurrentGraphicsPort(),rect,image);
CGContextDrawLayerInRect(NSCurrentGraphicsPort(),rect,_layer);
return YES;
}

View File

@ -233,7 +233,7 @@ static NSMutableDictionary *cellClassDictionary = nil;
// FIX protocol does not implement isEqual
if(![(id)object isEqual:[[self selectedCell] objectValue]]){
[self abortEditing];
[[self selectedCell] setObjectValue:object];
[(NSCell *)[self selectedCell] setObjectValue:object];
[self setNeedsDisplay:YES];
}
}

15
AppKit/NSDatePicker.h Normal file
View File

@ -0,0 +1,15 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSControl.h>
@interface NSDatePicker : NSControl {
}
@end

14
AppKit/NSDatePicker.m Normal file
View File

@ -0,0 +1,14 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import "NSDatePicker.h"
@implementation NSDatePicker
@end

16
AppKit/NSDatePickerCell.h Normal file
View File

@ -0,0 +1,16 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSActionCell.h>
@interface NSDatePickerCell : NSActionCell {
}
@end

14
AppKit/NSDatePickerCell.m Normal file
View File

@ -0,0 +1,14 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import "NSDatePickerCell.h"
@implementation NSDatePickerCell
@end

View File

@ -112,8 +112,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
}
-(BOOL)tryToPerform:(SEL)action with:object {
if([self respondsToSelector:action])
if([self respondsToSelector:action]){
[self performSelector:action withObject:object];
return YES;
}
return [_nextResponder tryToPerform:action with:object];
}

View File

@ -8,8 +8,47 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/NSActionCell.h>
@interface NSSegmentedCell : NSActionCell {
typedef enum {
NSSegmentSwitchTrackingSelectOne,
NSSegmentSwitchTrackingSelectAny,
NSSegmentSwitchTrackingMomentary
} NSSegmentSwitchTracking;
@interface NSSegmentedCell : NSActionCell {
}
-(int)segmentCount;
-(NSSegmentSwitchTracking)trackingMode;
-(int)tagForSegment:(int)segment;
-(NSImage *)imageForSegment:(int)segment;
-(BOOL)isEnabledForSegment:(int)segment;
-(NSString *)labelForSegment:(int)segment;
-(NSMenu *)menuForSegment:(int)segment;
-(NSString *)toolTipForSegment:(int)segment;
-(float)widthForSegment:(int)segment;
-(int)selectedSegment;
-(BOOL)isSelectedForSegment:(int)segment;
-(void)setSegmentCount:(int)count;
-(void)setTrackingMode:(NSSegmentSwitchTracking)trackingMode;
-(void)setTag:(int)tag forSegment:(int)segment;
-(void)setImage:(NSImage *)image forSegment:(int)segment;
-(void)setEnabled:(BOOL)enabled forSegment:(int)segment;
-(void)setLabel:(NSString *)label forSegment:(int)segment;
-(void)setMenu:(NSMenu *)menu forSegment:(int)segment;
-(void)setToolTip:(NSString *)string forSegment:(int)segment;
-(void)setWidth:(float)width forSegment:(int)segment;
-(BOOL)selectSegmentWithTag:(int)tag;
-(void)setSelected:(BOOL)flag forSegment:(int)segment;
-(void)setSelectedSegment:(int)segment;
-(void)makeNextSegmentKey;
-(void)makePreviousSegmentKey;
-(void)drawSegment:(int)segment inFrame:(NSRect)frame withView:(NSView *)view;
@end

View File

@ -7,7 +7,109 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSSegmentedCell.h>
#import <Foundation/NSRaise.h>
@implementation NSSegmentedCell
-(int)segmentCount {
NSUnimplementedMethod();
}
-(NSSegmentSwitchTracking)trackingMode {
NSUnimplementedMethod();
}
-(int)tagForSegment:(int)segment {
NSUnimplementedMethod();
}
-(NSImage *)imageForSegment:(int)segment {
NSUnimplementedMethod();
}
-(BOOL)isEnabledForSegment:(int)segment {
NSUnimplementedMethod();
}
-(NSString *)labelForSegment:(int)segment {
NSUnimplementedMethod();
}
-(NSMenu *)menuForSegment:(int)segment {
NSUnimplementedMethod();
}
-(NSString *)toolTipForSegment:(int)segment {
NSUnimplementedMethod();
}
-(float)widthForSegment:(int)segment {
NSUnimplementedMethod();
}
-(int)selectedSegment {
NSUnimplementedMethod();
}
-(BOOL)isSelectedForSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)setSegmentCount:(int)count {
NSUnimplementedMethod();
}
-(void)setTrackingMode:(NSSegmentSwitchTracking)trackingMode {
NSUnimplementedMethod();
}
-(void)setTag:(int)tag forSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)setImage:(NSImage *)image forSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)setEnabled:(BOOL)enabled forSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)setLabel:(NSString *)label forSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)setMenu:(NSMenu *)menu forSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)setToolTip:(NSString *)string forSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)setWidth:(float)width forSegment:(int)segment {
NSUnimplementedMethod();
}
-(BOOL)selectSegmentWithTag:(int)tag {
NSUnimplementedMethod();
}
-(void)setSelected:(BOOL)flag forSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)setSelectedSegment:(int)segment {
NSUnimplementedMethod();
}
-(void)makeNextSegmentKey {
NSUnimplementedMethod();
}
-(void)makePreviousSegmentKey {
NSUnimplementedMethod();
}
-(void)drawSegment:(int)segment inFrame:(NSRect)frame withView:(NSView *)view {
NSUnimplementedMethod();
}
@end

View File

@ -8,8 +8,33 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/NSControl.h>
@interface NSSegmentedControl : NSControl {
@interface NSSegmentedControl : NSControl
}
-(int)segmentCount;
-(int)tagForSegment:(int)segment;
-(NSImage *)imageForSegment:(int)segment;
-(BOOL)isEnabledForSegment:(int)segment;
-(NSString *)labelForSegment:(int)segment;
-(NSMenu *)menuForSegment:(int)segment;
-(NSString *)toolTipForSegment:(int)segment;
-(float)widthForSegment:(int)segment;
-(int)selectedSegment;
-(BOOL)isSelectedForSegment:(int)segment;
-(void)setSegmentCount:(int)count;
-(void)setTag:(int)tag forSegment:(int)segment;
-(void)setImage:(NSImage *)image forSegment:(int)segment;
-(void)setEnabled:(BOOL)enabled forSegment:(int)segment;
-(void)setLabel:(NSString *)label forSegment:(int)segment;
-(void)setMenu:(NSMenu *)menu forSegment:(int)segment;
-(void)setToolTip:(NSString *)string forSegment:(int)segment;
-(void)setWidth:(float)width forSegment:(int)segment;
-(BOOL)selectSegmentWithTag:(int)tag;
-(void)setSelected:(BOOL)flag forSegment:(int)segment;
-(void)setSelectedSegment:(int)segment;
@end

View File

@ -7,7 +7,102 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSSegmentedControl.h>
#import <AppKit/NSSegmentedCell.h>
@implementation NSSegmentedControl
-(int)segmentCount {
return [_cell segmentCount];
}
-(int)tagForSegment:(int)segment {
return [_cell tagForSegment:segment];
}
-(NSImage *)imageForSegment:(int)segment {
return [_cell imageForSegment:segment];
}
-(BOOL)isEnabledForSegment:(int)segment {
return [_cell isEnabledForSegment:segment];
}
-(NSString *)labelForSegment:(int)segment {
return [_cell labelForSegment:segment];
}
-(NSMenu *)menuForSegment:(int)segment {
return [_cell menuForSegment:segment];
}
-(NSString *)toolTipForSegment:(int)segment {
return [_cell toolTipForSegment:segment];
}
-(float)widthForSegment:(int)segment {
return [_cell widthForSegment:segment];
}
-(int)selectedSegment {
return [_cell selectedSegment];
}
-(BOOL)isSelectedForSegment:(int)segment {
return [_cell isSelectedForSegment:segment];
}
-(void)setSegmentCount:(int)count {
return [_cell setSegmentCount:count];
}
-(void)setTag:(int)tag forSegment:(int)segment {
[_cell setTag:tag forSegment:segment];
}
-(void)setImage:(NSImage *)image forSegment:(int)segment {
[_cell setImage:image forSegment:segment];
[self setNeedsDisplay:YES];
}
-(void)setEnabled:(BOOL)enabled forSegment:(int)segment {
[_cell setEnabled:enabled forSegment:segment];
[self setNeedsDisplay:YES];
}
-(void)setLabel:(NSString *)label forSegment:(int)segment {
[_cell setLabel:label forSegment:segment];
[self setNeedsDisplay:YES];
}
-(void)setMenu:(NSMenu *)menu forSegment:(int)segment {
[_cell setMenu:menu forSegment:segment];
}
-(void)setToolTip:(NSString *)string forSegment:(int)segment {
[_cell setToolTip:string forSegment:segment];
}
-(void)setWidth:(float)width forSegment:(int)segment {
[_cell setWidth:width forSegment:segment];
[self setNeedsDisplay:YES];
}
-(BOOL)selectSegmentWithTag:(int)tag {
BOOL result=[_cell selectSegmentWithTag:tag];
[self setNeedsDisplay:YES];
return result;
}
-(void)setSelected:(BOOL)flag forSegment:(int)segment {
[_cell setSelected:flag forSegment:segment];
[self setNeedsDisplay:YES];
}
-(void)setSelectedSegment:(int)segment {
[_cell setSelectedSegment:segment];
[self setNeedsDisplay:YES];
}
@end

View File

@ -7,9 +7,24 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
@interface NSShadow : NSObject {
@class NSColor;
@interface NSShadow : NSObject <NSCoding,NSCopying> {
NSSize _offset;
NSColor *_color;
float _blurRadius;
}
-(NSSize)shadowOffset;
-(NSColor *)shadowColor;
-(float)shadowBlurRadius;
-(void)setShadowOffset:(NSSize)offset;
-(void)setShadowColor:(NSColor *)color;
-(void)setShadowBlurRadius:(float)radius;
-(void)set;
@end

View File

@ -7,7 +7,74 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSShadow.h>
#import <AppKit/NSColor.h>
#import <AppKit/NSGraphicsContext.h>
#import <AppKit/CGContext.h>
#import <Foundation/NSRaise.h>
@implementation NSShadow
-init {
_offset=NSMakeSize(0,0); // what is the default?
_color=[[NSColor colorWithCalibratedWhite:0 alpha:1.0/3.0] retain];
_blurRadius=0;
return self;
}
-(void)dealloc {
[_color release];
[super dealloc];
}
-initWithCoder:(NSCoder *)coder {
NSUnimplementedMethod();
return self;
}
-(void)encodeWithCoder:(NSCoder *)coder {
NSUnimplementedMethod();
}
-copyWithZone:(NSZone *)zone {
NSShadow *copy=NSCopyObject(self,0,zone);
copy->_color=[_color copy];
return copy;
}
-(NSSize)shadowOffset {
return _offset;
}
-(NSColor *)shadowColor {
return _color;
}
-(float)shadowBlurRadius {
return _blurRadius;
}
-(void)setShadowOffset:(NSSize)offset {
_offset=offset;
}
-(void)setShadowColor:(NSColor *)color {
color=[color copy];
[_color release];
_color=color;
}
-(void)setShadowBlurRadius:(float)radius {
_blurRadius=radius;
}
-(void)set {
CGContextRef context=[[NSGraphicsContext currentContext] graphicsPort];
// need NSColor->CGColor
// CGContextSetShadowWithColor(context,_offset,_blurRadius,[color _cgColor]);
NSUnimplementedMethod();
}
@end

View File

@ -521,7 +521,7 @@ NSString *NSTableViewColumnDidResizeNotification=@"NSTableViewColumnDidResizeNot
[_editingCell setBackgroundColor:_backgroundColor];
[_editingCell setBezeled:NO];
[_editingCell setBordered:YES];
[_editingCell setObjectValue:[self dataSourceObjectValueForTableColumn:editingColumn row:row]];
[(NSCell *)_editingCell setObjectValue:[self dataSourceObjectValueForTableColumn:editingColumn row:row]];
_currentEditor=[[self window] fieldEditor:YES forObject:self];
_currentEditor=[_editingCell setUpFieldEditorAttributes:_currentEditor];

View File

@ -8,8 +8,45 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSObject.h>
@class NSOpenGLPixelFormat,NSOpenGLPixelBuffer,NSView;
typedef int NSOpenGLContextParameter;
@interface NSOpenGLContext : NSObject {
}
+(NSOpenGLContext *)currentContext;
+(void)clearCurrentContext;
-initWithFormat:(NSOpenGLPixelFormat *)pixelFormat shareContext:(NSOpenGLContext *)shareContext;
-(NSView *)view;
-(NSOpenGLPixelBuffer *)pixelBuffer;
-(unsigned long)pixelBufferCubeMapFace;
-(long)pixelBufferMipMapLevel;
-(void *)CGLContextObj;
-(void)getValues:(long *)vals forParameter:(NSOpenGLContextParameter)parameter;
-(void)setValues:(const long *)vals forParameter:(NSOpenGLContextParameter)parameter;
-(void)setView:(NSView *)view;
-(void)makeCurrenContext;
-(int)currentVirtualScreen;
-(void)setCurrentVirtualScreen:(int)screen;
-(void)setFullScreen;
-(void)setOffscreen:(void *)bytes width:(long)width height:(long)height rowbytes:(long)rowbytes;
-(void)setPixelBuffer:(NSOpenGLPixelBuffer *)pixelBuffer cubeMapFace:(unsigned long)cubeMapFace mipMapLeve:(long)mipMapLevel currentVirtualScreen:(int)screen;
-(void)setTextureImageToPixelBuffer:(NSOpenGLPixelBuffer *)pixelBuffer colorBuffer:(unsigned long)source;
-(void)update;
-(void)clearDrawable;
-(void)copyAttrbutesFromContext:(NSOpenGLContext *)context withMask:(unsigned long)mask;
-(void)createTexture:(unsigned long)identifier fromView:(NSView *)view internalFormat:(unsigned long)internalFormat;
-(void)flushBuffer;
@end

View File

@ -8,7 +8,107 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
// Original - Christopher Lloyd <cjwl@objc.net>
#import <AppKit/NSOpenGLContext.h>
#import <Foundation/NSRaise.h>
@implementation NSOpenGLContext
+(NSOpenGLContext *)currentContext {
NSUnimplementedMethod();
return nil;
}
+(void)clearCurrentContext {
NSUnimplementedMethod();
}
-initWithFormat:(NSOpenGLPixelFormat *)pixelFormat shareContext:(NSOpenGLContext *)shareContext {
NSUnimplementedMethod();
return self;
}
-(NSView *)view {
NSUnimplementedMethod();
return nil;
}
-(NSOpenGLPixelBuffer *)pixelBuffer {
NSUnimplementedMethod();
return nil;
}
-(unsigned long)pixelBufferCubeMapFace {
NSUnimplementedMethod();
return 0;
}
-(long)pixelBufferMipMapLevel {
NSUnimplementedMethod();
return 0;
}
-(void *)CGLContextObj {
NSUnimplementedMethod();
return NULL;
}
-(void)getValues:(long *)vals forParameter:(NSOpenGLContextParameter)parameter {
NSUnimplementedMethod();
}
-(void)setValues:(const long *)vals forParameter:(NSOpenGLContextParameter)parameter {
NSUnimplementedMethod();
}
-(void)setView:(NSView *)view {
NSUnimplementedMethod();
}
-(void)makeCurrenContext {
NSUnimplementedMethod();
}
-(int)currentVirtualScreen {
NSUnimplementedMethod();
}
-(void)setCurrentVirtualScreen:(int)screen {
NSUnimplementedMethod();
}
-(void)setFullScreen {
NSUnimplementedMethod();
}
-(void)setOffscreen:(void *)bytes width:(long)width height:(long)height rowbytes:(long)rowbytes {
NSUnimplementedMethod();
}
-(void)setPixelBuffer:(NSOpenGLPixelBuffer *)pixelBuffer cubeMapFace:(unsigned long)cubeMapFace mipMapLeve:(long)mipMapLevel currentVirtualScreen:(int)screen {
NSUnimplementedMethod();
}
-(void)setTextureImageToPixelBuffer:(NSOpenGLPixelBuffer *)pixelBuffer colorBuffer:(unsigned long)source {
NSUnimplementedMethod();
}
-(void)update {
NSUnimplementedMethod();
}
-(void)clearDrawable {
NSUnimplementedMethod();
}
-(void)copyAttrbutesFromContext:(NSOpenGLContext *)context withMask:(unsigned long)mask {
NSUnimplementedMethod();
}
-(void)createTexture:(unsigned long)identifier fromView:(NSView *)view internalFormat:(unsigned long)internalFormat {
NSUnimplementedMethod();
}
-(void)flushBuffer {
NSUnimplementedMethod();
}
@end

View File

@ -0,0 +1,24 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
@interface NSOpenGLPixelBuffer : NSObject {
}
-initWithTextureTarget:(unsigned long)textureTarget textureInternalFormat:(unsigned long)textureFormat textureMaxMipMapLevel:(long)mipMapLevel pixelsWide:(int)pixelsWide pixelsHigh:(int)pixelsHigh;
-(unsigned)textureTarget;
-(unsigned long)textureInternalFormat;
-(long)textureMaxMipMapLevel;
-(int)pixelsWide;
-(int)pixelsHigh;
@end

View File

@ -0,0 +1,36 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSOpenGLPixelBuffer.h>
#import <Foundation/NSRaise.h>
@implementation NSOpenGLPixelBuffer
-initWithTextureTarget:(unsigned long)textureTarget textureInternalFormat:(unsigned long)textureFormat textureMaxMipMapLevel:(long)mipMapLevel pixelsWide:(int)pixelsWide pixelsHigh:(int)pixelsHigh {
NSUnimplementedMethod();
return self;
}
-(unsigned)textureTarget {
NSUnimplementedMethod();
}
-(unsigned long)textureInternalFormat {
NSUnimplementedMethod();
}
-(long)textureMaxMipMapLevel {
NSUnimplementedMethod();
}
-(int)pixelsWide {
NSUnimplementedMethod();
}
-(int)pixelsHigh {
NSUnimplementedMethod();
}
@end

View File

@ -8,8 +8,17 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSObject.h>
typedef int NSOpenGLPixelFormatAttribute;
@interface NSOpenGLPixelFormat : NSObject {
}
-initWithAttributes:(NSOpenGLPixelFormatAttribute *)attributes;
-(void *)CGLPixelFormatObj;
-(int)numberOfVirtualScreens;
-(void)getValues:(long *)values forAttribute:(NSOpenGLPixelFormatAttribute)attribute forVirtualScreen:(int)screen;
@end

View File

@ -8,7 +8,23 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
// Original - Christopher Lloyd <cjwl@objc.net>
#import <AppKit/NSOpenGLPixelFormat.h>
#import <Foundation/NSRaise.h>
@implementation NSOpenGLPixelFormat
-initWithAttributes:(NSOpenGLPixelFormatAttribute *)attributes {
NSUnimplementedMethod();
}
-(void *)CGLPixelFormatObj {
NSUnimplementedMethod();
}
-(int)numberOfVirtualScreens {
NSUnimplementedMethod();
}
-(void)getValues:(long *)values forAttribute:(NSOpenGLPixelFormatAttribute)attribute forVirtualScreen:(int)screen {
NSUnimplementedMethod();
}
@end

View File

@ -8,8 +8,26 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/NSView.h>
@class NSOpenGLPixelFormat,NSOpenGLContext;
@interface NSOpenGLView : NSView {
}
+(NSOpenGLPixelFormat *)defaultPixelFormat;
-initWithFrame:(NSRect)frame pixelFormat:(NSOpenGLPixelFormat *)pixelFormat;
-(NSOpenGLPixelFormat *)pixelFormat;
-(NSOpenGLContext *)openGLContext;
-(void)setPixelFormat:(NSOpenGLPixelFormat *)pixelFormat;
-(void)setOpenGLContext:(NSOpenGLContext *)context;
-(void)update;
-(void)reshape;
-(void)prepareOpenGL;
-(void)clearGLContext;
@end

View File

@ -8,7 +8,52 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
// Original - Christopher Lloyd <cjwl@objc.net>
#import <AppKit/NSOpenGLView.h>
#import <Foundation/NSRaise.h>
@implementation NSOpenGLView
+(NSOpenGLPixelFormat *)defaultPixelFormat {
NSUnimplementedMethod();
return nil;
}
-initWithFrame:(NSRect)frame pixelFormat:(NSOpenGLPixelFormat *)pixelFormat {
NSUnimplementedMethod();
return self;
}
-(NSOpenGLPixelFormat *)pixelFormat {
NSUnimplementedMethod();
return nil;
}
-(NSOpenGLContext *)openGLContext {
NSUnimplementedMethod();
return nil;
}
-(void)setPixelFormat:(NSOpenGLPixelFormat *)pixelFormat {
NSUnimplementedMethod();
}
-(void)setOpenGLContext:(NSOpenGLContext *)context {
NSUnimplementedMethod();
}
-(void)update {
NSUnimplementedMethod();
}
-(void)reshape {
NSUnimplementedMethod();
}
-(void)prepareOpenGL {
NSUnimplementedMethod();
}
-(void)clearGLContext {
NSUnimplementedMethod();
}
@end

View File

@ -12,14 +12,13 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/NSApplication.h>
#import <AppKit/KGPath.h>
#import <AppKit/KGColor.h>
#import <AppKit/NSAffineTransform.h>
#import <AppKit/Win32Font.h>
#import <AppKit/Win32Application.h>
#import <AppKit/Win32Region.h>
#import <AppKit/KGImage.h>
#import <AppKit/KGGraphicsState.h>
#import <AppKit/KGLayer.h>
#import <AppKit/KGContext.h>
#import <AppKit/KGImage_context.h>
static COLORREF RGBFromColor(KGColor *color){
int count=[color numberOfComponents];
@ -515,36 +514,34 @@ static void zeroBytes(void *bytes,int size){
}
}
DeleteObject(bitmap);
DeleteObject(bitmap);s
SelectObject(sourceDC,oldBitmap);
DeleteDC(sourceDC);
}
#endif
-(void)drawImage:(KGImage *)image inRect:(CGRect)rect ctm:(CGAffineTransform)ctm fraction:(float)fraction {
if([image isKindOfClass:[KGImage_context class]]){
Win32DeviceContext *other=[(KGImage_context *)image renderingContext];
rect.origin=CGPointApplyAffineTransform(rect.origin,ctm);
if(transformIsFlipped(ctm))
rect.origin.y-=rect.size.height;
[other copyColorsToContext:self size:rect.size toPoint:rect.origin];
if([image bitsPerComponent]!=8){
NSLog(@"Does not support bitsPerComponent=%d",[image bitsPerComponent]);
return;
}
else {
if([image bitsPerComponent]!=8){
NSLog(@"Does not support bitsPerComponent=%d",[image bitsPerComponent]);
return;
}
if([image bitsPerPixel]!=32){
NSLog(@"Does not support bitsPerPixel=%d",[image bitsPerPixel]);
return;
}
[self drawBitmapImage:image inRect:rect ctm:ctm fraction:fraction ];
if([image bitsPerPixel]!=32){
NSLog(@"Does not support bitsPerPixel=%d",[image bitsPerPixel]);
return;
}
[self drawBitmapImage:image inRect:rect ctm:ctm fraction:fraction ];
}
-(void)drawLayer:(KGLayer *)layer inRect:(NSRect)rect ctm:(CGAffineTransform)ctm {
Win32DeviceContext *other=[layer renderingContext];
rect.origin=CGPointApplyAffineTransform(rect.origin,ctm);
if(transformIsFlipped(ctm))
rect.origin.y-=rect.size.height;
[other copyColorsToContext:self size:rect.size toPoint:rect.origin];
}
@end

View File

@ -11,7 +11,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <windows.h>
@class Win32DeviceContext, NSEvent;
@class Win32DeviceContext, NSEvent, KGLayer;
typedef enum {
Win32BackingStoreRetained=0,
@ -26,7 +26,7 @@ typedef enum {
Win32BackingStoreType _backingType;
NSSize _backingSize;
Win32DeviceContext *_backingContext;
KGLayer *_backingLayer;
BOOL _ignoreMinMaxMessage;
BOOL _sentBeginSizing;
@ -46,8 +46,6 @@ typedef enum {
-(HWND)windowHandle;
-(Win32DeviceContext *)renderingContext;
-(void)setTitle:(NSString *)title;
-(void)setFrame:(NSRect)frame;

View File

@ -19,6 +19,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/NSPanel.h>
#import <AppKit/NSApplication.h>
#import <AppKit/NSDrawerWindow.h>
#import <AppKit/KGLayer.h>
#import <AppKit/KGContext.h>
@implementation Win32Window
@ -177,11 +179,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
case Win32BackingStoreRetained:
case Win32BackingStoreNonretained:
_backingContext=nil;
_backingLayer=nil;
break;
case Win32BackingStoreBuffered:
_backingContext=[[Win32DeviceContextBitmap alloc] initWithSize:_backingSize deviceContext:_renderingContext];
_backingLayer=[[KGLayer alloc] initRelativeToRenderingContext:_renderingContext size:_backingSize unused:nil];
break;
}
@ -203,8 +205,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
_handle=NULL;
[_renderingContext release];
_renderingContext=nil;
[_backingContext release];
_backingContext=nil;
[_backingLayer release];
_backingLayer=nil;
}
-(void)setDelegate:delegate {
@ -220,23 +222,19 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
return _handle;
}
-(Win32DeviceContext *)renderingContext {
-(KGContext *)graphicsContext {
switch(_backingType){
case Win32BackingStoreRetained:
case Win32BackingStoreNonretained:
default:
return _renderingContext;
return [_renderingContext graphicsContextWithSize:_size];
case Win32BackingStoreBuffered:
return _backingContext;
return [_backingLayer context];
}
}
-(KGContext *)graphicsContext {
return [[self renderingContext] graphicsContextWithSize:_size];
}
-(void)rebuildBackingContextWithSize:(NSSize)size forceRebuild:(BOOL)forceRebuild {
_size=size;
@ -244,16 +242,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
case Win32BackingStoreRetained:
case Win32BackingStoreNonretained:
[_backingContext release];
_backingContext=nil;
[_backingLayer release];
_backingLayer=nil;
break;
case Win32BackingStoreBuffered:
if(!NSEqualSizes(_backingSize,size) || _backingContext==nil || forceRebuild){
if(!NSEqualSizes(_backingSize,size) || _backingLayer==nil || forceRebuild){
_backingSize=size;
[_backingContext release];
_backingContext=[[Win32DeviceContextBitmap alloc] initWithSize:_backingSize deviceContext:_renderingContext];
[_backingLayer release];
_backingLayer=[[KGLayer alloc] initRelativeToRenderingContext:_renderingContext size:_backingSize unused:nil];
}
break;
}
@ -363,7 +361,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
break;
case Win32BackingStoreBuffered:
[_backingContext copyColorsToContext:_renderingContext size:_backingSize];
[[_renderingContext graphicsContextWithSize:_size] drawLayer:_backingLayer atPoint:NSMakePoint(0,0)];
break;
}
}

View File

@ -8,8 +8,19 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSObject.h>
@interface NSNib : NSObject {
@class NSURL,NSBundle,NSDictionary,NSArray,NSData;
FOUNDATION_EXPORT NSString *NSNibOwner;
FOUNDATION_EXPORT NSString *NSNibTopLevelObjects;
@interface NSNib : NSObject {
NSData *_data;
}
-initWithContentsofURL:(NSURL *)url;
-initWithNibNamed:(NSString *)name bundle:(NSBundle *)bundle;
-(BOOL)instantiateNibWithExternalNameTable:(NSDictionary *)nameTable;
-(BOOL)instantiateNibWithOwner:owner topLevelObjects:(NSArray **)objects;
@end

View File

@ -7,7 +7,31 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/NSNib.h>
#import <Foundation/NSRaise.h>
NSString *NSNibOwner=@"NSNibOwner";
NSString *NSNibTopLevelObjects=@"NSNibTopLevelObjects";
@implementation NSNib
-initWithContentsofURL:(NSURL *)url {
NSUnimplementedMethod();
return self;
}
-initWithNibNamed:(NSString *)name bundle:(NSBundle *)bundle {
NSUnimplementedMethod();
return self;
}
-(BOOL)instantiateNibWithExternalNameTable:(NSDictionary *)nameTable {
NSUnimplementedMethod();
return NO;
}
-(BOOL)instantiateNibWithOwner:owner topLevelObjects:(NSArray **)objects {
NSUnimplementedMethod();
return NO;
}
@end

View File

@ -18,6 +18,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <stdio.h>
#import <string.h>
#import <Foundation/NSAffineTransform.h>
#import <Foundation/NSArchiver.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSAssertionHandler.h>
@ -27,6 +28,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSByteOrder.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSCharacterSet.h>
#import <Foundation/NSClassDescription.h>
#import <Foundation/NSCoder.h>
#import <Foundation/NSCountedSet.h>
#import <Foundation/NSData.h>
@ -48,6 +50,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSKeyValueCoding.h>
#import <Foundation/NSLock.h>
#import <Foundation/NSMapTable.h>
#import <Foundation/NSMetadataItem.h>
#import <Foundation/NSMetadataQuery.h>
#import <Foundation/NSMetadataQueryAttributeValueTuple.h>
#import <Foundation/NSMetadataQueryResultGroup.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSMutableArray.h>
#import <Foundation/NSMutableAttributedString.h>
@ -56,6 +62,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSMutableDictionary.h>
#import <Foundation/NSMutableSet.h>
#import <Foundation/NSMutableString.h>
#import <Foundation/NSNetService.h>
#import <Foundation/NSNetServiceBrowser.h>
#import <Foundation/NSNotification.h>
#import <Foundation/NSNotificationCenter.h>
#import <Foundation/NSNotificationQueue.h>
@ -74,6 +82,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSRunLoop.h>
#import <Foundation/NSScanner.h>
#import <Foundation/NSSet.h>
#import <Foundation/NSSortDescriptor.h>
#import <Foundation/NSStream.h>
#import <Foundation/NSString.h>
#import <Foundation/NSTask.h>
@ -84,5 +93,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSUndoManager.h>
#import <Foundation/NSUserDefaults.h>
#import <Foundation/NSValue.h>
#import <Foundation/NSXMLDocument.h>
#import <Foundation/NSXMLDTD.h>
#import <Foundation/NSXMLDTDNode.h>
#import <Foundation/NSXMLElement.h>
#import <Foundation/NSXMLNode.h>
#import <Foundation/NSXMLParser.h>
#import <Foundation/NSZone.h>

View File

@ -291,14 +291,6 @@
6E2805D709747D0400EC542B /* NSReadInBackground_win32.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805B709747D0400EC542B /* NSReadInBackground_win32.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E2805DB09747D0400EC542B /* NSString_win32.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805BB09747D0400EC542B /* NSString_win32.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E2805DD09747D0400EC542B /* NSTask_win32.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805BD09747D0400EC542B /* NSTask_win32.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E2805E909747D1000EC542B /* NSXMLAttribute.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805DF09747D1000EC542B /* NSXMLAttribute.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E2805EA09747D1000EC542B /* NSXMLAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E009747D1000EC542B /* NSXMLAttribute.m */; };
6E2805EB09747D1000EC542B /* NSXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E109747D1000EC542B /* NSXMLDocument.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E2805EC09747D1000EC542B /* NSXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E209747D1000EC542B /* NSXMLDocument.m */; };
6E2805ED09747D1000EC542B /* NSXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E309747D1000EC542B /* NSXMLElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E2805EE09747D1000EC542B /* NSXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E409747D1000EC542B /* NSXMLElement.m */; };
6E2805EF09747D1000EC542B /* NSXMLReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E509747D1000EC542B /* NSXMLReader.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E2805F009747D1000EC542B /* NSXMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E609747D1000EC542B /* NSXMLReader.m */; };
6E28062B09747D5800EC542B /* NSBundle.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805F309747D5800EC542B /* NSBundle.h */; settings = {ATTRIBUTES = (Public, ); }; };
6E28062C09747D5800EC542B /* NSBundle.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805F409747D5800EC542B /* NSBundle.m */; };
6E28062D09747D5800EC542B /* NSByteOrder.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805F509747D5800EC542B /* NSByteOrder.h */; settings = {ATTRIBUTES = (Public, ); }; };
@ -524,10 +516,6 @@
6E4D920A0A2642BD003D335C /* Object.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E28053A09747C8900EC542B /* Object.h */; };
6E4D920B0A2642BD003D335C /* ObjectiveC.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E28053C09747C8900EC542B /* ObjectiveC.h */; settings = {ATTRIBUTES = (Public, ); }; };
6E4D920C0A2642BD003D335C /* Protocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E28053E09747C8900EC542B /* Protocol.h */; };
6E4D920D0A2642BD003D335C /* NSXMLAttribute.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805DF09747D1000EC542B /* NSXMLAttribute.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E4D920E0A2642BD003D335C /* NSXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E109747D1000EC542B /* NSXMLDocument.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E4D920F0A2642BD003D335C /* NSXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E309747D1000EC542B /* NSXMLElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E4D92100A2642BD003D335C /* NSXMLReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E509747D1000EC542B /* NSXMLReader.h */; settings = {ATTRIBUTES = (Private, ); }; };
6E4D92120A2642BD003D335C /* NSBundle.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805F309747D5800EC542B /* NSBundle.h */; settings = {ATTRIBUTES = (Public, ); }; };
6E4D92130A2642BD003D335C /* NSByteOrder.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805F509747D5800EC542B /* NSByteOrder.h */; settings = {ATTRIBUTES = (Public, ); }; };
6E4D92140A2642BD003D335C /* NSCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805F709747D5800EC542B /* NSCoder.h */; settings = {ATTRIBUTES = (Public, ); }; };
@ -704,10 +692,6 @@
6E4D92CF0A2642BD003D335C /* Object.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E28053B09747C8900EC542B /* Object.m */; };
6E4D92D00A2642BD003D335C /* ObjectiveC.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E28053D09747C8900EC542B /* ObjectiveC.m */; };
6E4D92D10A2642BD003D335C /* Protocol.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E28053F09747C8900EC542B /* Protocol.m */; };
6E4D92D20A2642BD003D335C /* NSXMLAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E009747D1000EC542B /* NSXMLAttribute.m */; };
6E4D92D30A2642BD003D335C /* NSXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E209747D1000EC542B /* NSXMLDocument.m */; };
6E4D92D40A2642BD003D335C /* NSXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E409747D1000EC542B /* NSXMLElement.m */; };
6E4D92D50A2642BD003D335C /* NSXMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E609747D1000EC542B /* NSXMLReader.m */; };
6E4D92D70A2642BD003D335C /* NSBundle.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805F409747D5800EC542B /* NSBundle.m */; };
6E4D92D80A2642BD003D335C /* NSByteOrder.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805F609747D5800EC542B /* NSByteOrder.m */; };
6E4D92D90A2642BD003D335C /* NSCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805F809747D5800EC542B /* NSCoder.m */; };
@ -928,10 +912,6 @@
6EA0494C09E57D5F0067589C /* Object.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E28053A09747C8900EC542B /* Object.h */; };
6EA0494D09E57D5F0067589C /* ObjectiveC.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E28053C09747C8900EC542B /* ObjectiveC.h */; settings = {ATTRIBUTES = (Public, ); }; };
6EA0494E09E57D5F0067589C /* Protocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E28053E09747C8900EC542B /* Protocol.h */; };
6EA0495D09E57D5F0067589C /* NSXMLAttribute.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805DF09747D1000EC542B /* NSXMLAttribute.h */; settings = {ATTRIBUTES = (Private, ); }; };
6EA0495E09E57D5F0067589C /* NSXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E109747D1000EC542B /* NSXMLDocument.h */; settings = {ATTRIBUTES = (Private, ); }; };
6EA0495F09E57D5F0067589C /* NSXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E309747D1000EC542B /* NSXMLElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
6EA0496009E57D5F0067589C /* NSXMLReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805E509747D1000EC542B /* NSXMLReader.h */; settings = {ATTRIBUTES = (Private, ); }; };
6EA0496209E57D5F0067589C /* NSBundle.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805F309747D5800EC542B /* NSBundle.h */; settings = {ATTRIBUTES = (Public, ); }; };
6EA0496309E57D5F0067589C /* NSByteOrder.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805F509747D5800EC542B /* NSByteOrder.h */; settings = {ATTRIBUTES = (Public, ); }; };
6EA0496409E57D5F0067589C /* NSCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 6E2805F709747D5800EC542B /* NSCoder.h */; settings = {ATTRIBUTES = (Public, ); }; };
@ -1099,10 +1079,6 @@
6EA04A1409E57D5F0067589C /* Object.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E28053B09747C8900EC542B /* Object.m */; };
6EA04A1509E57D5F0067589C /* ObjectiveC.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E28053D09747C8900EC542B /* ObjectiveC.m */; };
6EA04A1609E57D5F0067589C /* Protocol.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E28053F09747C8900EC542B /* Protocol.m */; };
6EA04A1709E57D5F0067589C /* NSXMLAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E009747D1000EC542B /* NSXMLAttribute.m */; };
6EA04A1809E57D5F0067589C /* NSXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E209747D1000EC542B /* NSXMLDocument.m */; };
6EA04A1909E57D5F0067589C /* NSXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E409747D1000EC542B /* NSXMLElement.m */; };
6EA04A1A09E57D5F0067589C /* NSXMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805E609747D1000EC542B /* NSXMLReader.m */; };
6EA04A1C09E57D5F0067589C /* NSBundle.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805F409747D5800EC542B /* NSBundle.m */; };
6EA04A1D09E57D5F0067589C /* NSByteOrder.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805F609747D5800EC542B /* NSByteOrder.m */; };
6EA04A1E09E57D5F0067589C /* NSCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2805F809747D5800EC542B /* NSCoder.m */; };
@ -1244,6 +1220,150 @@
FE405A6F0B4450FD001B183D /* NSHTTPURLResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = FE405A6B0B4450FD001B183D /* NSHTTPURLResponse.m */; };
FE405A700B4450FD001B183D /* NSHTTPURLResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = FE405A6A0B4450FD001B183D /* NSHTTPURLResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE405A710B4450FD001B183D /* NSHTTPURLResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = FE405A6B0B4450FD001B183D /* NSHTTPURLResponse.m */; };
FE53BE1F0BA9EBBE0050277F /* NSOldXMLAttribute.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE170BA9EBBE0050277F /* NSOldXMLAttribute.h */; };
FE53BE200BA9EBBE0050277F /* NSOldXMLAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE180BA9EBBE0050277F /* NSOldXMLAttribute.m */; };
FE53BE210BA9EBBE0050277F /* NSOldXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE190BA9EBBE0050277F /* NSOldXMLDocument.h */; };
FE53BE220BA9EBBE0050277F /* NSOldXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1A0BA9EBBE0050277F /* NSOldXMLDocument.m */; };
FE53BE230BA9EBBE0050277F /* NSOldXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE1B0BA9EBBE0050277F /* NSOldXMLElement.h */; };
FE53BE240BA9EBBE0050277F /* NSOldXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1C0BA9EBBE0050277F /* NSOldXMLElement.m */; };
FE53BE250BA9EBBE0050277F /* NSOldXMLReader.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE1D0BA9EBBE0050277F /* NSOldXMLReader.h */; };
FE53BE260BA9EBBE0050277F /* NSOldXMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1E0BA9EBBE0050277F /* NSOldXMLReader.m */; };
FE53BE270BA9EBBE0050277F /* NSOldXMLAttribute.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE170BA9EBBE0050277F /* NSOldXMLAttribute.h */; };
FE53BE280BA9EBBE0050277F /* NSOldXMLAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE180BA9EBBE0050277F /* NSOldXMLAttribute.m */; };
FE53BE290BA9EBBE0050277F /* NSOldXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE190BA9EBBE0050277F /* NSOldXMLDocument.h */; };
FE53BE2A0BA9EBBE0050277F /* NSOldXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1A0BA9EBBE0050277F /* NSOldXMLDocument.m */; };
FE53BE2B0BA9EBBE0050277F /* NSOldXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE1B0BA9EBBE0050277F /* NSOldXMLElement.h */; };
FE53BE2C0BA9EBBE0050277F /* NSOldXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1C0BA9EBBE0050277F /* NSOldXMLElement.m */; };
FE53BE2D0BA9EBBE0050277F /* NSOldXMLReader.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE1D0BA9EBBE0050277F /* NSOldXMLReader.h */; };
FE53BE2E0BA9EBBE0050277F /* NSOldXMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1E0BA9EBBE0050277F /* NSOldXMLReader.m */; };
FE53BE2F0BA9EBBE0050277F /* NSOldXMLAttribute.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE170BA9EBBE0050277F /* NSOldXMLAttribute.h */; };
FE53BE300BA9EBBE0050277F /* NSOldXMLAttribute.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE180BA9EBBE0050277F /* NSOldXMLAttribute.m */; };
FE53BE310BA9EBBE0050277F /* NSOldXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE190BA9EBBE0050277F /* NSOldXMLDocument.h */; };
FE53BE320BA9EBBE0050277F /* NSOldXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1A0BA9EBBE0050277F /* NSOldXMLDocument.m */; };
FE53BE330BA9EBBE0050277F /* NSOldXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE1B0BA9EBBE0050277F /* NSOldXMLElement.h */; };
FE53BE340BA9EBBE0050277F /* NSOldXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1C0BA9EBBE0050277F /* NSOldXMLElement.m */; };
FE53BE350BA9EBBE0050277F /* NSOldXMLReader.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE1D0BA9EBBE0050277F /* NSOldXMLReader.h */; };
FE53BE360BA9EBBE0050277F /* NSOldXMLReader.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE1E0BA9EBBE0050277F /* NSOldXMLReader.m */; };
FE53BE570BA9ED490050277F /* NSXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE490BA9ED490050277F /* NSXMLDocument.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE580BA9ED490050277F /* NSXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4A0BA9ED490050277F /* NSXMLDocument.m */; };
FE53BE590BA9ED490050277F /* NSXMLDTD.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4B0BA9ED490050277F /* NSXMLDTD.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE5A0BA9ED490050277F /* NSXMLDTD.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4C0BA9ED490050277F /* NSXMLDTD.m */; };
FE53BE5B0BA9ED490050277F /* NSXMLDTDNode.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4D0BA9ED490050277F /* NSXMLDTDNode.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE5C0BA9ED490050277F /* NSXMLDTDNode.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4E0BA9ED490050277F /* NSXMLDTDNode.m */; };
FE53BE5D0BA9ED490050277F /* NSXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4F0BA9ED490050277F /* NSXMLElement.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE5E0BA9ED490050277F /* NSXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE500BA9ED490050277F /* NSXMLElement.m */; };
FE53BE5F0BA9ED490050277F /* NSXMLNode.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE510BA9ED490050277F /* NSXMLNode.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE600BA9ED490050277F /* NSXMLNode.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE520BA9ED490050277F /* NSXMLNode.m */; };
FE53BE630BA9ED490050277F /* NSXMLParser.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE550BA9ED490050277F /* NSXMLParser.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE640BA9ED490050277F /* NSXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE560BA9ED490050277F /* NSXMLParser.m */; };
FE53BE650BA9ED490050277F /* NSXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE490BA9ED490050277F /* NSXMLDocument.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE660BA9ED490050277F /* NSXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4A0BA9ED490050277F /* NSXMLDocument.m */; };
FE53BE670BA9ED490050277F /* NSXMLDTD.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4B0BA9ED490050277F /* NSXMLDTD.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE680BA9ED490050277F /* NSXMLDTD.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4C0BA9ED490050277F /* NSXMLDTD.m */; };
FE53BE690BA9ED490050277F /* NSXMLDTDNode.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4D0BA9ED490050277F /* NSXMLDTDNode.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE6A0BA9ED490050277F /* NSXMLDTDNode.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4E0BA9ED490050277F /* NSXMLDTDNode.m */; };
FE53BE6B0BA9ED490050277F /* NSXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4F0BA9ED490050277F /* NSXMLElement.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE6C0BA9ED490050277F /* NSXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE500BA9ED490050277F /* NSXMLElement.m */; };
FE53BE6D0BA9ED490050277F /* NSXMLNode.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE510BA9ED490050277F /* NSXMLNode.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE6E0BA9ED490050277F /* NSXMLNode.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE520BA9ED490050277F /* NSXMLNode.m */; };
FE53BE710BA9ED490050277F /* NSXMLParser.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE550BA9ED490050277F /* NSXMLParser.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE720BA9ED490050277F /* NSXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE560BA9ED490050277F /* NSXMLParser.m */; };
FE53BE730BA9ED490050277F /* NSXMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE490BA9ED490050277F /* NSXMLDocument.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE740BA9ED490050277F /* NSXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4A0BA9ED490050277F /* NSXMLDocument.m */; };
FE53BE750BA9ED490050277F /* NSXMLDTD.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4B0BA9ED490050277F /* NSXMLDTD.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE760BA9ED490050277F /* NSXMLDTD.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4C0BA9ED490050277F /* NSXMLDTD.m */; };
FE53BE770BA9ED490050277F /* NSXMLDTDNode.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4D0BA9ED490050277F /* NSXMLDTDNode.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE780BA9ED490050277F /* NSXMLDTDNode.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE4E0BA9ED490050277F /* NSXMLDTDNode.m */; };
FE53BE790BA9ED490050277F /* NSXMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE4F0BA9ED490050277F /* NSXMLElement.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE7A0BA9ED490050277F /* NSXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE500BA9ED490050277F /* NSXMLElement.m */; };
FE53BE7B0BA9ED490050277F /* NSXMLNode.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE510BA9ED490050277F /* NSXMLNode.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE7C0BA9ED490050277F /* NSXMLNode.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE520BA9ED490050277F /* NSXMLNode.m */; };
FE53BE7F0BA9ED490050277F /* NSXMLParser.h in Headers */ = {isa = PBXBuildFile; fileRef = FE53BE550BA9ED490050277F /* NSXMLParser.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE53BE800BA9ED490050277F /* NSXMLParser.m in Sources */ = {isa = PBXBuildFile; fileRef = FE53BE560BA9ED490050277F /* NSXMLParser.m */; };
FE6DC2570BA902710082AC66 /* NSAffineTransform.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6DC2550BA902710082AC66 /* NSAffineTransform.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE6DC2580BA902710082AC66 /* NSAffineTransform.m in Sources */ = {isa = PBXBuildFile; fileRef = FE6DC2560BA902710082AC66 /* NSAffineTransform.m */; };
FE6DC2590BA902710082AC66 /* NSAffineTransform.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6DC2550BA902710082AC66 /* NSAffineTransform.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE6DC25A0BA902710082AC66 /* NSAffineTransform.m in Sources */ = {isa = PBXBuildFile; fileRef = FE6DC2560BA902710082AC66 /* NSAffineTransform.m */; };
FE6DC25B0BA902710082AC66 /* NSAffineTransform.h in Headers */ = {isa = PBXBuildFile; fileRef = FE6DC2550BA902710082AC66 /* NSAffineTransform.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE6DC25C0BA902710082AC66 /* NSAffineTransform.m in Sources */ = {isa = PBXBuildFile; fileRef = FE6DC2560BA902710082AC66 /* NSAffineTransform.m */; };
FE7477710BAC4E9000829F4F /* NSDecimal.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74776D0BAC4E9000829F4F /* NSDecimal.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477720BAC4E9000829F4F /* NSDecimal.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74776E0BAC4E9000829F4F /* NSDecimal.m */; };
FE7477730BAC4E9000829F4F /* NSDecimalNumber.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74776F0BAC4E9000829F4F /* NSDecimalNumber.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477740BAC4E9000829F4F /* NSDecimalNumber.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477700BAC4E9000829F4F /* NSDecimalNumber.m */; };
FE7477750BAC4E9000829F4F /* NSDecimal.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74776D0BAC4E9000829F4F /* NSDecimal.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477760BAC4E9000829F4F /* NSDecimal.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74776E0BAC4E9000829F4F /* NSDecimal.m */; };
FE7477770BAC4E9000829F4F /* NSDecimalNumber.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74776F0BAC4E9000829F4F /* NSDecimalNumber.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477780BAC4E9000829F4F /* NSDecimalNumber.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477700BAC4E9000829F4F /* NSDecimalNumber.m */; };
FE7477790BAC4E9000829F4F /* NSDecimal.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74776D0BAC4E9000829F4F /* NSDecimal.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE74777A0BAC4E9000829F4F /* NSDecimal.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74776E0BAC4E9000829F4F /* NSDecimal.m */; };
FE74777B0BAC4E9000829F4F /* NSDecimalNumber.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74776F0BAC4E9000829F4F /* NSDecimalNumber.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE74777C0BAC4E9000829F4F /* NSDecimalNumber.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477700BAC4E9000829F4F /* NSDecimalNumber.m */; };
FE74779D0BAC4F5200829F4F /* NSDistributedLock.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477990BAC4F5200829F4F /* NSDistributedLock.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE74779E0BAC4F5200829F4F /* NSDistributedLock.m in Resources */ = {isa = PBXBuildFile; fileRef = FE74779A0BAC4F5200829F4F /* NSDistributedLock.m */; };
FE74779F0BAC4F5200829F4F /* NSDistributedNotificationCenter.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74779B0BAC4F5200829F4F /* NSDistributedNotificationCenter.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477A00BAC4F5200829F4F /* NSDistributedNotificationCenter.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74779C0BAC4F5200829F4F /* NSDistributedNotificationCenter.m */; };
FE7477A10BAC4F5200829F4F /* NSDistributedLock.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477990BAC4F5200829F4F /* NSDistributedLock.h */; };
FE7477A20BAC4F5200829F4F /* NSDistributedLock.m in Resources */ = {isa = PBXBuildFile; fileRef = FE74779A0BAC4F5200829F4F /* NSDistributedLock.m */; };
FE7477A30BAC4F5200829F4F /* NSDistributedNotificationCenter.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74779B0BAC4F5200829F4F /* NSDistributedNotificationCenter.h */; };
FE7477A40BAC4F5200829F4F /* NSDistributedNotificationCenter.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74779C0BAC4F5200829F4F /* NSDistributedNotificationCenter.m */; };
FE7477A50BAC4F5200829F4F /* NSDistributedLock.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477990BAC4F5200829F4F /* NSDistributedLock.h */; };
FE7477A60BAC4F5200829F4F /* NSDistributedLock.m in Resources */ = {isa = PBXBuildFile; fileRef = FE74779A0BAC4F5200829F4F /* NSDistributedLock.m */; };
FE7477A70BAC4F5200829F4F /* NSDistributedNotificationCenter.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74779B0BAC4F5200829F4F /* NSDistributedNotificationCenter.h */; };
FE7477A80BAC4F5200829F4F /* NSDistributedNotificationCenter.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74779C0BAC4F5200829F4F /* NSDistributedNotificationCenter.m */; };
FE7477C00BAC507F00829F4F /* NSIndexPath.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477BE0BAC507F00829F4F /* NSIndexPath.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477C10BAC507F00829F4F /* NSIndexPath.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477BF0BAC507F00829F4F /* NSIndexPath.m */; };
FE7477C20BAC507F00829F4F /* NSIndexPath.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477BE0BAC507F00829F4F /* NSIndexPath.h */; };
FE7477C30BAC507F00829F4F /* NSIndexPath.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477BF0BAC507F00829F4F /* NSIndexPath.m */; };
FE7477C40BAC507F00829F4F /* NSIndexPath.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477BE0BAC507F00829F4F /* NSIndexPath.h */; };
FE7477C50BAC507F00829F4F /* NSIndexPath.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477BF0BAC507F00829F4F /* NSIndexPath.m */; };
FE7477D50BAC519800829F4F /* NSMetadataItem.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477CD0BAC519800829F4F /* NSMetadataItem.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477D60BAC519800829F4F /* NSMetadataItem.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477CE0BAC519800829F4F /* NSMetadataItem.m */; };
FE7477D70BAC519800829F4F /* NSMetadataQuery.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477CF0BAC519800829F4F /* NSMetadataQuery.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477D80BAC519800829F4F /* NSMetadataQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D00BAC519800829F4F /* NSMetadataQuery.m */; };
FE7477D90BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477D10BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477DA0BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D20BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m */; };
FE7477DB0BAC519800829F4F /* NSMetadataQueryResultGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477D30BAC519800829F4F /* NSMetadataQueryResultGroup.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7477DC0BAC519800829F4F /* NSMetadataQueryResultGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D40BAC519800829F4F /* NSMetadataQueryResultGroup.m */; };
FE7477DD0BAC519800829F4F /* NSMetadataItem.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477CD0BAC519800829F4F /* NSMetadataItem.h */; };
FE7477DE0BAC519800829F4F /* NSMetadataItem.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477CE0BAC519800829F4F /* NSMetadataItem.m */; };
FE7477DF0BAC519800829F4F /* NSMetadataQuery.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477CF0BAC519800829F4F /* NSMetadataQuery.h */; };
FE7477E00BAC519800829F4F /* NSMetadataQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D00BAC519800829F4F /* NSMetadataQuery.m */; };
FE7477E10BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477D10BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h */; };
FE7477E20BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D20BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m */; };
FE7477E30BAC519800829F4F /* NSMetadataQueryResultGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477D30BAC519800829F4F /* NSMetadataQueryResultGroup.h */; };
FE7477E40BAC519800829F4F /* NSMetadataQueryResultGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D40BAC519800829F4F /* NSMetadataQueryResultGroup.m */; };
FE7477E50BAC519800829F4F /* NSMetadataItem.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477CD0BAC519800829F4F /* NSMetadataItem.h */; };
FE7477E60BAC519800829F4F /* NSMetadataItem.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477CE0BAC519800829F4F /* NSMetadataItem.m */; };
FE7477E70BAC519800829F4F /* NSMetadataQuery.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477CF0BAC519800829F4F /* NSMetadataQuery.h */; };
FE7477E80BAC519800829F4F /* NSMetadataQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D00BAC519800829F4F /* NSMetadataQuery.m */; };
FE7477E90BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477D10BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h */; };
FE7477EA0BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D20BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m */; };
FE7477EB0BAC519800829F4F /* NSMetadataQueryResultGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7477D30BAC519800829F4F /* NSMetadataQueryResultGroup.h */; };
FE7477EC0BAC519800829F4F /* NSMetadataQueryResultGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7477D40BAC519800829F4F /* NSMetadataQueryResultGroup.m */; };
FE74780F0BAC594600829F4F /* NSNetService.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74780B0BAC594600829F4F /* NSNetService.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7478100BAC594600829F4F /* NSNetService.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74780C0BAC594600829F4F /* NSNetService.m */; };
FE7478110BAC594600829F4F /* NSNetServiceBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74780D0BAC594600829F4F /* NSNetServiceBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7478120BAC594600829F4F /* NSNetServiceBrowser.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74780E0BAC594600829F4F /* NSNetServiceBrowser.m */; };
FE7478130BAC594600829F4F /* NSNetService.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74780B0BAC594600829F4F /* NSNetService.h */; };
FE7478140BAC594600829F4F /* NSNetService.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74780C0BAC594600829F4F /* NSNetService.m */; };
FE7478150BAC594600829F4F /* NSNetServiceBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74780D0BAC594600829F4F /* NSNetServiceBrowser.h */; };
FE7478160BAC594600829F4F /* NSNetServiceBrowser.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74780E0BAC594600829F4F /* NSNetServiceBrowser.m */; };
FE7478170BAC594600829F4F /* NSNetService.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74780B0BAC594600829F4F /* NSNetService.h */; };
FE7478180BAC594600829F4F /* NSNetService.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74780C0BAC594600829F4F /* NSNetService.m */; };
FE7478190BAC594600829F4F /* NSNetServiceBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = FE74780D0BAC594600829F4F /* NSNetServiceBrowser.h */; };
FE74781A0BAC594600829F4F /* NSNetServiceBrowser.m in Sources */ = {isa = PBXBuildFile; fileRef = FE74780E0BAC594600829F4F /* NSNetServiceBrowser.m */; };
FE7478430BAC5A8700829F4F /* NSSortDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7478410BAC5A8700829F4F /* NSSortDescriptor.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE7478440BAC5A8700829F4F /* NSSortDescriptor.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7478420BAC5A8700829F4F /* NSSortDescriptor.m */; };
FE7478450BAC5A8700829F4F /* NSSortDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7478410BAC5A8700829F4F /* NSSortDescriptor.h */; };
FE7478460BAC5A8700829F4F /* NSSortDescriptor.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7478420BAC5A8700829F4F /* NSSortDescriptor.m */; };
FE7478470BAC5A8700829F4F /* NSSortDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7478410BAC5A8700829F4F /* NSSortDescriptor.h */; };
FE7478480BAC5A8700829F4F /* NSSortDescriptor.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7478420BAC5A8700829F4F /* NSSortDescriptor.m */; };
FE7478720BAC5EB600829F4F /* NSValueTransformer.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7478700BAC5EB600829F4F /* NSValueTransformer.h */; };
FE7478730BAC5EB600829F4F /* NSValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7478710BAC5EB600829F4F /* NSValueTransformer.m */; };
FE7478740BAC5EB600829F4F /* NSValueTransformer.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7478700BAC5EB600829F4F /* NSValueTransformer.h */; };
FE7478750BAC5EB600829F4F /* NSValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7478710BAC5EB600829F4F /* NSValueTransformer.m */; };
FE7478760BAC5EB600829F4F /* NSValueTransformer.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7478700BAC5EB600829F4F /* NSValueTransformer.h */; };
FE7478770BAC5EB600829F4F /* NSValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7478710BAC5EB600829F4F /* NSValueTransformer.m */; };
FEB6CBB00B4A139F004FADF2 /* NSKeyValueCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = FEB6CBAE0B4A139F004FADF2 /* NSKeyValueCoding.h */; settings = {ATTRIBUTES = (Public, ); }; };
FEB6CBB10B4A139F004FADF2 /* NSKeyValueCoding.m in Sources */ = {isa = PBXBuildFile; fileRef = FEB6CBAF0B4A139F004FADF2 /* NSKeyValueCoding.m */; };
FEB6CBB20B4A139F004FADF2 /* NSKeyValueCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = FEB6CBAE0B4A139F004FADF2 /* NSKeyValueCoding.h */; settings = {ATTRIBUTES = (Public, ); }; };
@ -1928,14 +2048,6 @@
6E2805BC09747D0400EC542B /* NSString_win32.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = NSString_win32.m; path = platform_win32/NSString_win32.m; sourceTree = "<group>"; };
6E2805BD09747D0400EC542B /* NSTask_win32.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = NSTask_win32.h; path = platform_win32/NSTask_win32.h; sourceTree = "<group>"; };
6E2805BE09747D0400EC542B /* NSTask_win32.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = NSTask_win32.m; path = platform_win32/NSTask_win32.m; sourceTree = "<group>"; };
6E2805DF09747D1000EC542B /* NSXMLAttribute.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = NSXMLAttribute.h; path = xml/NSXMLAttribute.h; sourceTree = "<group>"; };
6E2805E009747D1000EC542B /* NSXMLAttribute.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = NSXMLAttribute.m; path = xml/NSXMLAttribute.m; sourceTree = "<group>"; };
6E2805E109747D1000EC542B /* NSXMLDocument.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = NSXMLDocument.h; path = xml/NSXMLDocument.h; sourceTree = "<group>"; };
6E2805E209747D1000EC542B /* NSXMLDocument.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = NSXMLDocument.m; path = xml/NSXMLDocument.m; sourceTree = "<group>"; };
6E2805E309747D1000EC542B /* NSXMLElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = NSXMLElement.h; path = xml/NSXMLElement.h; sourceTree = "<group>"; };
6E2805E409747D1000EC542B /* NSXMLElement.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = NSXMLElement.m; path = xml/NSXMLElement.m; sourceTree = "<group>"; };
6E2805E509747D1000EC542B /* NSXMLReader.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = NSXMLReader.h; path = xml/NSXMLReader.h; sourceTree = "<group>"; };
6E2805E609747D1000EC542B /* NSXMLReader.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = NSXMLReader.m; path = xml/NSXMLReader.m; sourceTree = "<group>"; };
6E2805F309747D5800EC542B /* NSBundle.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSBundle.h; sourceTree = "<group>"; };
6E2805F409747D5800EC542B /* NSBundle.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSBundle.m; sourceTree = "<group>"; };
6E2805F509747D5800EC542B /* NSByteOrder.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSByteOrder.h; sourceTree = "<group>"; };
@ -2071,6 +2183,54 @@
FE35D66D0B52AFBC00FE7AB3 /* NSSocket_bsd.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = NSSocket_bsd.m; path = platform_posix/NSSocket_bsd.m; sourceTree = "<group>"; };
FE405A6A0B4450FD001B183D /* NSHTTPURLResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSHTTPURLResponse.h; sourceTree = "<group>"; };
FE405A6B0B4450FD001B183D /* NSHTTPURLResponse.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSHTTPURLResponse.m; sourceTree = "<group>"; };
FE53BE170BA9EBBE0050277F /* NSOldXMLAttribute.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSOldXMLAttribute.h; sourceTree = "<group>"; };
FE53BE180BA9EBBE0050277F /* NSOldXMLAttribute.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSOldXMLAttribute.m; sourceTree = "<group>"; };
FE53BE190BA9EBBE0050277F /* NSOldXMLDocument.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSOldXMLDocument.h; sourceTree = "<group>"; };
FE53BE1A0BA9EBBE0050277F /* NSOldXMLDocument.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSOldXMLDocument.m; sourceTree = "<group>"; };
FE53BE1B0BA9EBBE0050277F /* NSOldXMLElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSOldXMLElement.h; sourceTree = "<group>"; };
FE53BE1C0BA9EBBE0050277F /* NSOldXMLElement.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSOldXMLElement.m; sourceTree = "<group>"; };
FE53BE1D0BA9EBBE0050277F /* NSOldXMLReader.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSOldXMLReader.h; sourceTree = "<group>"; };
FE53BE1E0BA9EBBE0050277F /* NSOldXMLReader.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSOldXMLReader.m; sourceTree = "<group>"; };
FE53BE490BA9ED490050277F /* NSXMLDocument.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSXMLDocument.h; sourceTree = "<group>"; };
FE53BE4A0BA9ED490050277F /* NSXMLDocument.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSXMLDocument.m; sourceTree = "<group>"; };
FE53BE4B0BA9ED490050277F /* NSXMLDTD.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSXMLDTD.h; sourceTree = "<group>"; };
FE53BE4C0BA9ED490050277F /* NSXMLDTD.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSXMLDTD.m; sourceTree = "<group>"; };
FE53BE4D0BA9ED490050277F /* NSXMLDTDNode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSXMLDTDNode.h; sourceTree = "<group>"; };
FE53BE4E0BA9ED490050277F /* NSXMLDTDNode.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSXMLDTDNode.m; sourceTree = "<group>"; };
FE53BE4F0BA9ED490050277F /* NSXMLElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSXMLElement.h; sourceTree = "<group>"; };
FE53BE500BA9ED490050277F /* NSXMLElement.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSXMLElement.m; sourceTree = "<group>"; };
FE53BE510BA9ED490050277F /* NSXMLNode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSXMLNode.h; sourceTree = "<group>"; };
FE53BE520BA9ED490050277F /* NSXMLNode.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSXMLNode.m; sourceTree = "<group>"; };
FE53BE550BA9ED490050277F /* NSXMLParser.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSXMLParser.h; sourceTree = "<group>"; };
FE53BE560BA9ED490050277F /* NSXMLParser.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSXMLParser.m; sourceTree = "<group>"; };
FE6DC2550BA902710082AC66 /* NSAffineTransform.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSAffineTransform.h; sourceTree = "<group>"; };
FE6DC2560BA902710082AC66 /* NSAffineTransform.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSAffineTransform.m; sourceTree = "<group>"; };
FE74776D0BAC4E9000829F4F /* NSDecimal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSDecimal.h; sourceTree = "<group>"; };
FE74776E0BAC4E9000829F4F /* NSDecimal.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSDecimal.m; sourceTree = "<group>"; };
FE74776F0BAC4E9000829F4F /* NSDecimalNumber.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSDecimalNumber.h; sourceTree = "<group>"; };
FE7477700BAC4E9000829F4F /* NSDecimalNumber.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSDecimalNumber.m; sourceTree = "<group>"; };
FE7477990BAC4F5200829F4F /* NSDistributedLock.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSDistributedLock.h; sourceTree = "<group>"; };
FE74779A0BAC4F5200829F4F /* NSDistributedLock.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSDistributedLock.m; sourceTree = "<group>"; };
FE74779B0BAC4F5200829F4F /* NSDistributedNotificationCenter.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSDistributedNotificationCenter.h; sourceTree = "<group>"; };
FE74779C0BAC4F5200829F4F /* NSDistributedNotificationCenter.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSDistributedNotificationCenter.m; sourceTree = "<group>"; };
FE7477BE0BAC507F00829F4F /* NSIndexPath.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSIndexPath.h; sourceTree = "<group>"; };
FE7477BF0BAC507F00829F4F /* NSIndexPath.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSIndexPath.m; sourceTree = "<group>"; };
FE7477CD0BAC519800829F4F /* NSMetadataItem.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSMetadataItem.h; sourceTree = "<group>"; };
FE7477CE0BAC519800829F4F /* NSMetadataItem.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSMetadataItem.m; sourceTree = "<group>"; };
FE7477CF0BAC519800829F4F /* NSMetadataQuery.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSMetadataQuery.h; sourceTree = "<group>"; };
FE7477D00BAC519800829F4F /* NSMetadataQuery.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSMetadataQuery.m; sourceTree = "<group>"; };
FE7477D10BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSMetadataQueryAttributeValueTuple.h; sourceTree = "<group>"; };
FE7477D20BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSMetadataQueryAttributeValueTuple.m; sourceTree = "<group>"; };
FE7477D30BAC519800829F4F /* NSMetadataQueryResultGroup.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSMetadataQueryResultGroup.h; sourceTree = "<group>"; };
FE7477D40BAC519800829F4F /* NSMetadataQueryResultGroup.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSMetadataQueryResultGroup.m; sourceTree = "<group>"; };
FE74780B0BAC594600829F4F /* NSNetService.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSNetService.h; sourceTree = "<group>"; };
FE74780C0BAC594600829F4F /* NSNetService.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSNetService.m; sourceTree = "<group>"; };
FE74780D0BAC594600829F4F /* NSNetServiceBrowser.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSNetServiceBrowser.h; sourceTree = "<group>"; };
FE74780E0BAC594600829F4F /* NSNetServiceBrowser.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSNetServiceBrowser.m; sourceTree = "<group>"; };
FE7478410BAC5A8700829F4F /* NSSortDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSSortDescriptor.h; sourceTree = "<group>"; };
FE7478420BAC5A8700829F4F /* NSSortDescriptor.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSSortDescriptor.m; sourceTree = "<group>"; };
FE7478700BAC5EB600829F4F /* NSValueTransformer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSValueTransformer.h; sourceTree = "<group>"; };
FE7478710BAC5EB600829F4F /* NSValueTransformer.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSValueTransformer.m; sourceTree = "<group>"; };
FEB6CBAE0B4A139F004FADF2 /* NSKeyValueCoding.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSKeyValueCoding.h; sourceTree = "<group>"; };
FEB6CBAF0B4A139F004FADF2 /* NSKeyValueCoding.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSKeyValueCoding.m; sourceTree = "<group>"; };
FEB6CC0E0B4A169C004FADF2 /* objc-class.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "objc-class.m"; sourceTree = "<group>"; };
@ -2197,6 +2357,8 @@
children = (
0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */,
6E280B2909747F1F00EC542B /* Foundation.h */,
FE6DC2550BA902710082AC66 /* NSAffineTransform.h */,
FE6DC2560BA902710082AC66 /* NSAffineTransform.m */,
6E28030D0974787200EC542B /* NSArchiver.h */,
6E28030E0974787200EC542B /* NSArchiver.m */,
6E280310097478A700EC542B /* NSArray */,
@ -2218,9 +2380,14 @@
6E28069409747E6B00EC542B /* NSDate */,
6E2805F909747D5800EC542B /* NSDebug.h */,
6E2805FA09747D5800EC542B /* NSDebug.m */,
FE74776A0BAC4E0D00829F4F /* NSDecimal */,
6E2803300974790300EC542B /* NSDictionary */,
6E2805FB09747D5800EC542B /* NSDirectoryEnumerator.h */,
6E2805FC09747D5800EC542B /* NSDirectoryEnumerator.m */,
FE7477990BAC4F5200829F4F /* NSDistributedLock.h */,
FE74779A0BAC4F5200829F4F /* NSDistributedLock.m */,
FE74779B0BAC4F5200829F4F /* NSDistributedNotificationCenter.h */,
FE74779C0BAC4F5200829F4F /* NSDistributedNotificationCenter.m */,
6E2805FD09747D5800EC542B /* NSEnumerator.h */,
6E2805FE09747D5800EC542B /* NSEnumerator.m */,
FEB9D4AC0B4434C800C239BB /* NSError.h */,
@ -2239,6 +2406,8 @@
6E28060909747D5800EC542B /* NSHost.h */,
6E28060A09747D5800EC542B /* NSHost.m */,
FEB9D6070B443BC500C239BB /* NSHTTPCookie */,
FE7477BE0BAC507F00829F4F /* NSIndexPath.h */,
FE7477BF0BAC507F00829F4F /* NSIndexPath.m */,
FEB9D4B60B44355900C239BB /* NSIndexSet */,
6E28060F09747D5800EC542B /* NSInvocation.h */,
6E28061009747D5800EC542B /* NSInvocation.m */,
@ -2250,8 +2419,10 @@
6E2803320974791700EC542B /* NSLock */,
6E28061109747D5800EC542B /* NSMapTable.h */,
6E28061209747D5800EC542B /* NSMapTable.m */,
FE7477CC0BAC511600829F4F /* NSMetadata */,
6E28061309747D5800EC542B /* NSMethodSignature.h */,
6E28061409747D5800EC542B /* NSMethodSignature.m */,
FE74780A0BAC591800829F4F /* NSNetService */,
6E2803340974793100EC542B /* NSNotification */,
6E2803350974793800EC542B /* NSNotificationCenter */,
6E2803360974794100EC542B /* NSNotificationQueue */,
@ -2279,6 +2450,8 @@
6E28033A0974796000EC542B /* NSRunLoop */,
6E28033B0974796500EC542B /* NSScanner */,
6E28033C0974796E00EC542B /* NSSet */,
FE7478410BAC5A8700829F4F /* NSSortDescriptor.h */,
FE7478420BAC5A8700829F4F /* NSSortDescriptor.m */,
6E28033D0974797500EC542B /* NSStream */,
6E28033E0974799000EC542B /* NSString */,
6E28033F0974799800EC542B /* NSStringsFileFormat */,
@ -2293,6 +2466,8 @@
FEB9D5580B44389200C239BB /* NSURL */,
6E280343097479F900EC542B /* NSUserDefaults */,
6E28034409747A0100EC542B /* NSValue */,
FE7478700BAC5EB600829F4F /* NSValueTransformer.h */,
FE7478710BAC5EB600829F4F /* NSValueTransformer.m */,
6E28034509747A1A00EC542B /* NSZone */,
6E28034609747A2500EC542B /* objc */,
FEB6CC400B4A1922004FADF2 /* objc.xcodeproj */,
@ -2542,6 +2717,14 @@
6E2803390974795700EC542B /* NSPropertyList */ = {
isa = PBXGroup;
children = (
FE53BE170BA9EBBE0050277F /* NSOldXMLAttribute.h */,
FE53BE180BA9EBBE0050277F /* NSOldXMLAttribute.m */,
FE53BE190BA9EBBE0050277F /* NSOldXMLDocument.h */,
FE53BE1A0BA9EBBE0050277F /* NSOldXMLDocument.m */,
FE53BE1B0BA9EBBE0050277F /* NSOldXMLElement.h */,
FE53BE1C0BA9EBBE0050277F /* NSOldXMLElement.m */,
FE53BE1D0BA9EBBE0050277F /* NSOldXMLReader.h */,
FE53BE1E0BA9EBBE0050277F /* NSOldXMLReader.m */,
6E28044209747BCB00EC542B /* NSPropertyListReader_vintage.h */,
6E28044309747BCB00EC542B /* NSPropertyListReader_vintage.m */,
6E28044409747BCB00EC542B /* NSPropertyListWriter.h */,
@ -2896,16 +3079,20 @@
6E28034B09747A8200EC542B /* xml */ = {
isa = PBXGroup;
children = (
6E2805DF09747D1000EC542B /* NSXMLAttribute.h */,
6E2805E009747D1000EC542B /* NSXMLAttribute.m */,
6E2805E109747D1000EC542B /* NSXMLDocument.h */,
6E2805E209747D1000EC542B /* NSXMLDocument.m */,
6E2805E309747D1000EC542B /* NSXMLElement.h */,
6E2805E409747D1000EC542B /* NSXMLElement.m */,
6E2805E509747D1000EC542B /* NSXMLReader.h */,
6E2805E609747D1000EC542B /* NSXMLReader.m */,
FE53BE490BA9ED490050277F /* NSXMLDocument.h */,
FE53BE4A0BA9ED490050277F /* NSXMLDocument.m */,
FE53BE4B0BA9ED490050277F /* NSXMLDTD.h */,
FE53BE4C0BA9ED490050277F /* NSXMLDTD.m */,
FE53BE4D0BA9ED490050277F /* NSXMLDTDNode.h */,
FE53BE4E0BA9ED490050277F /* NSXMLDTDNode.m */,
FE53BE4F0BA9ED490050277F /* NSXMLElement.h */,
FE53BE500BA9ED490050277F /* NSXMLElement.m */,
FE53BE510BA9ED490050277F /* NSXMLNode.h */,
FE53BE520BA9ED490050277F /* NSXMLNode.m */,
FE53BE550BA9ED490050277F /* NSXMLParser.h */,
FE53BE560BA9ED490050277F /* NSXMLParser.m */,
);
name = xml;
path = xml;
sourceTree = "<group>";
};
6E28055A09747C8F00EC542B /* platform_linux */ = {
@ -3010,6 +3197,43 @@
name = NSCharacterSet;
sourceTree = "<group>";
};
FE74776A0BAC4E0D00829F4F /* NSDecimal */ = {
isa = PBXGroup;
children = (
FE74776D0BAC4E9000829F4F /* NSDecimal.h */,
FE74776E0BAC4E9000829F4F /* NSDecimal.m */,
FE74776F0BAC4E9000829F4F /* NSDecimalNumber.h */,
FE7477700BAC4E9000829F4F /* NSDecimalNumber.m */,
);
path = NSDecimal;
sourceTree = "<group>";
};
FE7477CC0BAC511600829F4F /* NSMetadata */ = {
isa = PBXGroup;
children = (
FE7477CD0BAC519800829F4F /* NSMetadataItem.h */,
FE7477CE0BAC519800829F4F /* NSMetadataItem.m */,
FE7477CF0BAC519800829F4F /* NSMetadataQuery.h */,
FE7477D00BAC519800829F4F /* NSMetadataQuery.m */,
FE7477D10BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h */,
FE7477D20BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m */,
FE7477D30BAC519800829F4F /* NSMetadataQueryResultGroup.h */,
FE7477D40BAC519800829F4F /* NSMetadataQueryResultGroup.m */,
);
path = NSMetadata;
sourceTree = "<group>";
};
FE74780A0BAC591800829F4F /* NSNetService */ = {
isa = PBXGroup;
children = (
FE74780B0BAC594600829F4F /* NSNetService.h */,
FE74780C0BAC594600829F4F /* NSNetService.m */,
FE74780D0BAC594600829F4F /* NSNetServiceBrowser.h */,
FE74780E0BAC594600829F4F /* NSNetServiceBrowser.m */,
);
path = NSNetService;
sourceTree = "<group>";
};
FEB6CC410B4A1922004FADF2 /* Products */ = {
isa = PBXGroup;
children = (
@ -3267,10 +3491,6 @@
6E4D920A0A2642BD003D335C /* Object.h in Headers */,
6E4D920B0A2642BD003D335C /* ObjectiveC.h in Headers */,
6E4D920C0A2642BD003D335C /* Protocol.h in Headers */,
6E4D920D0A2642BD003D335C /* NSXMLAttribute.h in Headers */,
6E4D920E0A2642BD003D335C /* NSXMLDocument.h in Headers */,
6E4D920F0A2642BD003D335C /* NSXMLElement.h in Headers */,
6E4D92100A2642BD003D335C /* NSXMLReader.h in Headers */,
6E4D92120A2642BD003D335C /* NSBundle.h in Headers */,
6E4D92130A2642BD003D335C /* NSByteOrder.h in Headers */,
6E4D92140A2642BD003D335C /* NSCoder.h in Headers */,
@ -3381,6 +3601,30 @@
FE35D64B0B52A3E400FE7AB3 /* NSSelectSet_bsd.h in Headers */,
FE35D6700B52AFBC00FE7AB3 /* NSSocket_bsd.h in Headers */,
FE1935190B5D449E00FB74CC /* NSAssertionHandler.h in Headers */,
FE6DC25B0BA902710082AC66 /* NSAffineTransform.h in Headers */,
FE53BE2F0BA9EBBE0050277F /* NSOldXMLAttribute.h in Headers */,
FE53BE310BA9EBBE0050277F /* NSOldXMLDocument.h in Headers */,
FE53BE330BA9EBBE0050277F /* NSOldXMLElement.h in Headers */,
FE53BE350BA9EBBE0050277F /* NSOldXMLReader.h in Headers */,
FE53BE730BA9ED490050277F /* NSXMLDocument.h in Headers */,
FE53BE750BA9ED490050277F /* NSXMLDTD.h in Headers */,
FE53BE770BA9ED490050277F /* NSXMLDTDNode.h in Headers */,
FE53BE790BA9ED490050277F /* NSXMLElement.h in Headers */,
FE53BE7B0BA9ED490050277F /* NSXMLNode.h in Headers */,
FE53BE7F0BA9ED490050277F /* NSXMLParser.h in Headers */,
FE7477790BAC4E9000829F4F /* NSDecimal.h in Headers */,
FE74777B0BAC4E9000829F4F /* NSDecimalNumber.h in Headers */,
FE7477A50BAC4F5200829F4F /* NSDistributedLock.h in Headers */,
FE7477A70BAC4F5200829F4F /* NSDistributedNotificationCenter.h in Headers */,
FE7477C40BAC507F00829F4F /* NSIndexPath.h in Headers */,
FE7477E50BAC519800829F4F /* NSMetadataItem.h in Headers */,
FE7477E70BAC519800829F4F /* NSMetadataQuery.h in Headers */,
FE7477E90BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h in Headers */,
FE7477EB0BAC519800829F4F /* NSMetadataQueryResultGroup.h in Headers */,
FE7478170BAC594600829F4F /* NSNetService.h in Headers */,
FE7478190BAC594600829F4F /* NSNetServiceBrowser.h in Headers */,
FE7478470BAC5A8700829F4F /* NSSortDescriptor.h in Headers */,
FE7478760BAC5EB600829F4F /* NSValueTransformer.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -3511,10 +3755,6 @@
6EA0494C09E57D5F0067589C /* Object.h in Headers */,
6EA0494D09E57D5F0067589C /* ObjectiveC.h in Headers */,
6EA0494E09E57D5F0067589C /* Protocol.h in Headers */,
6EA0495D09E57D5F0067589C /* NSXMLAttribute.h in Headers */,
6EA0495E09E57D5F0067589C /* NSXMLDocument.h in Headers */,
6EA0495F09E57D5F0067589C /* NSXMLElement.h in Headers */,
6EA0496009E57D5F0067589C /* NSXMLReader.h in Headers */,
6EA0496209E57D5F0067589C /* NSBundle.h in Headers */,
6EA0496309E57D5F0067589C /* NSByteOrder.h in Headers */,
6EA0496409E57D5F0067589C /* NSCoder.h in Headers */,
@ -3625,6 +3865,30 @@
FE35D6490B52A3E400FE7AB3 /* NSSelectSet_bsd.h in Headers */,
FE35D66E0B52AFBC00FE7AB3 /* NSSocket_bsd.h in Headers */,
FE1935170B5D449E00FB74CC /* NSAssertionHandler.h in Headers */,
FE6DC2590BA902710082AC66 /* NSAffineTransform.h in Headers */,
FE53BE270BA9EBBE0050277F /* NSOldXMLAttribute.h in Headers */,
FE53BE290BA9EBBE0050277F /* NSOldXMLDocument.h in Headers */,
FE53BE2B0BA9EBBE0050277F /* NSOldXMLElement.h in Headers */,
FE53BE2D0BA9EBBE0050277F /* NSOldXMLReader.h in Headers */,
FE53BE650BA9ED490050277F /* NSXMLDocument.h in Headers */,
FE53BE670BA9ED490050277F /* NSXMLDTD.h in Headers */,
FE53BE690BA9ED490050277F /* NSXMLDTDNode.h in Headers */,
FE53BE6B0BA9ED490050277F /* NSXMLElement.h in Headers */,
FE53BE6D0BA9ED490050277F /* NSXMLNode.h in Headers */,
FE53BE710BA9ED490050277F /* NSXMLParser.h in Headers */,
FE7477750BAC4E9000829F4F /* NSDecimal.h in Headers */,
FE7477770BAC4E9000829F4F /* NSDecimalNumber.h in Headers */,
FE7477A10BAC4F5200829F4F /* NSDistributedLock.h in Headers */,
FE7477A30BAC4F5200829F4F /* NSDistributedNotificationCenter.h in Headers */,
FE7477C20BAC507F00829F4F /* NSIndexPath.h in Headers */,
FE7477DD0BAC519800829F4F /* NSMetadataItem.h in Headers */,
FE7477DF0BAC519800829F4F /* NSMetadataQuery.h in Headers */,
FE7477E10BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h in Headers */,
FE7477E30BAC519800829F4F /* NSMetadataQueryResultGroup.h in Headers */,
FE7478130BAC594600829F4F /* NSNetService.h in Headers */,
FE7478150BAC594600829F4F /* NSNetServiceBrowser.h in Headers */,
FE7478450BAC5A8700829F4F /* NSSortDescriptor.h in Headers */,
FE7478740BAC5EB600829F4F /* NSValueTransformer.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -3767,10 +4031,6 @@
6E2805D709747D0400EC542B /* NSReadInBackground_win32.h in Headers */,
6E2805DB09747D0400EC542B /* NSString_win32.h in Headers */,
6E2805DD09747D0400EC542B /* NSTask_win32.h in Headers */,
6E2805E909747D1000EC542B /* NSXMLAttribute.h in Headers */,
6E2805EB09747D1000EC542B /* NSXMLDocument.h in Headers */,
6E2805ED09747D1000EC542B /* NSXMLElement.h in Headers */,
6E2805EF09747D1000EC542B /* NSXMLReader.h in Headers */,
6E28062B09747D5800EC542B /* NSBundle.h in Headers */,
6E28062D09747D5800EC542B /* NSByteOrder.h in Headers */,
6E28062F09747D5800EC542B /* NSCoder.h in Headers */,
@ -3872,6 +4132,30 @@
FE35D3510B4EEDBB00FE7AB3 /* NSSelectSet_windows.h in Headers */,
FE35D3AE0B4F369C00FE7AB3 /* NSSelectInputSourceSet.h in Headers */,
FE19351B0B5D449E00FB74CC /* NSAssertionHandler.h in Headers */,
FE6DC2570BA902710082AC66 /* NSAffineTransform.h in Headers */,
FE53BE1F0BA9EBBE0050277F /* NSOldXMLAttribute.h in Headers */,
FE53BE210BA9EBBE0050277F /* NSOldXMLDocument.h in Headers */,
FE53BE230BA9EBBE0050277F /* NSOldXMLElement.h in Headers */,
FE53BE250BA9EBBE0050277F /* NSOldXMLReader.h in Headers */,
FE53BE570BA9ED490050277F /* NSXMLDocument.h in Headers */,
FE53BE590BA9ED490050277F /* NSXMLDTD.h in Headers */,
FE53BE5B0BA9ED490050277F /* NSXMLDTDNode.h in Headers */,
FE53BE5D0BA9ED490050277F /* NSXMLElement.h in Headers */,
FE53BE5F0BA9ED490050277F /* NSXMLNode.h in Headers */,
FE53BE630BA9ED490050277F /* NSXMLParser.h in Headers */,
FE7477710BAC4E9000829F4F /* NSDecimal.h in Headers */,
FE7477730BAC4E9000829F4F /* NSDecimalNumber.h in Headers */,
FE74779D0BAC4F5200829F4F /* NSDistributedLock.h in Headers */,
FE74779F0BAC4F5200829F4F /* NSDistributedNotificationCenter.h in Headers */,
FE7477C00BAC507F00829F4F /* NSIndexPath.h in Headers */,
FE7477D50BAC519800829F4F /* NSMetadataItem.h in Headers */,
FE7477D70BAC519800829F4F /* NSMetadataQuery.h in Headers */,
FE7477D90BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.h in Headers */,
FE7477DB0BAC519800829F4F /* NSMetadataQueryResultGroup.h in Headers */,
FE74780F0BAC594600829F4F /* NSNetService.h in Headers */,
FE7478110BAC594600829F4F /* NSNetServiceBrowser.h in Headers */,
FE7478430BAC5A8700829F4F /* NSSortDescriptor.h in Headers */,
FE7478720BAC5EB600829F4F /* NSValueTransformer.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -4010,6 +4294,7 @@
6E4D93210A2642BD003D335C /* NSTimeZoneAbbreviations.plist in Resources */,
6E4D93220A2642BD003D335C /* NSTimeZoneRegions.plist in Resources */,
6E4D93230A2642BD003D335C /* NSUserDefaults.plist in Resources */,
FE7477A60BAC4F5200829F4F /* NSDistributedLock.m in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -4029,6 +4314,7 @@
6EA04A6C09E57D5F0067589C /* NSTimeZoneAbbreviations.plist in Resources */,
6EA04A6D09E57D5F0067589C /* NSTimeZoneRegions.plist in Resources */,
6EA04A6E09E57D5F0067589C /* NSUserDefaults.plist in Resources */,
FE7477A20BAC4F5200829F4F /* NSDistributedLock.m in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -4048,6 +4334,7 @@
6E2808FD09747EA900EC542B /* NSTimeZoneAbbreviations.plist in Resources */,
6E2808FE09747EA900EC542B /* NSTimeZoneRegions.plist in Resources */,
6E280B2D09747F4900EC542B /* NSUserDefaults.plist in Resources */,
FE74779E0BAC4F5200829F4F /* NSDistributedLock.m in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -4178,10 +4465,6 @@
6E4D92CF0A2642BD003D335C /* Object.m in Sources */,
6E4D92D00A2642BD003D335C /* ObjectiveC.m in Sources */,
6E4D92D10A2642BD003D335C /* Protocol.m in Sources */,
6E4D92D20A2642BD003D335C /* NSXMLAttribute.m in Sources */,
6E4D92D30A2642BD003D335C /* NSXMLDocument.m in Sources */,
6E4D92D40A2642BD003D335C /* NSXMLElement.m in Sources */,
6E4D92D50A2642BD003D335C /* NSXMLReader.m in Sources */,
6E4D92D70A2642BD003D335C /* NSBundle.m in Sources */,
6E4D92D80A2642BD003D335C /* NSByteOrder.m in Sources */,
6E4D92D90A2642BD003D335C /* NSCoder.m in Sources */,
@ -4297,6 +4580,29 @@
FE35D64C0B52A3E400FE7AB3 /* NSSelectSet_bsd.m in Sources */,
FE35D6710B52AFBC00FE7AB3 /* NSSocket_bsd.m in Sources */,
FE19351A0B5D449E00FB74CC /* NSAssertionHandler.m in Sources */,
FE6DC25C0BA902710082AC66 /* NSAffineTransform.m in Sources */,
FE53BE300BA9EBBE0050277F /* NSOldXMLAttribute.m in Sources */,
FE53BE320BA9EBBE0050277F /* NSOldXMLDocument.m in Sources */,
FE53BE340BA9EBBE0050277F /* NSOldXMLElement.m in Sources */,
FE53BE360BA9EBBE0050277F /* NSOldXMLReader.m in Sources */,
FE53BE740BA9ED490050277F /* NSXMLDocument.m in Sources */,
FE53BE760BA9ED490050277F /* NSXMLDTD.m in Sources */,
FE53BE780BA9ED490050277F /* NSXMLDTDNode.m in Sources */,
FE53BE7A0BA9ED490050277F /* NSXMLElement.m in Sources */,
FE53BE7C0BA9ED490050277F /* NSXMLNode.m in Sources */,
FE53BE800BA9ED490050277F /* NSXMLParser.m in Sources */,
FE74777A0BAC4E9000829F4F /* NSDecimal.m in Sources */,
FE74777C0BAC4E9000829F4F /* NSDecimalNumber.m in Sources */,
FE7477A80BAC4F5200829F4F /* NSDistributedNotificationCenter.m in Sources */,
FE7477C50BAC507F00829F4F /* NSIndexPath.m in Sources */,
FE7477E60BAC519800829F4F /* NSMetadataItem.m in Sources */,
FE7477E80BAC519800829F4F /* NSMetadataQuery.m in Sources */,
FE7477EA0BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m in Sources */,
FE7477EC0BAC519800829F4F /* NSMetadataQueryResultGroup.m in Sources */,
FE7478180BAC594600829F4F /* NSNetService.m in Sources */,
FE74781A0BAC594600829F4F /* NSNetServiceBrowser.m in Sources */,
FE7478480BAC5A8700829F4F /* NSSortDescriptor.m in Sources */,
FE7478770BAC5EB600829F4F /* NSValueTransformer.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -4424,10 +4730,6 @@
6EA04A1409E57D5F0067589C /* Object.m in Sources */,
6EA04A1509E57D5F0067589C /* ObjectiveC.m in Sources */,
6EA04A1609E57D5F0067589C /* Protocol.m in Sources */,
6EA04A1709E57D5F0067589C /* NSXMLAttribute.m in Sources */,
6EA04A1809E57D5F0067589C /* NSXMLDocument.m in Sources */,
6EA04A1909E57D5F0067589C /* NSXMLElement.m in Sources */,
6EA04A1A09E57D5F0067589C /* NSXMLReader.m in Sources */,
6EA04A1C09E57D5F0067589C /* NSBundle.m in Sources */,
6EA04A1D09E57D5F0067589C /* NSByteOrder.m in Sources */,
6EA04A1E09E57D5F0067589C /* NSCoder.m in Sources */,
@ -4543,6 +4845,29 @@
FE35D64A0B52A3E400FE7AB3 /* NSSelectSet_bsd.m in Sources */,
FE35D66F0B52AFBC00FE7AB3 /* NSSocket_bsd.m in Sources */,
FE1935180B5D449E00FB74CC /* NSAssertionHandler.m in Sources */,
FE6DC25A0BA902710082AC66 /* NSAffineTransform.m in Sources */,
FE53BE280BA9EBBE0050277F /* NSOldXMLAttribute.m in Sources */,
FE53BE2A0BA9EBBE0050277F /* NSOldXMLDocument.m in Sources */,
FE53BE2C0BA9EBBE0050277F /* NSOldXMLElement.m in Sources */,
FE53BE2E0BA9EBBE0050277F /* NSOldXMLReader.m in Sources */,
FE53BE660BA9ED490050277F /* NSXMLDocument.m in Sources */,
FE53BE680BA9ED490050277F /* NSXMLDTD.m in Sources */,
FE53BE6A0BA9ED490050277F /* NSXMLDTDNode.m in Sources */,
FE53BE6C0BA9ED490050277F /* NSXMLElement.m in Sources */,
FE53BE6E0BA9ED490050277F /* NSXMLNode.m in Sources */,
FE53BE720BA9ED490050277F /* NSXMLParser.m in Sources */,
FE7477760BAC4E9000829F4F /* NSDecimal.m in Sources */,
FE7477780BAC4E9000829F4F /* NSDecimalNumber.m in Sources */,
FE7477A40BAC4F5200829F4F /* NSDistributedNotificationCenter.m in Sources */,
FE7477C30BAC507F00829F4F /* NSIndexPath.m in Sources */,
FE7477DE0BAC519800829F4F /* NSMetadataItem.m in Sources */,
FE7477E00BAC519800829F4F /* NSMetadataQuery.m in Sources */,
FE7477E20BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m in Sources */,
FE7477E40BAC519800829F4F /* NSMetadataQueryResultGroup.m in Sources */,
FE7478140BAC594600829F4F /* NSNetService.m in Sources */,
FE7478160BAC594600829F4F /* NSNetServiceBrowser.m in Sources */,
FE7478460BAC5A8700829F4F /* NSSortDescriptor.m in Sources */,
FE7478750BAC5EB600829F4F /* NSValueTransformer.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -4670,10 +4995,6 @@
6E28055509747C8900EC542B /* Object.m in Sources */,
6E28055709747C8900EC542B /* ObjectiveC.m in Sources */,
6E28055909747C8900EC542B /* Protocol.m in Sources */,
6E2805EA09747D1000EC542B /* NSXMLAttribute.m in Sources */,
6E2805EC09747D1000EC542B /* NSXMLDocument.m in Sources */,
6E2805EE09747D1000EC542B /* NSXMLElement.m in Sources */,
6E2805F009747D1000EC542B /* NSXMLReader.m in Sources */,
6E28062C09747D5800EC542B /* NSBundle.m in Sources */,
6E28062E09747D5800EC542B /* NSByteOrder.m in Sources */,
6E28063009747D5800EC542B /* NSCoder.m in Sources */,
@ -4792,6 +5113,29 @@
FE35D3520B4EEDBB00FE7AB3 /* NSSelectSet_windows.m in Sources */,
FE35D3AF0B4F369C00FE7AB3 /* NSSelectInputSourceSet.m in Sources */,
FE19351C0B5D449E00FB74CC /* NSAssertionHandler.m in Sources */,
FE6DC2580BA902710082AC66 /* NSAffineTransform.m in Sources */,
FE53BE200BA9EBBE0050277F /* NSOldXMLAttribute.m in Sources */,
FE53BE220BA9EBBE0050277F /* NSOldXMLDocument.m in Sources */,
FE53BE240BA9EBBE0050277F /* NSOldXMLElement.m in Sources */,
FE53BE260BA9EBBE0050277F /* NSOldXMLReader.m in Sources */,
FE53BE580BA9ED490050277F /* NSXMLDocument.m in Sources */,
FE53BE5A0BA9ED490050277F /* NSXMLDTD.m in Sources */,
FE53BE5C0BA9ED490050277F /* NSXMLDTDNode.m in Sources */,
FE53BE5E0BA9ED490050277F /* NSXMLElement.m in Sources */,
FE53BE600BA9ED490050277F /* NSXMLNode.m in Sources */,
FE53BE640BA9ED490050277F /* NSXMLParser.m in Sources */,
FE7477720BAC4E9000829F4F /* NSDecimal.m in Sources */,
FE7477740BAC4E9000829F4F /* NSDecimalNumber.m in Sources */,
FE7477A00BAC4F5200829F4F /* NSDistributedNotificationCenter.m in Sources */,
FE7477C10BAC507F00829F4F /* NSIndexPath.m in Sources */,
FE7477D60BAC519800829F4F /* NSMetadataItem.m in Sources */,
FE7477D80BAC519800829F4F /* NSMetadataQuery.m in Sources */,
FE7477DA0BAC519800829F4F /* NSMetadataQueryAttributeValueTuple.m in Sources */,
FE7477DC0BAC519800829F4F /* NSMetadataQueryResultGroup.m in Sources */,
FE7478100BAC594600829F4F /* NSNetService.m in Sources */,
FE7478120BAC594600829F4F /* NSNetServiceBrowser.m in Sources */,
FE7478440BAC5A8700829F4F /* NSSortDescriptor.m in Sources */,
FE7478730BAC5EB600829F4F /* NSValueTransformer.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

View File

@ -7,7 +7,7 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// Original - Christopher Lloyd <cjwl@objc.net>
#import <AppKit/NSAffineTransform.h>
#import <Foundation/NSAffineTransform.h>
@implementation NSAffineTransform

View File

@ -7,8 +7,21 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
@class NSArray;
FOUNDATION_EXPORT NSString *NSClassDescriptionNeededForClassNotification;
@interface NSClassDescription : NSObject {
}
+(NSClassDescription *)classDescriptionForClass:(Class)class;
+(void)invalidateClassDescriptionCache;
+(void)registerClassDescription:(NSClassDescription *)description forClass:(Class)class;
-(NSArray *)attributeKeys;
-(NSString *)inverseForRelationshipKey:(NSString *)key;
-(NSArray *)toManyRelationshipKeys;
-(NSArray *)toOneRelationshipKeys;
@end

View File

@ -7,7 +7,43 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSClassDescription.h>
#import <Foundation/NSRaise.h>
NSString *NSClassDescriptionNeededForClassNotification=@"NSClassDescriptionNeededForClassNotification";
@implementation NSClassDescription
+(NSClassDescription *)classDescriptionForClass:(Class)class {
NSUnimplementedMethod();
return nil;
}
+(void)invalidateClassDescriptionCache {
NSUnimplementedMethod();
}
+(void)registerClassDescription:(NSClassDescription *)description forClass:(Class)class {
NSUnimplementedMethod();
}
-(NSArray *)attributeKeys {
NSUnimplementedMethod();
return nil;
}
-(NSString *)inverseForRelationshipKey:(NSString *)key {
NSUnimplementedMethod();
return nil;
}
-(NSArray *)toManyRelationshipKeys {
NSUnimplementedMethod();
return nil;
}
-(NSArray *)toOneRelationshipKeys {
NSUnimplementedMethod();
return nil;
}
@end

View File

@ -9,7 +9,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSPort.h>
#import <Foundation/NSRaise.h>
FOUNDATION_EXPORT NSString *NSPortDidBecomeInvalidNotification=@"NSPortDidBecomeInvalidNotification";
NSString *NSPortDidBecomeInvalidNotification=@"NSPortDidBecomeInvalidNotification";
@implementation NSPort

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,15 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSNumber.h>
@interface NSDecimalNumber : NSNumber {
}
@end

View File

@ -0,0 +1,13 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSDecimalNumber.h>
@implementation NSDecimalNumber
@end

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

7
Foundation/NSIndexPath.h Normal file
View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

7
Foundation/NSIndexPath.m Normal file
View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -8,12 +8,12 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSObject.h>
@interface NSXMLAttribute : NSObject {
@interface NSOldXMLAttribute : NSObject {
NSString *_name;
NSString *_value;
}
+(NSXMLAttribute *)attributeWithName:(NSString *)name value:(NSString *)value;
+(NSOldXMLAttribute *)attributeWithName:(NSString *)name value:(NSString *)value;
-initWithName:(NSString *)name value:(NSString *)value;

View File

@ -7,12 +7,12 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// Original - Christopher Lloyd <cjwl@objc.net>
#import <Foundation/NSXMLAttribute.h>
#import "NSOldXMLAttribute.h"
#import <Foundation/NSString.h>
@implementation NSXMLAttribute
@implementation NSOldXMLAttribute
+(NSXMLAttribute *)attributeWithName:(NSString *)name value:(NSString *)value {
+(NSOldXMLAttribute *)attributeWithName:(NSString *)name value:(NSString *)value {
return [[[self alloc] initWithName:name value:value] autorelease];
}

View File

@ -0,0 +1,21 @@
/* Copyright (c) 2006-2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
@class NSOldXMLElement;
@interface NSOldXMLDocument : NSObject {
NSOldXMLElement *_rootElement;
}
-(void)setRootElement:(NSOldXMLElement *)element;
-(NSOldXMLElement *)rootElement;
@end

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
/* Copyright (c) 2006-2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@ -7,23 +7,24 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// Original - Christopher Lloyd <cjwl@objc.net>
#import "KGImage_context.h"
#import "KGRenderingContext.h"
#import "NSOldXMLDocument.h"
#import "NSOldXMLElement.h"
@implementation KGImage_context
-initWithRenderingContext:(KGRenderingContext *)context {
_context=[context retain];
return self;
}
@implementation NSOldXMLDocument
-(void)dealloc {
[_context release];
[_rootElement release];
[super dealloc];
}
-(KGRenderingContext *)renderingContext {
return _context;
-(void)setRootElement:(NSOldXMLElement *)element {
element=[element retain];
[_rootElement release];
_rootElement=element;
}
-(NSOldXMLElement *)rootElement {
return _rootElement;
}
@end

View File

@ -0,0 +1,45 @@
/* Copyright (c) 2006-2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
@class NSOldXMLAttribute, NSMutableArray, NSArray;
@interface NSOldXMLElement : NSObject {
NSString *_name;
NSMutableArray *_attributes;
NSMutableArray *_contents;
}
+(NSOldXMLElement *)elementWithName:(NSString *)name;
-initWithName:(NSString *)name;
-(NSString *)name;
-(NSArray *)attributes;
-(NSArray *)contents;
-(NSString *)xid;
-(NSOldXMLAttribute *)attributeWithName:(NSString *)name;
-(void)addAttribute:(NSOldXMLAttribute *)attribute;
-(void)addContent:(id)content;
-(NSString *)stringValue;
-(int)intValue;
-(unsigned)unsignedIntValue;
-(float)floatValue;
-(NSRect)rectValue;
-(NSSize)sizeValue;
-(NSOldXMLElement *)nextElement;
@end

View File

@ -0,0 +1,141 @@
/* Copyright (c) 2006-2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// Original - Christopher Lloyd <cjwl@objc.net>
#import "NSOldXMLElement.h"
#import "NSOldXMLAttribute.h"
#import <Foundation/NSString.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSScanner.h>
@implementation NSOldXMLElement
+(NSOldXMLElement *)elementWithName:(NSString *)name {
return [[[self alloc] initWithName:name] autorelease];
}
-initWithName:(NSString *)name {
_name=[name copy];
_attributes=[NSMutableArray new];
_contents=[NSMutableArray new];
return self;
}
-(void)dealloc {
[_name release];
[_attributes release];
[_contents release];
[super dealloc];
}
-(NSString *)name {
return _name;
}
-(NSArray *)attributes {
return _attributes;
}
-(NSArray *)contents {
return _contents;
}
-(NSString *)xid {
return [[self attributeWithName:@"id"] value];
}
-(NSOldXMLAttribute *)attributeWithName:(NSString *)name {
int i,count=[_attributes count];
for(i=0;i<count;i++){
NSOldXMLAttribute *check=[_attributes objectAtIndex:i];
if([[check name] isEqualToString:name])
return check;
}
return nil;
}
-(void)addAttribute:(NSOldXMLAttribute *)attribute {
[_attributes addObject:attribute];
}
-(void)addContent:(id)content {
[_contents addObject:content];
}
-(NSString *)stringValue {
int i,count=[_contents count];
if(count==0)
return @"";
if(count==1)
return [_contents lastObject];
else {
NSMutableString *result=[NSMutableString string];
for(i=0;i<count;i++)
[result appendString:[_contents objectAtIndex:i]];
return result;
}
}
-(int)intValue {
return [[self stringValue] intValue];
}
-(unsigned)unsignedIntValue {
return [[self stringValue] intValue];
}
-(float)floatValue {
return [[self stringValue] floatValue];
}
-(NSRect)rectValue {
NSRect result=NSZeroRect;
NSScanner *scanner=[NSScanner scannerWithString:[self stringValue]];
[scanner scanFloat:&result.origin.x];
[scanner scanFloat:&result.origin.y];
[scanner scanFloat:&result.size.width];
[scanner scanFloat:&result.size.height];
return result;
}
-(NSSize)sizeValue {
NSSize result=NSZeroSize;
NSScanner *scanner=[NSScanner scannerWithString:[self stringValue]];
[scanner scanFloat:&result.width];
[scanner scanFloat:&result.height];
return result;
}
-(NSString *)description {
return [NSString stringWithFormat:@"<%@ %@ %@ %@>",[self class],
_name,_attributes,_contents];
}
-(NSOldXMLElement *)nextElement {
NSOldXMLElement *next;
if([_contents count]==0)
next=nil;
else {
next=[[[_contents objectAtIndex:0] retain] autorelease];
[_contents removeObjectAtIndex:0];
}
return next;
}
@end

View File

@ -11,9 +11,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSString.h>
#import <Foundation/NSHashTable.h>
@class NSXMLDocument,NSXMLElement,NSMutableDictionary,NSMutableArray;
@class NSOldXMLDocument,NSOldXMLElement,NSMutableDictionary,NSMutableArray;
@interface NSXMLReader : NSString {
@interface NSOldXMLReader : NSString {
NSData *_data;
const unsigned char *_bytes;
unsigned _length;
@ -25,7 +25,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
unichar _charRef;
NSMutableArray *_stack;
NSHashTable *_strings;
NSXMLElement *_rootElement;
NSOldXMLElement *_rootElement;
}
-initWithData:(NSData *)data;
@ -33,7 +33,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-(void)tokenize;
+(NSXMLDocument *)documentWithContentsOfFile:(NSString *)path;
+(NSXMLDocument *)documentWithData:(NSData *)data;
+(NSOldXMLDocument *)documentWithContentsOfFile:(NSString *)path;
+(NSOldXMLDocument *)documentWithData:(NSData *)data;
@end

View File

@ -7,10 +7,10 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// Original - Christopher Lloyd <cjwl@objc.net>
#import <Foundation/NSXMLReader.h>
#import <Foundation/NSXMLElement.h>
#import <Foundation/NSXMLAttribute.h>
#import <Foundation/NSXMLDocument.h>
#import "NSOldXMLReader.h"
#import "NSOldXMLElement.h"
#import "NSOldXMLAttribute.h"
#import "NSOldXMLDocument.h"
#import <Foundation/NSData.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSDictionary.h>
@ -39,7 +39,7 @@ enum {
STATE_Attribute_Value_SingleQuote,
};
@implementation NSXMLReader
@implementation NSOldXMLReader
-initWithData:(NSData *)data {
_data=[data copy];
@ -81,7 +81,7 @@ enum {
[super dealloc];
}
-(NSXMLElement *)rootElement {
-(NSOldXMLElement *)rootElement {
return _rootElement;
}
@ -117,7 +117,7 @@ enum {
}
-(void)entityRef:(NSString *)entityRef {
NSXMLElement *element=[_stack lastObject];
NSOldXMLElement *element=[_stack lastObject];
NSString *contents=[_entityRefContents objectForKey:self];
if(contents!=nil)
@ -125,7 +125,7 @@ enum {
}
-(void)sTag:(NSString *)sTag {
[_stack addObject:[NSXMLElement elementWithName:sTag]];
[_stack addObject:[NSOldXMLElement elementWithName:sTag]];
if([_stack count]==1){
[_rootElement release];
_rootElement=[[_stack lastObject] retain];
@ -133,7 +133,7 @@ enum {
}
-(void)popElement {
NSXMLElement *last=[[_stack lastObject] retain];
NSOldXMLElement *last=[[_stack lastObject] retain];
[_stack removeLastObject];
[[_stack lastObject] addContent:last];
@ -155,7 +155,7 @@ enum {
-(void)attributeValue:(NSString *)value {
NSString *name=[_stack lastObject];
NSXMLAttribute *attribute=[NSXMLAttribute attributeWithName:name value:value];
NSOldXMLAttribute *attribute=[NSOldXMLAttribute attributeWithName:name value:value];
[_stack removeLastObject];
[[_stack lastObject] addAttribute:attribute];
@ -489,13 +489,13 @@ static inline BOOL codeIsNameContinue(unsigned char code){
}
}
+(NSXMLDocument *)documentWithContentsOfFile:(NSString *)path {
NSXMLReader *reader=[[self alloc] initWithContentsOfFile:path];
NSXMLDocument *document;
+(NSOldXMLDocument *)documentWithContentsOfFile:(NSString *)path {
NSOldXMLReader *reader=[[self alloc] initWithContentsOfFile:path];
NSOldXMLDocument *document;
[reader tokenize];
document=[[[NSXMLDocument alloc] init] autorelease];
document=[[[NSOldXMLDocument alloc] init] autorelease];
[document setRootElement:[reader rootElement]];
[reader release];
@ -503,13 +503,13 @@ static inline BOOL codeIsNameContinue(unsigned char code){
return document;
}
+(NSXMLDocument *)documentWithData:(NSData *)data {
NSXMLReader *reader=[[self alloc] initWithData:data];
NSXMLDocument *document;
+(NSOldXMLDocument *)documentWithData:(NSData *)data {
NSOldXMLReader *reader=[[self alloc] initWithData:data];
NSOldXMLDocument *document;
[reader tokenize];
document=[[[NSXMLDocument alloc] init] autorelease];
document=[[[NSOldXMLDocument alloc] init] autorelease];
[document setRootElement:[reader rootElement]];
[reader release];

View File

@ -8,12 +8,12 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSObject.h>
@class NSData,NSXMLElement;
@class NSData,NSOldXMLElement;
@interface NSPropertyListReader_xml1 : NSObject {
}
+(NSObject *)propertyListFromElement:(NSXMLElement *)element;
+(NSObject *)propertyListFromElement:(NSOldXMLElement *)element;
+(NSObject *)propertyListFromData:(NSData *)data;

View File

@ -8,9 +8,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
// Original - Christopher Lloyd <cjwl@objc.net>
#import <Foundation/NSPropertyListReader_xml1.h>
#import <Foundation/NSXMLReader.h>
#import <Foundation/NSXMLDocument.h>
#import <Foundation/NSXMLElement.h>
#import "NSOldXMLReader.h"
#import "NSOldXMLDocument.h"
#import "NSOldXMLElement.h"
#import <Foundation/NSException.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSArray.h>
@ -19,7 +19,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
@implementation NSPropertyListReader_xml1
+(NSDictionary *)dictionaryFromElement:(NSXMLElement *)element {
+(NSDictionary *)dictionaryFromElement:(NSOldXMLElement *)element {
NSMutableDictionary *result=[NSMutableDictionary dictionary];
NSArray *contents=[element contents];
int i,count=[contents count];
@ -28,7 +28,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
for(i=0;i<count;i++){
id check=[contents objectAtIndex:i];
if([check isKindOfClass:[NSXMLElement class]]){
if([check isKindOfClass:[NSOldXMLElement class]]){
if([[check name] isEqualToString:@"key"])
currentKey=[check stringValue];
else
@ -39,7 +39,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
return result;
}
+(NSArray *)arrayFromElement:(NSXMLElement *)element {
+(NSArray *)arrayFromElement:(NSOldXMLElement *)element {
NSMutableArray *result=[NSMutableArray array];
NSArray *contents=[element contents];
int i,count=[contents count];
@ -47,7 +47,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
for(i=0;i<count;i++){
id check=[contents objectAtIndex:i];
if([check isKindOfClass:[NSXMLElement class]])
if([check isKindOfClass:[NSOldXMLElement class]])
[result addObject:[self propertyListFromElement:check]];
}
@ -116,7 +116,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
return [NSData dataWithBytes:result length:resultLength];
}
+(NSData *)dataFromElement:(NSXMLElement *)element {
+(NSData *)dataFromElement:(NSOldXMLElement *)element {
NSMutableData *result=[NSMutableData data];
NSArray *strings=[element contents];
int i,count=[strings count];
@ -128,7 +128,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
}
+(NSObject *)propertyListFromElement:(NSXMLElement *)element {
+(NSObject *)propertyListFromElement:(NSOldXMLElement *)element {
NSString *name=[element name];
id result=nil;
@ -152,7 +152,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
return result;
}
+(NSObject *)propertyListFromContentsOfElement:(NSXMLElement *)element {
+(NSObject *)propertyListFromContentsOfElement:(NSOldXMLElement *)element {
id result=nil;
NSArray *contents=[element contents];
int i,count=[contents count];
@ -160,15 +160,15 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
for(i=0;i<count;i++){
id check=[contents objectAtIndex:i];
if([check isKindOfClass:[NSXMLElement class]])
if([check isKindOfClass:[NSOldXMLElement class]])
result=[self propertyListFromElement:check];
}
return result;
}
+(NSObject *)propertyListFromDocument:(NSXMLDocument *)document {
NSXMLElement *root=[document rootElement];
+(NSObject *)propertyListFromDocument:(NSOldXMLDocument *)document {
NSOldXMLElement *root=[document rootElement];
return [self propertyListFromContentsOfElement:root];
}
@ -177,7 +177,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
id result=nil;
NS_DURING
NSXMLDocument *document=[NSXMLReader documentWithData:data];
NSOldXMLDocument *document=[NSOldXMLReader documentWithData:data];
if(document!=nil){
result=[self propertyListFromDocument:document];

View File

@ -6,17 +6,8 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// it occurs to me that this should be a layer
#import <Foundation/NSObject.h>
@class KGRenderingContext;
@interface KGImage_context : NSObject {
KGRenderingContext *_context;
}
-initWithRenderingContext:(KGRenderingContext *)context;
-(KGRenderingContext *)renderingContext;
@interface NSSortDescriptor : NSObject
@end

View File

@ -0,0 +1,13 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSSortDescriptor.h>
@implementation NSSortDescriptor
@end

View File

@ -7,8 +7,15 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSURLResponse.h>
@class NSDictionary;
@interface NSHTTPURLResponse : NSURLResponse {
}
+(NSString *)localizedStringForStatusCode:(int)statusCode;
-(NSDictionary *)allHeaderFields;
-(int)statusCode;
@end

View File

@ -6,7 +6,23 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSHTTPURLResponse.h>
#import <Foundation/NSRaise.h>
@implementation NSHTTPURLResponse
+(NSString *)localizedStringForStatusCode:(int)statusCode {
NSUnimplementedMethod();
return nil;
}
-(NSDictionary *)allHeaderFields {
NSUnimplementedMethod();
return nil;
}
-(int)statusCode {
NSUnimplementedMethod();
return 0;
}
@end

View File

@ -7,8 +7,29 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
@interface NSURLAuthenticationChallenge : NSObject {
@class NSError,NSURLResponse,NSURLProtectionSpace,NSURLCredential;
@protocol NSURLAuthenticationChallengeSender <NSObject>
@end
@interface NSURLAuthenticationChallenge : NSObject {
NSURLProtectionSpace *_protectionSpace;
NSURLCredential *_proposedCredential;
int _failureCount;
NSURLResponse *_failureResponse;
NSError *_error;
id _sender;
}
-initWithProtectionSpace:(NSURLProtectionSpace *)space proposedCredential:(NSURLCredential *)credential previousFailureCount:(int)failureCount failureResponse:(NSURLResponse *)failureResponse error:(NSError *)error sender:(id <NSURLAuthenticationChallengeSender>)sender;
-initWithAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge sender:(id <NSURLAuthenticationChallengeSender>)sender;
-(NSURLProtectionSpace *)protectionSpace;
-(NSURLCredential *)proposedCredential;
-(unsigned)previousFailureCount;
-(NSURLResponse *)failureResponse;
-(NSError *)error;
-(id<NSURLAuthenticationChallengeSender>)sender;
@end

View File

@ -6,7 +6,58 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSURLAuthenticationChallenge.h>
#import <Foundation/NSURLProtectionSpace.h>
#import <Foundation/NSURLCredential.h>
#import <Foundation/NSURLResponse.h>
#import <Foundation/NSError.h>
@implementation NSURLAuthenticationChallenge
-initWithProtectionSpace:(NSURLProtectionSpace *)space proposedCredential:(NSURLCredential *)credential previousFailureCount:(int)failureCount failureResponse:(NSURLResponse *)failureResponse error:(NSError *)error sender:(id <NSURLAuthenticationChallengeSender>)sender {
_protectionSpace=[space copy];
_proposedCredential=[credential copy];
_failureCount=failureCount;
_failureResponse=[failureResponse copy];
_sender=[sender retain];
return self;
}
-initWithAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge sender:(id <NSURLAuthenticationChallengeSender>)sender {
return [self initWithProtectionSpace:[challenge protectionSpace] proposedCredential:[challenge proposedCredential] previousFailureCount:[challenge previousFailureCount] failureResponse:[challenge failureResponse] error:[challenge error] sender:sender];
return self;
}
-(void)dealloc {
[_protectionSpace release];
[_proposedCredential release];
[_failureResponse release];
[_error release];
[_sender release];
[super dealloc];
}
-(NSURLProtectionSpace *)protectionSpace {
return _protectionSpace;
}
-(NSURLCredential *)proposedCredential {
return _proposedCredential;
}
-(unsigned)previousFailureCount {
return _failureCount;
}
-(NSURLResponse *)failureResponse {
return _failureResponse;
}
-(NSError *)error {
return _error;
}
-(id<NSURLAuthenticationChallengeSender>)sender {
return _sender;
}
@end

View File

@ -7,8 +7,31 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
@interface NSURLConnection : NSObject {
@class NSURLRequest,NSData,NSURLResponse,NSError,NSURLAuthenticationChallenge,NSCachedURLResponse;
@interface NSURLConnection : NSObject {
NSURLRequest *_request;
id _delegate;
}
+(BOOL)canHandleRequest:(NSURLRequest *)request;
+(NSData *)sendSynchronousRequest:(NSURLRequest *)request returningResponse:(NSURLResponse **)response error:(NSError *)error;
+(NSURLConnection *)connectionWithRequest:(NSURLRequest *)request delegate:delegate;
-initWithRequest:(NSURLRequest *)request delegate:delegate;
-(void)cancel;
@end
@interface NSObject(NSURLConnectionDelegate)
-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error;
-(void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge;
-(void)connection:(NSURLConnection *)connection didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge;
-(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data;
-(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response;
-(void)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)response;
-(void)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response;
@end

View File

@ -6,7 +6,38 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSURLConnection.h>
#import <Foundation/NSURLRequest.h>
#import <Foundation/NSRaise.h>
@implementation NSURLConnection
+(BOOL)canHandleRequest:(NSURLRequest *)request {
NSUnimplementedMethod();
return NO;
}
+(NSData *)sendSynchronousRequest:(NSURLRequest *)request returningResponse:(NSURLResponse **)response error:(NSError *)error {
NSUnimplementedMethod();
return nil;
}
+(NSURLConnection *)connectionWithRequest:(NSURLRequest *)request delegate:delegate {
return [[[self alloc] initWithRequest:request delegate:delegate] autorelease];
}
-initWithRequest:(NSURLRequest *)request delegate:delegate {
_request=[request retain];
_delegate=delegate;
return self;
}
-(void)dealloc {
[_request release];
[super dealloc];
}
-(void)cancel {
NSUnimplementedMethod();
}
@end

View File

@ -6,9 +6,42 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
#import <Foundation/NSDate.h>
@interface NSURLRequest : NSObject {
@class NSURL,NSInputStream;
typedef enum {
NSURLRequestUseProtocolCachePolicy,
NSURLRequestReloadIgnoringCacheData,
NSURLRequestReturnCacheDataElseLoad,
NSURLRequestReturnCacheDataDontLoad
} NSURLRequestCachePolicy;
@interface NSURLRequest : NSObject <NSCopying,NSMutableCopying>{
NSURL *_url;
NSURLRequestCachePolicy _cachePolicy;
NSTimeInterval _timeoutInterval;
}
-initWithURL:(NSURL *)url;
-initWithURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeout;
+requestWithURL:(NSURL *)url;
+requestWithURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeout;
-(NSURL *)URL;
-(NSURLRequestCachePolicy)cachePolicy;
-(NSTimeInterval)timeoutInterval;
-(NSInputStream *)HTTPBodyStream;
-(NSDictionary *)allHTTPHeaderFields;
-(NSString *)valueForHTTPHeaderField:(NSString *)field;
-(NSData *)HTTPBody;
-(NSString *)HTTPMethod;
-(NSURL *)mainDocumentURL;
-(BOOL)HTTPShouldHandleCookies;
@end

View File

@ -6,7 +6,90 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSURLRequest.h>
#import <Foundation/NSURL.h>
#import <Foundation/NSRaise.h>
@implementation NSURLRequest
-initWithURL:(NSURL *)url {
return [self initWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60];
}
-initWithURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeout {
_url=[url copy];
_cachePolicy=cachePolicy;
_timeoutInterval=timeout;
return self;
}
-(void)dealloc {
[_url release];
[super dealloc];
}
+requestWithURL:(NSURL *)url {
return [[[self alloc] initWithURL:url] autorelease];
}
+requestWithURL:(NSURL *)url cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeout {
return [[[self alloc] initWithURL:url cachePolicy:cachePolicy timeoutInterval:timeout] autorelease];
}
-copyWithZone:(NSZone *)zone {
NSUnimplementedMethod();
return nil;
}
-mutableCopyWithZone:(NSZone *)zone {
NSUnimplementedMethod();
return nil;
}
-(NSURL *)URL {
return _url;
}
-(NSURLRequestCachePolicy)cachePolicy {
return _cachePolicy;
}
-(NSTimeInterval)timeoutInterval {
return _timeoutInterval;
}
-(NSInputStream *)HTTPBodyStream {
NSUnimplementedMethod();
return nil;
}
-(NSDictionary *)allHTTPHeaderFields {
NSUnimplementedMethod();
return nil;
}
-(NSString *)valueForHTTPHeaderField:(NSString *)field {
NSUnimplementedMethod();
return nil;
}
-(NSData *)HTTPBody {
NSUnimplementedMethod();
return nil;
}
-(NSString *)HTTPMethod {
NSUnimplementedMethod();
return nil;
}
-(NSURL *)mainDocumentURL {
NSUnimplementedMethod();
return nil;
}
-(BOOL)HTTPShouldHandleCookies {
NSUnimplementedMethod();
return NO;
}
@end

View File

@ -7,8 +7,22 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
@interface NSURLResponse : NSObject {
@class NSURL;
@interface NSURLResponse : NSObject <NSCoding,NSCopying> {
NSString *_url;
NSString *_mimeType;
int _expecteContentLength;
NSString *_encoding;
}
-initWithURL:(NSURL *)url MIMEType:(NSString *)mimeType expectedContentLength:(int)expectedLength textEncodingName:(NSString *)encoding;
-(NSString *)URL;
-(NSString *)MIMEType;
-(long long)expectedContentLength;
-(NSString *)textEncodingName;
-(NSString *)suggestedFilename;
@end

View File

@ -6,7 +6,60 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSURLResponse.h>
#import <Foundation/NSURL.h>
#import <Foundation/NSRaise.h>
@implementation NSURLResponse
-initWithURL:(NSURL *)url MIMEType:(NSString *)mimeType expectedContentLength:(int)expectedLength textEncodingName:(NSString *)encoding {
_url=[url retain];
_mimeType=[mimeType retain];
_expecteContentLength=expectedLength;
_encoding=[encoding retain];
return self;
}
-(void)dealloc {
[_url release];
[_mimeType release];
[_encoding release];
[super dealloc];
}
-copyWithZone:(NSZone *)zone {
NSUnimplementedMethod();
return nil;
}
-initWithCoder:(NSCoder *)coder {
NSUnimplementedMethod();
return nil;
}
-(void)encodeWithCoder:(NSCoder *)coder {
NSUnimplementedMethod();
}
-(NSString *)URL {
return _url;
}
-(NSString *)MIMEType {
return _mimeType;
}
-(long long)expectedContentLength {
return _expecteContentLength;
}
-(NSString *)textEncodingName {
return _encoding;
}
-(NSString *)suggestedFilename {
NSUnimplementedMethod();
return nil;
}
@end

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

View File

@ -0,0 +1,7 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */

43
Foundation/xml/NSXMLDTD.h Normal file
View File

@ -0,0 +1,43 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSXMLNode.h>
@class NSXMLDTDNode,NSURL,NSData,NSMutableArray;
@interface NSXMLDTD : NSXMLNode {
NSMutableArray *_children;
NSString *_publicID;
NSString *_systemID;
}
+(NSXMLDTDNode *)predefinedEntityDeclarationForName:(NSString *)name;
-initWithData:(NSData *)data options:(unsigned)options error:(NSError **)error;
-initWithContentsOfURL:(NSURL *)url options:(unsigned)options error:(NSError **)error;
-(NSString *)publicID;
-(NSString *)systemID;
-(NSXMLDTDNode *)attributeDeclarationForName:(NSString *)attributeName elementName:(NSString *)elementName;
-(NSXMLDTDNode *)elementDeclarationForName:(NSString *)name;
-(NSXMLDTDNode *)entityDeclarationForName:(NSString *)name;
-(NSXMLDTDNode *)notationDeclarationForName:(NSString *)name;
-(void)setPublicID:(NSString *)publicID;
-(void)setSystemID:(NSString *)systemID;
-(void)setChildren:(NSArray *)children;
-(void)addChild:(NSXMLNode *)node;
-(void)insertChild:(NSXMLNode *)child atIndex:(unsigned)index;
-(void)insertChildren:(NSArray *)children atIndex:(unsigned)index;
-(void)removeChildAtIndex:(unsigned)index;
-(void)replaceChildAtIndex:(unsigned)index withNode:(NSXMLNode *)node;
@end

97
Foundation/xml/NSXMLDTD.m Normal file
View File

@ -0,0 +1,97 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSXMLDTD.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSRaise.h>
@implementation NSXMLDTD
+(NSXMLDTDNode *)predefinedEntityDeclarationForName:(NSString *)name {
NSUnimplementedMethod();
return nil;
}
-initWithData:(NSData *)data options:(unsigned)options error:(NSError **)error {
NSUnimplementedMethod();
return nil;
}
-initWithContentsOfURL:(NSURL *)url options:(unsigned)options error:(NSError **)error {
NSUnimplementedMethod();
return nil;
}
-(NSString *)publicID {
return _publicID;
}
-(NSString *)systemID {
return _systemID;
}
-(NSXMLDTDNode *)attributeDeclarationForName:(NSString *)attributeName elementName:(NSString *)elementName {
NSUnimplementedMethod();
return nil;
}
-(NSXMLDTDNode *)elementDeclarationForName:(NSString *)name {
NSUnimplementedMethod();
return nil;
}
-(NSXMLDTDNode *)entityDeclarationForName:(NSString *)name {
NSUnimplementedMethod();
return nil;
}
-(NSXMLDTDNode *)notationDeclarationForName:(NSString *)name {
NSUnimplementedMethod();
return nil;
}
-(void)setPublicID:(NSString *)publicID {
publicID=[publicID copy];
[_publicID release];
_publicID=publicID;
}
-(void)setSystemID:(NSString *)systemID {
systemID=[systemID copy];
[_systemID release];
_systemID=systemID;
}
-(void)setChildren:(NSArray *)children {
[_children setArray:children];
}
-(void)addChild:(NSXMLNode *)node {
[_children addObject:node];
}
-(void)insertChild:(NSXMLNode *)child atIndex:(unsigned)index {
[_children insertObject:child atIndex:index];
}
-(void)insertChildren:(NSArray *)children atIndex:(unsigned)index {
int i,count=[children count];
for(i=0;i<count;i++)
[_children insertObject:[children objectAtIndex:i] atIndex:index+i];
}
-(void)removeChildAtIndex:(unsigned)index {
[_children removeObjectAtIndex:index];
}
-(void)replaceChildAtIndex:(unsigned)index withNode:(NSXMLNode *)node {
[_children replaceObjectAtIndex:index withObject:node];
}
@end

View File

@ -0,0 +1,33 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSXMLNode.h>
typedef int NSXMLDTDNodeKind;
@interface NSXMLDTDNode : NSXMLNode {
NSXMLDTDNodeKind _dtdKind;
NSString *_notationName;
NSString *_publicID;
NSString *_systemID;
}
-initWithXMLString:(NSString *)string;
-(NSXMLDTDNodeKind)DTDKind;
-(BOOL)isExternal;
-(NSString *)notationName;
-(NSString *)publicID;
-(NSString *)systemID;
-(void)setDTDKind:(NSXMLDTDNodeKind)kind;
-(void)setNotationName:(NSString *)name;
-(void)setPublicID:(NSString *)publicID;
-(void)setSystemID:(NSString *)systemID;
@end

View File

@ -0,0 +1,58 @@
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSXMLDTDNode.h>
#import <Foundation/NSString.h>
@implementation NSXMLDTDNode
-initWithXMLString:(NSString *)string {
}
-(NSXMLDTDNodeKind)DTDKind {
return _dtdKind;
}
-(BOOL)isExternal {
}
-(NSString *)notationName {
return _notationName;
}
-(NSString *)publicID {
return _publicID;
}
-(NSString *)systemID {
return _systemID;
}
-(void)setDTDKind:(NSXMLDTDNodeKind)kind {
_dtdKind=kind;
}
-(void)setNotationName:(NSString *)name {
name=[name copy];
[_notationName release];
_notationName=name;
}
-(void)setPublicID:(NSString *)publicID {
publicID=[publicID copy];
[_publicID release];
_publicID=publicID;
}
-(void)setSystemID:(NSString *)systemID {
systemID=[systemID copy];
[_systemID release];
_systemID=systemID;
}
@end

58
Foundation/xml/NSXMLDocument.h Executable file → Normal file
View File

@ -1,4 +1,4 @@
/* Copyright (c) 2006-2007 Christopher J. W. Lloyd
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@ -6,16 +6,64 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
#import <Foundation/NSXMLNode.h>
@class NSXMLElement;
@class NSXMLDTD,NSURL,NSData,NSMutableArray;
typedef int NSXMLDocumentContentKind;
@interface NSXMLDocument : NSXMLNode {
NSMutableArray *_children;
NSXMLDocumentContentKind _contentKind;
NSString *_version;
NSString *_characterEncoding;
NSString *_mimeType;
BOOL _isStandalone;
@interface NSXMLDocument : NSObject {
NSXMLElement *_rootElement;
NSXMLDTD *_dtd;
NSString *_uri;
}
-(void)setRootElement:(NSXMLElement *)element;
+(Class)replacementClassForClass:(Class)class;
-initWithRootElement:(NSXMLElement *)element;
-initWithXMLString:(NSString *)string options:(unsigned)options error:(NSError **)error;
-initWithData:(NSData *)data options:(unsigned)options error:(NSError **)error;
-initWithContentsOfURL:(NSURL *)url options:(unsigned)options error:(NSError **)error;
-(NSXMLDocumentContentKind)documentContentKind;
-(NSString *)version;
-(NSString *)characterEncoding;
-(NSString *)MIMEType;
-(BOOL)isStandalone;
-(NSXMLElement *)rootElement;
-(NSXMLDTD *)DTD;
-(NSString *)URI;
-(void)setDocumentContentKind:(NSXMLDocumentContentKind)kind;
-(void)setCharacterEncoding:(NSString *)encoding;
-(void)setVersion:(NSString *)version;
-(void)setMIMEType:(NSString *)mimeType;
-(void)setStandalone:(BOOL)flag;
-(void)setRootElement:(NSXMLNode *)element;
-(void)setDTD:(NSXMLDTD *)dtd;
-(void)setURI:(NSString *)uri;
-(void)setChildren:(NSArray *)children;
-(void)addChild:(NSXMLNode *)child;
-(void)insertChild:(NSXMLNode *)child atIndex:(unsigned)index;
-(void)insertChildren:(NSArray *)children atIndex:(unsigned)index;
-(void)removeChildAtIndex:(unsigned)index;
-(void)replaceChildAtIndex:(unsigned)index withNode:(NSXMLNode *)node;
-(BOOL)validateAndReturnError:(NSError **)error;
-(NSData *)XMLData;
-(NSData *)XMLDataWithOptions:(unsigned)options;
-objectByApplyingXSLT:(NSData *)xslt arguments:(NSDictionary *)arguments error:(NSError *)error;
-objectByApplyingXSLTAtURL:(NSURL *)url arguments:(NSDictionary *)arguments error:(NSError *)error;
-objectByApplyingXSLTString:(NSString *)string arguments:(NSDictionary *)arguments error:(NSError *)error;
@end

159
Foundation/xml/NSXMLDocument.m Executable file → Normal file
View File

@ -1,4 +1,4 @@
/* Copyright (c) 2006-2007 Christopher J. W. Lloyd
/* Copyright (c) 2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@ -6,25 +6,166 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
// Original - Christopher Lloyd <cjwl@objc.net>
#import <Foundation/NSXMLDocument.h>
#import <Foundation/NSXMLElement.h>
#import <Foundation/NSXMLDTD.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSRaise.h>
@implementation NSXMLDocument
-(void)dealloc {
[_rootElement release];
[super dealloc];
+(Class)replacementClassForClass:(Class)class {
return class;
}
-(void)setRootElement:(NSXMLElement *)element {
element=[element retain];
[_rootElement release];
_rootElement=element;
-initWithRootElement:(NSXMLElement *)element {
NSUnimplementedMethod();
return nil;
}
-initWithXMLString:(NSString *)string options:(unsigned)options error:(NSError **)error {
NSUnimplementedMethod();
return nil;
}
-initWithData:(NSData *)data options:(unsigned)options error:(NSError **)error {
NSUnimplementedMethod();
return nil;
}
-initWithContentsOfURL:(NSURL *)url options:(unsigned)options error:(NSError **)error {
NSUnimplementedMethod();
return nil;
}
-(NSXMLDocumentContentKind)documentContentKind {
return _contentKind;
}
-(NSString *)version {
return _version;
}
-(NSString *)characterEncoding {
return _characterEncoding;
}
-(NSString *)MIMEType {
return _mimeType;
}
-(BOOL)isStandalone {
return _isStandalone;
}
-(NSXMLElement *)rootElement {
return _rootElement;
}
-(NSXMLDTD *)DTD {
return _dtd;
}
-(NSString *)URI {
return _uri;
}
-(void)setDocumentContentKind:(NSXMLDocumentContentKind)kind {
_contentKind=kind;
}
-(void)setCharacterEncoding:(NSString *)encoding {
encoding=[encoding copy];
[_characterEncoding release];
_characterEncoding=encoding;
}
-(void)setVersion:(NSString *)version {
version=[version copy];
[_version release];
_version=version;
}
-(void)setMIMEType:(NSString *)mimeType {
mimeType=[mimeType copy];
[_mimeType release];
_mimeType=mimeType;
}
-(void)setStandalone:(BOOL)flag {
_isStandalone=flag;
}
-(void)setRootElement:(NSXMLNode *)element {
element=[element retain];
[_rootElement release];
_rootElement=(NSXMLElement *)element;
}
-(void)setDTD:(NSXMLDTD *)dtd {
dtd=[dtd retain];
[_dtd release];
_dtd=dtd;
}
-(void)setURI:(NSString *)uri {
uri=[uri copy];
[_uri release];
_uri=uri;
}
-(void)setChildren:(NSArray *)children {
[_children setArray:children];
}
-(void)addChild:(NSXMLNode *)node {
[_children addObject:node];
}
-(void)insertChild:(NSXMLNode *)child atIndex:(unsigned)index {
[_children insertObject:child atIndex:index];
}
-(void)insertChildren:(NSArray *)children atIndex:(unsigned)index {
int i,count=[children count];
for(i=0;i<count;i++)
[_children insertObject:[children objectAtIndex:i] atIndex:index+i];
}
-(void)removeChildAtIndex:(unsigned)index {
[_children removeObjectAtIndex:index];
}
-(void)replaceChildAtIndex:(unsigned)index withNode:(NSXMLNode *)node {
[_children replaceObjectAtIndex:index withObject:node];
}
-(BOOL)validateAndReturnError:(NSError **)error {
NSUnimplementedMethod();
return NO;
}
-(NSData *)XMLData {
return [self XMLDataWithOptions:NSXMLNodeOptionsNone];
}
-(NSData *)XMLDataWithOptions:(unsigned)options {
NSUnimplementedMethod();
return nil;
}
-objectByApplyingXSLT:(NSData *)xslt arguments:(NSDictionary *)arguments error:(NSError *)error {
NSUnimplementedMethod();
return nil;
}
-objectByApplyingXSLTAtURL:(NSURL *)url arguments:(NSDictionary *)arguments error:(NSError *)error {
NSUnimplementedMethod();
return nil;
}
-objectByApplyingXSLTString:(NSString *)string arguments:(NSDictionary *)arguments error:(NSError *)error {
NSUnimplementedMethod();
return nil;
}
@end

Some files were not shown because too many files have changed in this diff Show More