On Aug 8, 2012, at 11:09 PM, François Pelsser wrote:
> Hello,
> I want to be able to navigate in a table view with the tab key. So i
> subclassed NSTableView and i added the overwrite the method
>
>
> - (void) textDidEndEditing: (NSNotification *) notification
Since NSTableView subclasses NSC
On Aug 9, 2012, at 10:47 AM, Ken Thomases wrote:
> Better would be to create a property on your controller which returns the
> predicate, constructing it on demand for each call (perhaps with some smart
> caching). (I'll call the property "minMaxPredicate" for discussion.) Bind
> the array
I want to allow the controls from my keyboard to work in my app. The controls
use Apple's Remote Control events (beginReceivingRemoteControlEvents,
endReceivingRemoteControlEvents, and remoteControlReceivedWithEvent), however I
cannot seem to get this to work with MPMoviePlayerController.
I do
On Aug 10, 2012, at 5:07 AM, Koen van der Drift wrote:
>
> On Aug 9, 2012, at 10:47 AM, Ken Thomases wrote:
>
>> Better would be to create a property on your controller which returns the
>> predicate, constructing it on demand for each call (perhaps with some smart
>> caching). (I'll call t
On Fri, Aug 10, 2012 at 8:42 AM, Keary Suska wrote:
>
> Where in the predicate formatting guide
> (https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Predicates/predicates.html)
> does it show that your syntax is in any way valid?
Well, it talks about using the greater tha
Thanks. I've switched to just using a stringWithFormat: with CFGregorianDate.
Just simpler overall :)
On Aug 10, 2012, at 9:28 AM, Philippe Marsteau wrote:
> Seems like a iOS bug:
> http://stackoverflow.com/questions/143075/nsdateformatter-am-i-doing-something-wrong-or-is-this-a-bug
>
> Maybe
On 10 Aug 2012, at 7:48 AM, Koen van der Drift
wrote:
> On Fri, Aug 10, 2012 at 8:42 AM, Keary Suska
> wrote:
>>
>
>> Where in the predicate formatting guide
>> (https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Predicates/predicates.html)
>> does it show that your sy
Yeah, I saw the BETWEEN a bit later, I'll go ahead and try that. Or
maybe turn my float into an NSNumber, I need to think how that works
with the rest of my model.
- Koen.
On Fri, Aug 10, 2012 at 10:51 AM, Fritz Anderson
wrote:
> On 10 Aug 2012, at 7:48 AM, Koen van der Drift
> wrote:
>
>> O
Hi Rodrigo,
For some reasons [1], getting an iPhone hot is trickier than it looks and
engineers have worked hard to make this device's operation as energy-efficient
as possible.
The only way to make an iPhone heat itself, when not connected to a power
source, is by draining its battery power a
I'm working on an app where I need to take several sets of numeric
values (currently stored as NSDecimalNumber), and display them in
columns. Each set will have approximately the same magnitude, but the
magnitude of each set may change, and I won't know ahead of time what
they are. So one might be
On Aug 10, 2012, at 8:58 AM, Sixten Otto wrote:
> In order to make the columns line up, and to know how much space I'll
> need, what I'd like to do is to figure out, for each set of numbers,
> the width of the format I'll need. In other words, the maximum number
> of integer places, and the maxi
mouseEntered do you also have a tracking area setup? When are you calling
setAcceptsTouchEvent:? FYI, You won't get touch events unless the cursor is
over your view when the first touch occurs. While dragging the cursor, the
touch doing that was latched to some other view. All touches are la
They are not alternatives, and the conversion to NSNumber is not optional. You
have to do all three.
— F
On 10 Aug 2012, at 9:58 AM, Koen van der Drift
wrote:
> Yeah, I saw the BETWEEN a bit later, I'll go ahead and try that. Or
> maybe turn my float into an NSNumber, I need to think
On Aug 10, 2012, at 12:28 PM, Fritz Anderson wrote:
> They are not alternatives, and the conversion to NSNumber is not optional.
> You have to do all three.
What? There's no requirement that one use NSNumbers. And BETWEEN is a nice
clear operator to use, but it would be fine to do "%f < value
On Aug 10, 2012, at 9:29 AM, Jens Alfke wrote:
>
> That doesn't seem like a workaround, it seems like the correct solution
> (although why not use the user's real locale?). Fundamentally you are trying
> to display and align character strings, so you have to treat the numbers as
> strings whe
I'm definitely aware of the font issues, and those I can deal with (I
think?). In particular, if I can line up the decimal separators
vertically, everything else should align, as I should be able to force
a font that has lining figures.
My reasoning for measuring the strings in a fixed locale with
Hi Jens,
Thanks for pointing me to the other list. I'll continue the conversation over
there.
To answer your questions quickly here:
Generally around 10% of the data doesn't arrive, and it's a different amount
every time.
As far as I can tell the data is truncated.
AT&T cell network here.
On Fri, Aug 10, 2012 at 10:46 AM, Kyle Sluder wrote:
> Don't forget bout languages where numbers read right-to-left.
Like which? (I had, shamefully, completely forgotten r-t-l text in
this scheme. But some casual googling leads me to believe that Hebrew
and Arabic, at least, write numbers in big-
On Aug 10, 2012, at 10:55 AM, Sixten Otto wrote:
> I could, as you say, measure the drawn sizes of the localized strings.
> I guess my resistance to that idea is really that I'd have to do it a
> couple of times (the width of the whole string, and the position of
> the decimal separator), and th
On Fri, Aug 10, 2012, at 10:44 AM, Ken Thomases wrote:
> What? There's no requirement that one use NSNumbers.
You're correct, but I certainly didn't expect that! From the Predicate
Programming Guide:
"The format string supports printf-style format arguments such as %x
(see “Formatting String Obj
On Fri, Aug 10, 2012, at 11:05 AM, Sixten Otto wrote:
> On Fri, Aug 10, 2012 at 10:46 AM, Kyle Sluder wrote:
> > Don't forget bout languages where numbers read right-to-left.
>
> Like which? (I had, shamefully, completely forgotten r-t-l text in
> this scheme. But some casual googling leads me to
How embarrassing. I relied on the description in the documentation I found, and
didn't go deeper.
Sorry.
— F
On 10 Aug 2012, at 12:44 PM, Ken Thomases wrote:
> On Aug 10, 2012, at 12:28 PM, Fritz Anderson wrote:
>
>> They are not alternatives, and the conversion to NSNumber is not o
As of 10.8, it looks like thousands separators are automatically added to
numbers displayed in text boxes.
Can this be disabled? In some places it doesn't make sense like in a display of
a year.
TIA,
Jim Merkel
___
Cocoa-dev mailing list (Cocoa-dev@l
For a JPG image, I can just use CGImageSourceCopyPropertiesAtIndex to
obtain the various bits of EXIF information from the image. However,
this API does not work with quicktime movie files.
What similar Cocoa APIs can I use to extact EXIF information from a
Quicktime movie file? Or, if ther
> As of 10.8, it looks like thousands separators are automatically added to
> numbers displayed in text boxes.
> Can this be disabled? In some places it doesn't make sense like in a display
> of a year.
Ok, I see from:
https://developer.apple.com/library/mac/#releasenotes/CoreFoundation/CoreFou
On Fri, Aug 10, 2012, at 01:17 PM, James Merkel wrote:
> > As of 10.8, it looks like thousands separators are automatically added to
> > numbers displayed in text boxes.
> > Can this be disabled? In some places it doesn't make sense like in a
> > display of a year.
>
> Ok, I see from:
> https://
On Aug 10, 2012, at 1:17 PM, James Merkel wrote:
> +[NSString localizedStringWithFormat:]
Never mind -- I see I can use +[NSString stringWithFormat:] rather than
+[NSString localizedStringWithFormat:] to avoid the thousand separators.
Jim Merkel
___
Ok, I could do it that way also.
Jim Merkel
On Aug 10, 2012, at 1:28 PM, Kyle Sluder wrote:
> On Fri, Aug 10, 2012, at 01:17 PM, James Merkel wrote:
>>> As of 10.8, it looks like thousands separators are automatically added to
>>> numbers displayed in text boxes.
>>> Can this be disabled? In s
I'm trying to use Help Indexer.app after a long while and a few
upgrades of a working help project. When trying to select the
MyHelp.help bundle, I can't because its grayed out. Any ideas?
But I can get into the bundle on the command line, so I go into the
dirs and try to use hiutil as shown in th
On Aug 10, 2012, at 12:51 AM, Nick Zitzmann wrote:
> On Aug 2, 2012, at 7:02 PM, Kurt Bigler wrote:
>
>> I'd seriously wish for some statement from Apple ASAP if that were a
>> possibility that 32-bit support would be fully eliminated in 10.9.
>
> You won't get one. But between you and me, I
On Aug 10, 2012, at 5:17 PM, Charles Srstka wrote:
>> You won't get one. But between you and me, I would say it is highly
>> unlikely, since they'd kill MS Office support if they did that, and Office
>> is one of the two or three most important third-party apps on OS X.
>
> MS is, however, wor
Is it the case that setting up a trackingArea over a given control is the
easiest way to detect the arrival of focus on a given control?
I'm thinking in terms of tab-advancing keyboard activity here, where the user
advances onto a modestly complex screen region (a postal address displayed in
N
On Fri, Aug 10, 2012, at 05:44 PM, Jayson Adams wrote:
> Except Apple itself says it might not make sense to do so. From the
> 64-bit Transition Guide:
>
> "Although 64-bit executables make it easier for you to manage large
> data sets (compared to memory mapping of large files in a 32-bit
On Fri, Aug 10, 2012, at 05:54 PM, Erik Stainsby wrote:
> Is it the case that setting up a trackingArea over a given control is the
> easiest way to detect the arrival of focus on a given control?
Hmm? Tracking areas have nothing to do with focus.
You probably want to override -becomeFirstRespon
On Aug 10, 2012, at 7:44 PM, Jayson Adams wrote:
> On Aug 10, 2012, at 5:17 PM, Charles Srstka wrote:
>
>>> You won't get one. But between you and me, I would say it is highly
>>> unlikely, since they'd kill MS Office support if they did that, and Office
>>> is one of the two or three most imp
On 11/08/2012, at 10:54 AM, Erik Stainsby wrote:
> It seems like this sort of awareness ought to be trivial to glean, but I'm
> not seeing it in NSView nor NSControl where I would expect to find it
> documented. Advice on where I ought to look?
Keep going: these inherit from NSResponder.
T
If there's one specific control class that you want to detect focus for, you
can subclass it and override becomeFirstResponder. If super returns true, do
your thing.
If you want to apply this to a bunch of varied controls, you might want to use
a subclass of NSWindow and override makeFirstRespo
On Aug 10, 2012, at 5:57 PM, Charles Srstka wrote:
> On Aug 10, 2012, at 7:44 PM, Jayson Adams wrote:
>
>> Except Apple itself says it might not make sense to do so. From the 64-bit
>> Transition Guide:
>>
>> https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/64bitPorti
On Aug 10, 2012, at 7:42 PM, Jayson Adams wrote:
> I'm not trying to argue that you are wrong in your general conclusion about
> the fate of 32-bit, because you don't know and I don't know either. What I
> am saying, though, is that for all of the 32-bit-the-sky-is-falling, the
> first place a
On 8/10/12, Jayson Adams wrote:
>
> On Aug 10, 2012, at 5:57 PM, Charles Srstka wrote:
>
>> On Aug 10, 2012, at 7:44 PM, Jayson Adams wrote:
>>
>>> Except Apple itself says it might not make sense to do so. From the
>>> 64-bit Transition Guide:
>>>
>>> https://developer.apple.com/library/mac/#do
On Aug 10, 2012, at 9:42 PM, Jayson Adams wrote:
> On Aug 10, 2012, at 5:57 PM, Charles Srstka wrote:
>
>> On Aug 10, 2012, at 7:44 PM, Jayson Adams wrote:
>>
>>> Except Apple itself says it might not make sense to do so. From the 64-bit
>>> Transition Guide:
>>>
>>> https://developer.apple
On 11/08/2012, at 1:02 PM, Charles Srstka wrote:
> Apple says a lot of things.
I'm still struggling to build for 680x0 you insensitive clod!
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mod
On Fri, 10 Aug 2012 13:47:48 -0600 mail...@ericgorr.net wrote:
> For a JPG image, I can just use CGImageSourceCopyPropertiesAtIndex to
> obtain the various bits of EXIF information from the image. However,
> this API does not work with quicktime movie files.
>
> What similar Cocoa APIs can I u
On Aug 10, 2012, at 4:06 PM, James Merkel wrote:
> Ok, I could do it that way also.
>
> Jim Merkel
>
> On Aug 10, 2012, at 1:28 PM, Kyle Sluder wrote:
>
>> On Fri, Aug 10, 2012, at 01:17 PM, James Merkel wrote:
As of 10.8, it looks like thousands separators are automatically added to
>>
On Aug 10, 2012, at 8:02 PM, Charles Srstka wrote:
>> Not everyone uses ARC, or the other recent additions Apple has made to the
>> language.
>
> Yes, but the fact that everything new that Apple adds assumes that you're
> compiling for 64-bit only really ought to tell you something.
>>
Tell
In my outline view I return NO for a certain row from the delegate method
[outlineView:shouldCollapseItem:], which is also set to be a 'group' item. This
does prevent the group item being collapsed correctly, but it still shows that
horrible 'show'/'hide' button - it's just that it no longer act
On Aug 11, 2012, at 12:10 AM, Jayson Adams wrote:
> On Aug 10, 2012, at 8:02 PM, Charles Srstka wrote:
>
>>> Not everyone uses ARC, or the other recent additions Apple has made to the
>>> language.
>>
>> Yes, but the fact that everything new that Apple adds assumes that you're
>> compiling fo
On Aug 10, 2012, at 22:18 , Graham Cox wrote:
> In my outline view I return NO for a certain row from the delegate method
> [outlineView:shouldCollapseItem:], which is also set to be a 'group' item.
> This does prevent the group item being collapsed correctly, but it still
> shows that horribl
48 matches
Mail list logo