Re: NSTableCellView for view-based outline view

2013-11-20 Thread Seth Willits
On Nov 19, 2013, at 8:42 PM, Quincey Morris wrote: > Here’s something puzzling, unless I’m missing the obvious: > > I’m intending to convert an outline view in an existing xib file from > cell-based to view-based. In preparation, I added the requisite delegate > method to the view controller:

NSTableView drag & drop string

2013-11-20 Thread Todd Heberlein
Embarrassingly simple problem, but I can’t figure it out. I have an NSTableView, and when dragging and dropping I want to encode my object as strings so I can drop them right into a text document or an email message. I’m trying a very simple test (I just want the string “foo” to be dropped in a

Re: NSTableView drag & drop string

2013-11-20 Thread Seth Willits
On Nov 20, 2013, at 10:00 AM, Todd Heberlein wrote: > I’m trying a very simple test (I just want the string “foo” to be dropped in > an email message) that I cannot seem to make work. What am I missing? > (setString:forType: is returning YES) > > > - (BOOL)tableView:(NSTableView *)tv > writeR

Re: NSTableCellView for view-based outline view

2013-11-20 Thread Quincey Morris
On Nov 20, 2013, at 09:52 , Seth Willits wrote: > There’s no setting need to make it cell or view-based. It’s determined simply > by what delegate methods are implemented. It must simply be checking for > view-based methods before cell-based. Nothing special. OK, that would explain why I could

Re: NSTableCellView for view-based outline view

2013-11-20 Thread Quincey Morris
On Nov 20, 2013, at 13:50 , Quincey Morris wrote: > But it’s still coming out with the wrong view class. OK, this just took a left turn and went to Weirdland. This was the relevant code: > NSTableCellView* view = [outlineView makeViewWithIdentifier: > column.identifier owner: self]; >

Re: NSTableView drag & drop string

2013-11-20 Thread Todd Heberlein
On Nov 20, 2013, at 10:00 AM, Todd Heberlein wrote: > Embarrassingly simple problem, but I can’t figure it out. > > ... > - (void)awakeFromNib > { > [self.jocksTable registerForDraggedTypes: [NSArray arrayWithObjects: > NSPasteboardTypeString, nil]]; > [self.jocksTable setDraggingS

file url to string path

2013-11-20 Thread koko
How does one turn this: file://localhost/Volumes/Macintosh%20HD/Included%20Free%20Designs/Aibnb18(colorized).pes into this: /Volumes/Macintosh HD/Included Free Designs/Aibnb18(colorized).pes -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

Re: file url to string path

2013-11-20 Thread Kyle Sluder
On Wed, Nov 20, 2013, at 03:26 PM, koko wrote: > How does one turn this: > > file://localhost/Volumes/Macintosh%20HD/Included%20Free%20Designs/Aibnb18(colorized).pes http://lmgtfy.com/?q=NSURL --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.

Re: SKIndexAddDocument crashing

2013-11-20 Thread Eric Gorr
If anyone else is interested, this has been confirmed as a bug and there is no workaround. Again, the bug number is rdar://15410920 On Nov 14, 2013, at 9:14 AM, mail...@ericgorr.net wrote: > If anyone is watching who can expedite this, I have started a DTS incident. > > This does appear to be

iOS app to play iTunes library through effects

2013-11-20 Thread Steve Mills
I've been trying to digest all the docs in the iOS documentation for audio, and am getting a bit overwhelmed. Here's what I want to do: Create an iOS app that will play my music library (either using the predefined Library and playlists (preferred), or by adding files from the library to the app

Fonts on iOS

2013-11-20 Thread Gerriet M. Denkmann
The Thonburi font (default font for Thai) has some issues (since 10.9 / iOS 7). (E.g. writing ผฺ that is THAI CHARACTER PHO PHUNG + THAI CHARACTER PHINTHU, the latter (which is a non-spacing mark) is NOT displayed under the preceding character, but next to it; should look similar to พฺ ) On OS X

Re: iOS app to play iTunes library through effects

2013-11-20 Thread Jens Alfke
On Nov 20, 2013, at 8:17 PM, Steve Mills wrote: > play my music library (either using the predefined Library and playlists > (preferred), or by adding files from the library to the app's own playlist), > route that audio through EQ and effects (Audio Units, I'm guessing), and mix > in other c

Re: Fonts on iOS

2013-11-20 Thread Maxthon Chan
You can carry a custom font in your application bundle. That will work for sure. On Nov 21, 2013, at 13:06, Gerriet M. Denkmann wrote: > The Thonburi font (default font for Thai) has some issues (since 10.9 / iOS > 7). > (E.g. writing ผฺ that is THAI CHARACTER PHO PHUNG + THAI CHARACTER PHINTHU