Re: Another dumb question about NSWindowController(s)

2014-06-08 Thread Shane Stanley
o here: ~/Library/Developer/Xcode/Templates/Cocoa/Objective-C custom class.xctemplate Then edit the copied templates to your heart's content. When you go to add a new file in Xcode, you'll see your new category of template listed. -- Shane Stanley __

Tracking NSTextFinder changes

2014-06-30 Thread Shane Stanley
age's NSTextStorageDidProcessEditingNotification, but that's not triggered by a find-bar replace either. Any suggestions on how I can track when a change is made via the find bar? -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Ple

Re: Tracking NSTextFinder changes

2014-06-30 Thread Shane Stanley
: > > which is a notification posted for every change no matter what. Thanks, Graham. For some reason I'd removed that very thing... -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requ

View-based outline view problem

2014-07-10 Thread Shane Stanley
called, which seems very odd. (And yes, I commented out -outlineView:willDisplayCell:forTableColumn:item:). Any suggestions? -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

Re: View-based outline view problem

2014-07-10 Thread Shane Stanley
eeth on the simpler one first. Now I'm thinking of having them extracted... -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: View-based outline view problem

2014-07-10 Thread Shane Stanley
On 11 Jul 2014, at 1:56 am, Quincey Morris wrote: > You are doing something basic incorrectly. That NSOutlineView delegate method > is called ‘outlineView:viewForTableColumn:item:’. Sigh. Thank you for restoring my faith in my own stupidity... -- Shane S

Re: View-based outline view problem

2014-07-10 Thread Shane Stanley
that doesn't work with the view-based version. Is there some simple alternative? -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderator

Re: View-based outline view problem

2014-07-11 Thread Shane Stanley
class that overrides > becoming first responder. That's all I can think of. Just seems a lot of work for something that doesn't strike me as an uncommon need. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: View-based outline view problem

2014-07-11 Thread Shane Stanley
On 11 Jul 2014, at 5:24 pm, Shane Stanley wrote: >> I guess you could solve it with a NSTextField subclass that overrides >> becoming first responder. > > That's all I can think of. Well not quite. I'm already overriding keyDown: in the outline view to show QL pre

Re: Cocoa-dev Digest, Vol 11, Issue 374

2014-07-11 Thread Shane Stanley
Cell-based tables continue to be supported in OS X v10.7 and later, but they’re typically used only to support legacy code." That hints at deprecation at some stage, but I don't see that it has happened yet. -- Shane Stanley __

Re: View-based outline view problem

2014-07-11 Thread Shane Stanley
nd a better solution. (And auto-layout is down the track for this .xib -- each time I start playing with that conversion, I seem to end up either crashing Xcode or producing an unreadable .xib. So it's one step into the future at a time.) -- Shane Stanley __

Re: View-based outline view problem

2014-07-11 Thread Shane Stanley
tion. I'll look into this approach. > (I'm a bit surprised that NSTextField doesn't already do this for those > NSText[View]Delegate methods which don't already map to NSControlTextDelegate > or the informal NSControl delegate methods. Have you tried setting your text

Re: Cocoa-dev Digest, Vol 11, Issue 374

2014-07-11 Thread Shane Stanley
On 11 Jul 2014, at 9:01 pm, Yingshen Yu wrote: > It's in the 10.10 AppKit release notes. Also WWDC session "What's new in > Cocoa" has a fe slides. Thanks. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists

Re: View-based outline view problem

2014-07-11 Thread Shane Stanley
the text field. Thanks for the tips. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Uns

Re: having both cell based and view based outline views in one project

2014-07-12 Thread Shane Stanley
On 13 Jul 2014, at 1:32 am, Keary Suska wrote: > As far as I can tell, there is no public property that tells an NSTableView > whether it is cell-based or view-based Yet there's a popup in IB (the very first one), so it's presumably doing something. -

Re: having both cell based and view based outline views in one project

2014-07-12 Thread Shane Stanley
On 13 Jul 2014, at 7:58 am, Ken Thomases wrote: > It's changing the prototype objects. Makes sense, thanks. On my first try I spent ages trying to delete the old text cell, until I checked the example again... -- Shane Stanley ___ C

Auto layout and split views

2014-07-21 Thread Shane Stanley
e behavior when dragging a divider so that only the owning split view responds. And I'm not sure how to go about that. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: How to get the time zone of a parsed date/time string?

2014-08-02 Thread Shane Stanley
On 31 Jul 2014, at 8:27 am, Jens Alfke wrote: > I want to avoid if possible a solution that involves manually scraping the > string. NSDataDetector? NSTextCheckingTypeDate has a timeZone property. -- Shane Stanley ___ Cocoa-dev mailin

Re: Talking to other apps - again

2014-08-06 Thread Shane Stanley
avoids the whole hassle of building and maintaining the app header file, and can do some stuff more efficiently than SBApplication et al can. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: ITMS-90276 Missing Bundle Identifier

2019-12-12 Thread Shane Stanley via Cocoa-dev
at is missing the bundle identifier in > its Info.plist file." > > Of course I could just add this to the Info.plist - but it feels wrong to > modify it. Just modify it. Automator often generates illegal ones anyway. -- Shane Stanley , ___

<    1   2   3