Re: NSTableView Sends Null Column to Delegate/DataSource

2012-07-13 Thread John Terranova
A nil tableColumn means to treat the whole row as one wide column, rather than the individual columns. It is useful for section headers. The docs for the applicable methods should explain the nil tableColumn. john Sent from my iPhone On Jul 13, 2012, at 11:21 PM, Keary Suska wrote: > I

NSTableView Sends Null Column to Delegate/DataSource

2012-07-13 Thread Keary Suska
I am having a strange issue I haven't encountered before--for all of my data source and delegate methods the table view is sending nil for the table column, which obviously prevents me from fulfilling any of the requests. Has anyone seen this? Xcode 4, targeting 10.6. TIA, Keary Suska Esoteri

Re: Binding NSTableView to NSSet

2012-07-13 Thread Koen van der Drift
A follow up question: how do I now sort the data in the table? I am showing three values in the table, and like to sort based on either one of them. The original data is in an unordered NSSet (from my CD model). I could create an NSArray in my view controller: NSArray *myArray = [myTagsSet allOb

-[NSFileHandle readInBackgroundAndNotify] opens the file again

2012-07-13 Thread Rick Mann
I'm using NSFileHandle in an ARC app on OS X Lion to read from a serial port. Everything works fine 'till I go to close the port. I open the port with POSIX calls, set up some stuff, then instantiate an NSFileHandle with the file descriptor I got from open(). Then I call -readInBackgroundAndNot

Custom NSTextAttachment

2012-07-13 Thread Alexander Reichstadt
Hi, trying to build a custom subclass of NSTextAttachment I thought it would be fully supported in an NSTextView. In a test project at app launch I insert an attachment: [_textView setString:@"This is a test string\rThis is a test string\rThis is a test string\rThis is a test string\rThis

Core Data Multiuser

2012-07-13 Thread Flavio Donadio
Hello, people! I'll bring this subject to surface again. I know it pops here and there from time to time, but I've never seen anything conclusive, besides advice to steer off this idea. For a long time, I have wanted to develop a "pseudo-CRM" software for my small business. It will be used fo

Re: Write Finder plugin

2012-07-13 Thread Mark Munz
But the OP *could* create a Workflow OS X Services Item that has a Run Shell Script action with a python script. On Thu, Jul 12, 2012 at 11:16 PM, Eric Schlegel wrote: > > On Jul 12, 2012, at 10:45 PM, Rakesh Singhal wrote: > >> Hi Eric, >> >> Thanks. I am trying to do it using Services but I co

Re: Load UIWebView with new content

2012-07-13 Thread Erik Stainsby
You need to use -loadHtmlString: Time Dwarf, Roaring Guy On 2012-07-13, at 4:51 AM, Vavelin Kevin wrote: > Hi there, > > I want to "refresh" my webView when I add something that i've write in > javascript with > stringByEvaluatingJavaScriptFromString: . > > But when I call the method my ht

Load UIWebView with new content

2012-07-13 Thread Vavelin Kevin
Hi there, I want to "refresh" my webView when I add something that i've write in javascript with stringByEvaluatingJavaScriptFromString: . But when I call the method my html is still the same. I want to reload my html page and just modify one thing with javascript. Do you have any idea of how

Re: Write Finder plugin

2012-07-13 Thread Uli Kusterer
On 13.07.2012, at 08:43, Nathan Day wrote: > You can do this with Services if you are willing to have it in the services > menu of the contextual menu, the user has to enable your service by going to > System Preferences > Keyboard > Keyboard Shortcuts, you may be able to > AppleScript that. If