Dear list,
I have an app which has a main split view. In the left panel there is a text
editor (NSTextView), in the right panel there is a PDFView. I find that when
typing in the text view, the -drawPage: method of the PDFView is called about
once every 200ms but only if the PDFView is displayi
Actually, at the risk of having a conversation with myself, I've narrowed the
issue down to the actions I'm taking within my override of -drawPage:.
Essentially what I'm aiming at is having a focus ring on the PDFView. I do this
in my PDFView subclass:
- (void)drawPage:(PDFPage *)page {
[supe
Hi Francisco,
Thanks for the feedback!
What you suggest sounds like it might fix the problem, but I'm wondering how
best to do this. Currently I'm just calling -remove: on the tree controller to
delete the selected object(s). Of course, if I clear the selection first, then
-remove: doesn't do
On Jan 7, 2013, at 2:48 AM, Martin Hewitson wrote:
> Actually, at the risk of having a conversation with myself, I've narrowed the
> issue down to the actions I'm taking within my override of -drawPage:.
> Essentially what I'm aiming at is having a focus ring on the PDFView. I do
> this in my
On 7, Jan, 2013, at 05:52 PM, Kyle Sluder wrote:
> On Jan 7, 2013, at 2:48 AM, Martin Hewitson
> wrote:
>
>> Actually, at the risk of having a conversation with myself, I've narrowed
>> the issue down to the actions I'm taking within my override of -drawPage:.
>> Essentially what I'm aiming
On Jan 5, 2013, at 12:02 AM, Rick Mann wrote:
> Postings online suggest this is by design, in that it was more important to
> get "close" results faster. Unfortunately, in something like a physic
> simulation, the error adds up quickly. I think correct is more important than
> fast, and am rath
On 7 Jan 2013, at 16:35, Martin Hewitson wrote:
> Hi Francisco,
>
> Thanks for the feedback!
>
> What you suggest sounds like it might fix the problem, but I'm wondering how
> best to do this. Currently I'm just calling -remove: on the tree controller
> to delete the selected object(s). Of c
On Jan 7, 2013, at 2:10 AM, Martin Hewitson wrote:
> I've also checked that -setNeedsDisplay: is not being called on the PDFView.
Could it be that setNeedsDisplay: isn't called but setNeedsDisplayInRect: is?
On Jan 7, 2013, at 2:48 AM, Martin Hewitson wrote:
> Actually, at the risk of having a
On Jan 7, 2013, at 12:07 PM, Andy Lee wrote:
> It does seem weird that drawPage: is getting called when you aren't even
> interacting with the PDFView.
Come to think of it, this is *really* weird since your drawPage: checks whether
the PDFView is first responder -- which it can't be if you're i
On 7 janv. 2013, at 20:22, Greg Parker wrote:
> IEEE 754 guarantees exact results for + - * / sqrt. Everything else is
> implementation-defined.
That’s why I suggested a mixed approach combining exact table lookup and a
refinement via only multiplications and divisions. It should give, if not
I found a curious difference in behavior running my app on an iOS4 device vs.
running the same app on an iOS5 device. On iOS4, if I set a view (or really
just a UIResponder) to be firstResponder, and then later, resignFirstResponder,
there is no defined firstResponder; whatever was firstRespond
A well known company in San Diego, CA is looking for experienced Mac app
developer. If you're interested, please email me your resume. No recruiters
please.
Thanks!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin request
I have a dialog (sheet) with a single text field and a button.
I'm using Cocoa Bindings to validate the value in the text field and
set a string field in the File's Owner.
This works fine but I would like to trigger the same sequence of
events when pressing the button. How do I do this?
Than
When I started building my app I had been using NSImageView's Data binding to
display image data in an NSData object, which is apparently deprecated.
I read that a data transformer has to be used when using the NSImageView's
Value binding. After digging around I realized that there's an
NSUnar
> I have an app which presents folders and files in a tree structure. I'm using
> an NSTreeController and core data to keep track of the relationships between
> the files and folders. The ProjectItem entity has a 'children' relationship
> which is to-many with the same entity and a 'parent' rela
What's the correct way to handle drawing our custom view that's in an
NSScrollView when the scroll view is being pulled past the min/max of the
scrollable area and the elasticity goes into effect, showing areas that are
outside our view's bounds?
--
Steve Mills
office: 952-818-3871
home: 952-40
I'm interested but I'm based in France. Can you tell me more about the job ?
Vavelin Kévin
Twitter | Blog | LinkedIn
Entrepreneur
Developer OS X / iOS
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or modera
On 2 Jan 2013, at 21:03, Joel Reymont wrote:
> I have a dialog (sheet) with a single text field and a button.
>
> I'm using Cocoa Bindings to validate the value in the text field and
> set a string field in the File's Owner.
>
> This works fine but I would like to trigger the same sequence of
I am attempting to insert custom data into a PowerPoint slide. This data would
be stored in the .ppt file. I am using the ScriptingBridge framework in order
to write AppleScript code as Objective-C. Has anyone done this before?
I know there is a way to do this using VBA, but would like to avoid
On Jan 5, 2013, at 18:39, Matt DeLuco wrote:
> When I started building my app I had been using NSImageView's Data binding to
> display image data in an NSData object, which is apparently deprecated.
>
> I read that a data transformer has to be used when using the NSImageView's
> Value binding.
On Mon, Jan 7, 2013, at 09:38 AM, Steve Mills wrote:
> What's the correct way to handle drawing our custom view that's in an
> NSScrollView when the scroll view is being pulled past the min/max of the
> scrollable area and the elasticity goes into effect, showing areas that
> are outside our view's
On Jan 7, 2013, at 11:22 , Greg Parker wrote:
> Note also that physics simulations will always need to be careful with the
> error inherent to finite precision floating-point arithmetic. IEEE
> specification of exact results for every operation wouldn't solve that.
We don't care so much about
On Jan 7, 2013, at 1:40 PM, cocoa-dev-requ...@lists.apple.com wrote:
> Message: 10
> Date: Mon, 07 Jan 2013 22:09:24 +0100
> From: Kévin Vavelin
> To: John chen
> Cc: Cocoa-dev@lists.apple.com
> Subject: Re: Full-time position for experienced Mac app developer in
> San Diego, CA
> Me
On 8 janv. 2013, at 00:24, Rick Mann wrote:
>
> On Jan 7, 2013, at 11:22 , Greg Parker wrote:
>
>> Note also that physics simulations will always need to be careful with the
>> error inherent to finite precision floating-point arithmetic. IEEE
>> specification of exact results for every opera
On Jan 7, 2013, at 17:43 , Jean Suisse wrote:
> That wasn't clear (at least for me) in your original message. It is also a
> key point. In that case, you indeed don't need accuracy. Why not go for one
> of Vincent Habchi's solutions then ? That could give you more control over
> the results.
Hi all,
CATextLayer is a great convenience, but when zooming a layer-based view, it
gets blocky. Contrast CAShapeLayer, which renders in screen space and so never
gets blocky.
Is there a way to get CATextLayer to do the same, or am I forced to roll my own
solution?
--Graham
__
Hi all,
How can I print a view whose content is solely based on CALayers? When I
attempt it, my view's -drawRect: method is called instead, which does not
render the layer-based content.
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.c
On Jan 7, 2013, at 08:44 PM, Mike Abdullah wrote:
>
> On 7 Jan 2013, at 16:35, Martin Hewitson wrote:
>
>> Hi Francisco,
>>
>> Thanks for the feedback!
>>
>> What you suggest sounds like it might fix the problem, but I'm wondering how
>> best to do this. Currently I'm just calling -remove:
On Jan 7, 2013, at 09:07 PM, Andy Lee wrote:
> On Jan 7, 2013, at 2:10 AM, Martin Hewitson wrote:
>> I've also checked that -setNeedsDisplay: is not being called on the PDFView.
>
> Could it be that setNeedsDisplay: isn't called but setNeedsDisplayInRect: is?
>
> On Jan 7, 2013, at 2:48 AM, M
On Jan 7, 2013, at 09:16 PM, Andy Lee wrote:
> On Jan 7, 2013, at 12:07 PM, Andy Lee wrote:
>> It does seem weird that drawPage: is getting called when you aren't even
>> interacting with the PDFView.
>
> Come to think of it, this is *really* weird since your drawPage: checks
> whether the P
On Mon, Jan 7, 2013, at 09:38 PM, Graham Cox wrote:
> Hi all,
>
> CATextLayer is a great convenience, but when zooming a layer-based view,
> it gets blocky. Contrast CAShapeLayer, which renders in screen space and
> so never gets blocky.
>
> Is there a way to get CATextLayer to do the same, or am
On Mon, Jan 7, 2013, at 09:51 PM, Graham Cox wrote:
> Hi all,
>
> How can I print a view whose content is solely based on CALayers? When I
> attempt it, my view's -drawRect: method is called instead, which does not
> render the layer-based content.
You have to completely reimplement the parts of
On Jan 7, 2013, at 09:07 PM, Andy Lee wrote:
> On Jan 7, 2013, at 2:10 AM, Martin Hewitson wrote:
>> I've also checked that -setNeedsDisplay: is not being called on the PDFView.
>
> Could it be that setNeedsDisplay: isn't called but setNeedsDisplayInRect: is?
I checked that as well. It's not
33 matches
Mail list logo