PDFKit Frustrations
PDFKit Frustrations
- Subject: PDFKit Frustrations
- From: Patrick William Walker <email@hidden>
- Date: Tue, 12 Apr 2011 16:40:52 -0300
I've been trying to create a subclass of PDFView in order to load a PDF file (a standardized form) so that some of the fields can be automated.
The problem that I have been having is that instance variables will not seem draw in the view at all although static strings will. I have verified that the instance variable inside the object is not null using NSLog(). Anyone have any suggestions?
@interface PDFEditView : PDFView {
Official *official;
NSDictionary *attr;
@private
}
-----
- (void) drawPage: (PDFPage *) page {
[super drawPage: page];
NSLog(@"official.name: %@", official.name);
NSString *test = @"Test";
// This shows up
[test drawAtPoint: NSMakePoint(75, 550)
withAttributes: attr];
// This does not.
[official.name drawAtPoint: NSMakePoint(375, 550)
withAttributes: attr];
}_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden