Here are the output and the test code, anything else, please tell me freely.

*2016-09-29 15:17:09.868360 SkimText[17818:2051126] /Rect*

*Program ended with exit code: 0*

*---------------------------------------------------------------------------------*

#import <Foundation/Foundation.h>

#import <Quartz/Quartz.h>

int main(int argc, const char * argv[]) {

    @autoreleasepool {

        // insert code here...

        NSLog(@"%@", kPDFAnnotationKey_Rect);

    }

    return 0;

}

On Thu, Sep 29, 2016 at 2:09 PM, Christiaan Hofman <cmhof...@gmail.com>
wrote:

> No, it’s not in the source code. they’re only defined on Sierra, so I
> cannot use them. But I need the values to use them instead to make some
> fixes for Sierra. So I was asking if you could make a simple test project
> to figure them out. For instance, a trivial app that links to the Quartz
> framework, and in the application delegate imports PDFKit and adds a line
> like
>
> NSLog(@“%@“, kPDFAnnotationKey_Rect);
>
> Running that should give the value in the console.
>
> Christiaan
>
> On Sep 29, 2016, at 11:46, Shouwei Li <cas...@gmail.com> wrote:
>
> Hi,
>
> I checked out the reversion 9134, but did not find some constants like
> kPDFAnnotationKey_Rect.
>
> Actually, I am not familiar with the source code of  skim. If possible,
> would you please tell me what should I do in more detail, I will follow
> your instruction and send you back the output. Is that ok?
>
> Thanks!
>
>
> On Thu, Sep 29, 2016 at 11:20 AM, Christiaan Hofman <cmhof...@gmail.com>
> wrote:
>
>> Could you have a look at this? Can you check this with the current source?
>>
>> Also, could you figure out in a simple test project what the actual value
>> of constants like kPDFAnnotationKey_Rect is? Is it something like “/Rect”
>> or “Rect”?
>>
>> thanks,
>>
>> Christiaan
>>
>> On Sep 23, 2016, at 14:58, Christiaan Hofman <cmhof...@gmail.com> wrote:
>>
>> There’s in particular bug # 1109.
>>
>> Christiaan
>>
>> On Sep 23, 2016, at 14:55, Shouwei Li <cas...@gmail.com> wrote:
>>
>> Is there a ticket to trace this issue, or some explanation in detail?
>>
>> I can try but can not promise to find out the root cause. If you want me
>> to test something, that's no problem for sure.
>>
>> On Fri, Sep 23, 2016 at 2:06 PM, Christiaan Hofman <cmhof...@gmail.com>
>> wrote:
>>
>>>
>>> On Sep 23, 2016, at 13:55, Shouwei Li <cas...@gmail.com> wrote:
>>>
>>> I have Sierra environment, what could I do to help you?
>>>
>>> On Thu, Sep 22, 2016 at 10:51 PM, Christiaan Hofman <cmhof...@gmail.com>
>>> wrote:
>>>
>>>> Is there anyone here who has Sierra, and can help fix problems there It
>>>> seems PDFKit is really making a mess of thing there. And as I don’t have
>>>> Sierra (and can’t have it), I have no way of figuring out the problems.
>>>>
>>>> Christiaan
>>>>
>>>>
>>>
>>> --
>>> Best Regards!
>>> Sjouwen Li
>>>
>>>
>>> You you know a bit about objective c development?
>>>
>>> I don’t really know what’s going on, that’s the problem. It seems in
>>> particular that annotations don’t work properly anymore, in several ways.
>>> And I have no idea why and exactly what. But I cannot test myself, and
>>> that’s the only way to figure out what Apple broke.
>>>
>>> Christiaan
>>>
>>> --
>> Best Regards!
>> Shouwei Li
>>
>>
>>
> --
> Best Regards!
> Shouwei Li
>
>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> skim-app-develop mailing list
> skim-app-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/skim-app-develop
>
>


-- 
Best Regards!
Shouwei Li
------------------------------------------------------------------------------
_______________________________________________
skim-app-develop mailing list
skim-app-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-develop

Reply via email to