On 17 Jan 2012, at 16:38, Vincent Habchi wrote:
> Sean,
>
>> NSNumberFormatter does not support that. But writing such a custom
>> formatter would be a few dozen line of code, and pretty straightforward.
>
> I agree this is fairly simple; I just wanted to avoid the task altogether! :)
>
> BT
I have a quick question... I've developed an application. Now someone wants
to put the video up on a big screen and drive it & would like to show the
touch points like Steve used to do at his Steve Notes so those viewing
can follow along and not just see things happening without the context of
Mike,
> The best you can hope for there is either:
>
> A) Subclass NSNumberFormatter. Use IB to set an existing number formatter to
> use your subclass
>
> B) Subclass NSFormatter directly. Drag a plain NSObject into the xib from the
> library. Set it to be your subclass. Hook up the formatter
For NSTableViewDraggingDestinationFeedbackStyleNone, the Apple docs state:
"This option exists to allow subclasses to implement their dragging destination
highlighting"
There's no hint of how this can be accomplished however, and from discussions
I've seen going back to 2008 it seems that A
I am trying to write a program that maintains different installs of
another program including launching the program. To do so, I am using
NSTask. Now when I quit my cocoa app. the NSTask app dies. The task
that the NSTask is running is a Java program, not sure if that makes a
difference. According
I had to convert times from Windows to iOS on a prior project. We finally
settled on an around-the-world solution which geolocated our target
location, called a web service (geonames.org) to retrieve the TZ database
name for that location, and then built the NSTimeZone structure calling
[NSTimeZone
On Jan 18, 2012, at 11:59 AM, Andrew wrote:
> I can probably find out the answer by trying different things, but I'd
> like to get a better insight for what is going on and why the child
> task is terminating.
You may want to try LS (Launch Services) routines.
--
Scott Ribe
scott_r...@eleva
On Jan 18, 2012, at 11:59 AM, Andrew wrote:
> I am trying to write a program that maintains different installs of
> another program including launching the program. To do so, I am using
> NSTask. Now when I quit my cocoa app. the NSTask app dies. The task
> that the NSTask is running is a Java pro
On Jan 18, 2012, at 3:13 PM, Keary Suska wrote:
> Any special handling of NSTask aside, Mac OS X uses Unix-based process
> control which closes all child processes when the parent is closed.
No, that's not true. Where did you get that?
Processes with a controlling terminal get a SIGHUP when th
Thanks, I'll have a look.
BTW, I was able to confirm it is a result of streams. My Java
processes do not quit if I pipe their output to null:
NSTask *task = [NSTask new];
[task setLaunchPath:execPath];
[task setCurrentDirectoryPath:_directory];
[task setArguments:arguments];
[task setStandard
On Jan 18, 2012, at 2:27 PM, Ken Thomases wrote:
>> Note that you can't do this with Cocoa/Objective-C (at least Apple says you
>> shouldn't…)
>
> You can fork() and exec() just fine. What you can't do is fork(), _not_ call
> exec(), and then do anything other than call POSIX async-cancel-safe
Hi Kyle,
On Jan 14, 2012, at 18:37 , Kyle Sluder wrote:
> On Jan 14, 2012, at 2:53 AM, Marcel Weiher wrote:
>> You shouldn't push updates to the UI, the UI should query the model, and it
>> should do it at "human speed", not at whatever speed the machine can manage
>> to change the state. The
On Jan 18, 2012, at 6:12 PM, Marcel Weiher wrote:
> On Jan 14, 2012, at 18:37 , Kyle Sluder wrote:
>
>> The UI will register as a KVO observer, or as an NSNotification observer, or
>> perhaps the controller will just call -setObjectValue: directly.
>
> In my experience and opinion most of these
On Wed, Jan 18, 2012 at 4:33 PM, Ken Thomases wrote:
> On Jan 18, 2012, at 6:12 PM, Marcel Weiher wrote:
>> On Jan 14, 2012, at 18:37 , Kyle Sluder wrote:
>>> Breaking this pattern should be a conscious decision.
>>
>> I'd say that the opposite is true: in general you should avoid specific
>> mo
I've done some searches and haven't found anything regarding this
in my situation. An appropriate RTFM pointer would be appreciated.
I'm running a *garbage collected* application in Lion (10.7.2) that was
most recently compiled using Xcode 4.2.1. I'm getting these messages
logged: auto malloc[2
All,
I'm trying to grab video from a Dazzle Hollywood or an ADVC-55. Over both of
these interfaces I can grab video by opening iMovie, selecting the interface
and pressing "play". However, when I try to grab video with the
QTCaptureDevice interface, I just get a blank screen (iSight and other
I want to print a date on iOS 5.0.1 ignoring the locale.
(this is for logging - not for showing strings to users)
I assume that NSDate has no sufficient parameters to control the output.
So I tried to use NSDateFormatter.
The desired output is something like:
NSString *template = @"HH:mm:ss EEE d
17 matches
Mail list logo