• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PDFKit Frustrations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: PDFKit Frustrations
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Localized.strings is being ignored
  • Next by Date: Re: OCMock in Xcode 4
  • Previous by thread: Re: Localized.strings is being ignored
  • Next by thread: Re: PDFKit Frustrations
  • Index(es):
    • Date
    • Thread