On 3 Jan 2013, at 17:54, koko k...@highrolls.net wrote:
visibleRect
Returns the visible region of the receiver, in its own coordinate space.
(read-only)
@property(readonly) CGRect visibleRect
Discussion
The visible region is the area not clipped by the containing scroll layer.
I am currently drawing a custom divider via -drawDividerInRect but want to
improve this and am not sure of the proper approach.
I would like to draw a divider similar to that in the Xcode Utilities view
which has the four buttons for Template, Code, Object and Media Libraries.
This divider is
It seems like this should be a simple question. I can access the NSScrollView
of the WebView and ask the scroll view for the height of its document view, but
the height it returns is the current height of the WebView, not the height of
the content it currently contains.
If I reduce the height
On Jan 4, 2013, at 9:19 AM, Eric Gorr wrote:
It seems like this should be a simple question. I can access the NSScrollView
of the WebView and ask the scroll view for the height of its document view,
but the height it returns is the current height of the WebView, not the
height of the
Keary,
Ok, I finally found [control abortEditing]. Why I never saw this to begin with
is embarrassing to say the least. In my textShouldEndEditing, I perform my
logic, aborting if need be. As the control retains the text I last entered
before I abort, I force the NSArrayController to reselect
Sent from my iPhone
On Jan 4, 2013, at 11:34 AM, Keary Suska cocoa-...@esoteritech.com wrote:
On Jan 4, 2013, at 9:19 AM, Eric Gorr wrote:
It seems like this should be a simple question. I can access the
NSScrollView of the WebView and ask the scroll view for the height of its
document
On 4 Jan 2013, at 17:19, Eric Gorr mail...@ericgorr.net wrote:
Sent from my iPhone
On Jan 4, 2013, at 11:34 AM, Keary Suska cocoa-...@esoteritech.com wrote:
On Jan 4, 2013, at 9:19 AM, Eric Gorr wrote:
It seems like this should be a simple question. I can access the
NSScrollView
Good point Mike.
However, after it has completed the layout, is it possible to determine the
height of the content? If so, i could probably work with that information.
But, I would still think it was possible to provide a method with a fixed
width, have it perform a layout, and return the
On 4 Jan 2013, at 18:12, Eric Gorr mail...@ericgorr.net wrote:
Good point Mike.
However, after it has completed the layout, is it possible to determine the
height of the content? If so, i could probably work with that information.
But, I would still think it was possible to provide a
I've submitted this with a sample project. Bug ID# 12958605.
Text Cell in NSTable Can't be Edited if Window has no Title
Summary: In an NSTextFieldCell, in an NSTableView, in an NSWindow that has to
title bar (as many developers configure for use as sheets), the user cannot
edit the text.
On Jan 4, 2013, at 11:52 AM, Jerry Krinock je...@ieee.org wrote:
Instead of getting a focus ring around the clicked cell, you get a 1-pixel
gray rectangle.
Instead of the text being highlighted normally, you get a gray highlight.
When you type characters, a sysbeep.
This isn’t a bug, if I
I needed to create a Core Data Mapping Model today. The only value migration
necessary was to negate a boolean. It seems like one should be able to enter
such a simple expression into the Value Expression column of Attribute
Mappings. Reading the Predicate Programming Guide, I tried, in
On 05/01/2013, at 12:28 AM, koko k...@highrolls.net wrote:
Thanks, Graham.
I have no control over Basing the size of some content on the visible rect
sounds like a bad idea as that is what the boss wants.
FYI, our model defines a bitmap of content and we use the visible rect to
clip
On 05/01/2013, at 12:16 AM, koko k...@highrolls.net wrote:
I am currently drawing a custom divider via -drawDividerInRect but want to
improve this and am not sure of the proper approach.
I would like to draw a divider similar to that in the Xcode Utilities view
which has the four buttons
Short question: Given a year, week-of-year, and weekday in that week-of-year,
what is the most reliable way to get the NSDate for that day even when the
week-of-year is week 1? This is calendrical grey area, because there may be two
week 1s in a year.
Long question:
We're using the NSCalendar
On Fri, Jan 4, 2013, at 04:44 PM, Nick Zitzmann wrote:
What do I have to set in NSDateComponents to give NSCalendar a little
more context so I get the correct date number? I already tried setting
the month to 1 (January) in the components, and I got the same incorrect
results.
Use
On Jan 4, 2013, at 4:44 PM, Nick Zitzmann n...@chronosnet.com wrote:
Short question: Given a year, week-of-year, and weekday in that week-of-year,
what is the most reliable way to get the NSDate for that day even when the
week-of-year is week 1? This is calendrical grey area, because there
On Jan 4, 2013, at 6:38 PM, Greg Parker gpar...@apple.com wrote:
Short question: Given a year, week-of-year, and weekday in that
week-of-year, what is the most reliable way to get the NSDate for that day
even when the week-of-year is week 1? This is calendrical grey area, because
there
On Jan 4, 2013, at 4:04 PM, Graham Cox graham@bigpond.com wrote:
On 05/01/2013, at 12:28 AM, koko k...@highrolls.net wrote:
Thanks, Graham.
I have no control over Basing the size of some content on the visible rect
sounds like a bad idea as that is what the boss wants.
FYI, our
Oh, one factor I did not consider -- the user can choose different scroll bar
visibility behavior in System Preferences:
* Automatically based on mouse or trackpad
* When scrolling
* Always
If certain users are seeing display errors and not others, it might be worth
asking what their settings
So, we've run into an issue in our physics simulation where the floating point
results from cos() (and probably other intrinsics) are different between Apple
ARM 5 and Apple ARM 6 processors. One person online said he solved the issue by
implementing his own intrinsics, but I don't know how to
On Jan 4, 2013, at 10:40 AM, Mike Abdullah wrote:
On 4 Jan 2013, at 18:12, Eric Gorr mail...@ericgorr.net wrote:
Good point Mike.
However, after it has completed the layout, is it possible to determine the
height of the content? If so, i could probably work with that information.
But,
On 05/01/2013, at 1:08 PM, Andy Lee ag...@mac.com wrote:
Put this all together and clearly the document view's visibleRect does not
include any of the area occupied by the scroll bars.
But maybe I am answering the wrong question, in which case... never mind.
I understood the question to
On Jan 4, 2013, at 8:00 PM, Graham Cox graham@bigpond.com wrote:
On 05/01/2013, at 1:08 PM, Andy Lee ag...@mac.com wrote:
Put this all together and clearly the document view's visibleRect does not
include any of the area occupied by the scroll bars.
But maybe I am answering the
Have you looked at crlibm? I've never used it on OSX or iOS or even tried
compiling it but I've seen it linked into some code at work.
On 5 Jan, 2013, at 10:38 AM, Rick Mann rm...@latencyzero.com wrote:
So, we've run into an issue in our physics simulation where the floating
point results
On 5 janv. 2013, at 03:38, Rick Mann rm...@latencyzero.com wrote:
So, we've run into an issue in our physics simulation where the floating
point results from cos() (and probably other intrinsics) are different
between Apple ARM 5 and Apple ARM 6 processors.
This is not much of a surprise.
26 matches
Mail list logo