Re: NSPredicate and NSString with whitespace gives runtime error

2013-04-22 Thread Ben Gollmer
On Apr 22, 2013, at 10:58 AM, Koen van der Drift koenvanderdr...@gmail.com wrote: Is there a way I can use an NSPredicate to search an NSString that contains whitespaces (a sentence)? If I use this: NSPredicate *functionPredicate = [NSPredicate predicateWithFormat: @function

Re: IOKit device help

2013-03-06 Thread Ben Gollmer
On Mar 3, 2013, at 8:58 PM, Jason T. Slack-Moehrle slackmoeh...@gmail.com wrote: I am using: IOServiceGetMatchingServices kr = IOServiceGetMatchingServices(kIOMasterPortDefault, IOServiceNameMatching(AppleUSBEHCI), io_objects); I am looking for how I find out information about the

Re: Templates for program output

2012-11-10 Thread Ben Gollmer
On Nov 10, 2012, at 1:50 AM, Martin Hewitson martin.hewit...@aei.mpg.de wrote: Dear list, I have an app which is used for compiling agendas. The output is an html page with the agenda formatted in tables, etc. Currently I just build an NSString containing all the html. Clearly this is

Re: Distributed Notification observing change in Lion?

2011-09-07 Thread Ben Gollmer
On Sep 7, 2011, at 11:48 AM, Matt Gough wrote: I have an observer for a Dist notification in my app. In Lion, my observer doesn't actually get called until I interact with my app in some way (i.e show a menu, or click on a window). Until I do that it doesn't get delivered. I have checked

Re: log file in apple system log

2011-05-16 Thread Ben Gollmer
On May 16, 2011, at 7:23 PM, Rainer Standke wrote: Hello, I am trying to have my Mac app log info in such a way that a log file will be visible in the Console app, and the logfile is managed by syslogd. I am playing with asl_log and friends, and I can make things appear in the system