Visual glitch

2015-09-04 Thread Shane Stanley
e left and right views it contains have >= constraints with a priority of 1000, but neither seem violated at any stage. Any suggestions? -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Display USB Video Camera output : AVFoundation?

2015-09-09 Thread Shane Stanley
On 10 Sep 2015, at 2:22 pm, Jerry Krinock wrote: > > In a Mac app, I need to display real-time video (as in “movies”) from a USB > camera on the screen. Have a look at the sample code AVRecorder. -- Shane Stanley ___ Cocoa-dev mai

Re: More Xcode 7 inconsistency?

2015-10-13 Thread Shane Stanley
n this since July (#21667200). You might also notice the docs say "dict can be nil", and there isn't a "dict" to be seen (presumably it means docAttributes). -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.

Re: More Xcode 7 inconsistency?

2015-10-14 Thread Shane Stanley
ctionary contains values from Document Types and must at least contain NSDocumentTypeDocumentAttribute." That suggests to me that an empty dictionary is not allowed. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pl

Re: AppleScript-ObjC Bridge Question

2015-10-29 Thread Shane Stanley
, e.g. > > -(id) initWithParameterDictionary:(NSDictionary*) theParameterDictionary; Yes, as long as the parameters are objects and not primitive types. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: AppleScript-ObjC Bridge Question

2015-10-30 Thread Shane Stanley
On 30 Oct 2015, at 8:46 PM, Dave wrote: > > I can’t seem to find any other documentation on this and was wondering if > init would get called if I defined it, when I execute the following: Why wouldn't it? -- Shane Stanley

Re: AppleScript-ObjC Bridge Question

2015-10-30 Thread Shane Stanley
-- Add your subclass-specific initialization here. -- If an error occurs here, return missing value. return me end init -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: AppleScript-ObjC Bridge Question

2015-10-31 Thread Shane Stanley
-- If an error occurs here, return missing value. return me end init But the differing inits smells a bit to me -- especially as it's unnecessary. > > Thanks a lot, if you could point me to some doc

Re: AppleScript-ObjC Bridge Question

2015-10-31 Thread Shane Stanley
he same > name in the parent of the current handler. No me. -- 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(

Re: AppleScript-ObjC Bridge Question

2015-11-01 Thread Shane Stanley
ntinue if the method is also defined in the AS class. But unless you have to init the subclass that way, it would be a lot simpler to do a simple alloc()'s init(), and then set the (inherited) properties of the result. -- Shane Stanley

Re: Another AppleScript-ObjC Bridge Question

2015-11-09 Thread Shane Stanley
That: interleaved syntax was introduced to AppleScript in 10.9; before that, you would use doThis_andThat_() (which is what happens under the hood, and can still be used). But never an underscore where there is no parameter. -- Shane Stanley ___

Re: Another AppleScript-ObjC Bridge Question

2015-11-10 Thread Shane Stanley
#x27;t catch things like terminology clashes.) See the section on handlers in the AppleScript Language Guide. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: More AppleScript-ObjC Bridge Weirdness

2015-11-11 Thread Shane Stanley
ionary loaded so it can do the conversion, but a running app doesn't, so it converts the underlying code as best it can. You need to test the options and build your own string: if class of myMessage is outgoing message then set kMessageClass of myDictionary to "outgoing

Re: Installing older OS X

2015-11-17 Thread Shane Stanley
On 18 Nov 2015, at 11:50 AM, Quincey Morris wrote: > > I want to install 10.8.5 somewhere, to debug an app compatibility issue on > that OS, but I can’t seem to figure out how. Does this help? <https://support.apple.com/en-us/HT201372> --

Re: dateFromString won't accept this string:

2015-11-23 Thread Shane Stanley
On 24 Nov 2015, at 9:26 AM, Alex Zavatone wrote: > > Here’s a pretty good (really really good) reference: Except it's out-of-date. <http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns> -- Shane Stanley _

Re: Bunch of CoreData based NSDocument questions.

2015-11-29 Thread Shane Stanley
l, one is forced to dig in to the Time Machine BS in order to > resurrect the file. System Preferences -> General, check "Ask to keep changes when closing documents". -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Re: Bunch of CoreData based NSDocument questions.

2015-11-29 Thread Shane Stanley
quit. Open it again and you'll see the document is marked dirty/Edited, and you can get back to the original either by clicking the close button and Revert Changes, or choosing File -> Revert Changes... -- Shane Stanley ___ C

Re: Bunch of CoreData based NSDocument questions.

2015-11-29 Thread Shane Stanley
expects? I don't know -- I don't think many of us here really count as average users. > The app has no business overwriting my original file without either a) my > explicitly hitting save, or b) prompting me to allow a save. You might try clicking the "Close windows when

Re: Bunch of CoreData based NSDocument questions.

2015-11-29 Thread Shane Stanley
ive to her might be totally different. It may well be that it's more baffling to you *because* you're a long-time power user. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or m

Re: NSWindow

2015-11-30 Thread Shane Stanley
does > not appear until after the task is complete. I'm glad I wasn't the only one caught by surprise on that. I don't doubt that Quincey's conclusions are correct, but there are situations where there are not particularly easy ways t

Re: More Xcode 7 inconsistency?

2016-01-06 Thread Shane Stanley
On 14 Oct 2015, at 2:27 PM, Shane Stanley wrote: > On 14 Oct 2015, at 1:33 PM, Graham Cox wrote: >> >> I’ve been passing nil forever, only now does Xcode 7 complain, presumably >> because only now is the _Nonnull attribute added. But either the >> documentation or

Datasource methods in view-based tables

2016-02-12 Thread Shane Stanley
the time? I guess I just see something that's called so often is wasting cycles if it's not needed. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: Datasource methods in view-based tables

2016-02-12 Thread Shane Stanley
checking the headers. -- 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/Unsubscribe/Update your

Re: Alternatives to NSMatrix that uses bindings similar to NSMatrix's bindings

2016-04-07 Thread Shane Stanley
oblem of bindings for selectedIndex, does it? -- 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

Re: XCode snapshot function?

2016-05-09 Thread Shane Stanley
On 10 May 2016, at 11:21 AM, Graham Cox wrote: > > Where is the snapshot function in XCode these days (XCode 7.3)? Disappeared a few versions back, I believe. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Issue with read/write to NSFileHandle

2016-06-29 Thread Shane Stanley
> you’d read from last time. You're not trying to use the same handle for both, are you? -- 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

Re: Issue with read/write to NSFileHandle

2016-06-29 Thread Shane Stanley
#x27;s meant for simple cases where the same object is read and writing, more or less. Try separate read/write handles. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator commen

Set the size of a sheet when it's first loaded

2016-08-25 Thread Shane Stanley
able is being updated, but not the size. I've also tried setting the frame in the sheet controller's windowDidLoad, but that appears to be too late. I'm sure I'm missing something simple... -- Shane Stanley ___ Cocoa-dev maili

Re: Set the size of a sheet when it's first loaded

2016-08-25 Thread Shane Stanley
On 25 Aug 2016, at 10:22 PM, Sandor Szatmari wrote: > > What are you calling to set the window's frame? I am under the impression > that calling setFrame: is not respected when using autolayout. Thanks -- that's the simple thing I was forgetting.

Re: XIP archive won't extract for my users

2016-09-10 Thread Shane Stanley
#x27;t > come from Apple". From the latest update to 'macOS Code Signing In Depth': > Important: Starting with macOS Sierra, only XIP archives signed by Apple will > be expanded. Developers who have been using XIP archives will need to move to > usi

Strange toolbar item error

2016-09-14 Thread Shane Stanley
than 25px deep. I've tried fiddling with the toolbar item sizes, to no avail. I added the suggested breakpoint, but I don't see it break. If the message weren't so adamant, I'd be inclined to question it. Anyone else seen it, or ha

Re: Strange toolbar item error

2016-09-14 Thread Shane Stanley
uot;Deployment Target(10.9)". -- 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/Unsubscribe

Re: Strange toolbar item error

2016-09-14 Thread Shane Stanley
On 15 Sep 2016, at 3:24 PM, Shane Stanley wrote: > > On 15 Sep 2016, at 2:54 PM, Kyle Sluder wrote: >> >> What’s your app’s deployment target? What’s the deployment target of >> your nib (listed in the file inspector while the nib is open for >> editing)? >

Re: Strange toolbar item error

2016-09-16 Thread Shane Stanley
On 15 Sep 2016, at 2:54 PM, Kyle Sluder wrote: > > On Wed, Sep 14, 2016, at 07:50 PM, Shane Stanley wrote: >> Under 10.12 GM, I'm seeing entries like this in Console: >> >> NSToolbarItem () had to adjust the size of >> from {38, 25} to the expected size

Re: Strange toolbar item error

2016-09-17 Thread Shane Stanley
button >> to image-only in IB still shows any title if there is one. > > I think we have a bug report on this already. I've already filed #28348535, which includes a simple example. -- Shane Stanley , ___ Cocoa-dev mailing lis

Re: Package installation on MacOS Sierra

2016-09-18 Thread Shane Stanley
this > kind of installer image been obsoleted by 10.12? If so, what can we do to > replace it in a way that works across various OS versions? FWIW I just tried one of those .dmgs here on 10.12 and it behaved as expected. -- Shane Stanley ,

Re: How to update UI from a background thread

2016-09-22 Thread Shane Stanley
On 23 Sep. 2016, at 1:42 am, Jens Alfke wrote: > > AFAIK, AppleScripts can only be run on the main thread. But it’s been many OS > releases since I worked with them. FYI, that hasn't been the case for quite some time. --

Re: How to update UI from a background thread

2016-09-22 Thread Shane Stanley
with the AppleScript handling? What happens if you just comment out the execution line? (My guess is it will make no difference.) -- Shane Stanley , ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mo

Re: Triggering a segue from code

2016-09-22 Thread Shane Stanley
title, etc all intact. And the only way to close them is again via script -- their close buttons do nothing. It's probably just a bug, although DTS don't seem to think so, but these windows seem surprisingly resistant to death. -- Shane Stanley , _

Re: NSTextView tab stop count

2016-10-14 Thread Shane Stanley
]; It works as expected. -- 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/Unsubscribe/

Re: Some help with NSComparisonPredicate please

2017-02-16 Thread Shane Stanley
On 17 Feb 2017, at 10:54 am, sqwarqDev wrote: > > Still looking for help with this, if anyone’s got any idea? Use LIKE instead of CONTAINS? -- Shane Stanley , ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: NSOutlineView

2014-09-09 Thread Shane Stanley
have accidentally fixed some corruption or other, but deleting the custom views reintroduced the problem. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

Re: NSOutlineView

2014-09-10 Thread Shane Stanley
On 10 Sep 2014, at 12:49 pm, Shane Stanley wrote: > FWIW, and this is unrelated to your problem, I'm not sure you should delete > the empty custom views, but rather drag the outline view and text view/scroll > view into them. > > At least, I did what you outlined on a p

Re: Problem getting import UTI recognised

2014-10-16 Thread Shane Stanley
d be read as implying that conforming to a physical hierarchy is mandatory, and you're not doing that. So maybe you also need to conform to something like public.item or public.data. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@list

Predicate warning from text view

2014-10-24 Thread Shane Stanley
duce this sort of thing. The only place I use predicates is my completion code, but nothing to do with UTIs. This is only happening under Yosemite. Any suggestions on where I might start looking? -- Shane Stanley ___ Cocoa-dev mailing list (C

Re: Predicate warning from text view

2014-10-24 Thread Shane Stanley
On 24 Oct 2014, at 6:37 pm, Shane Stanley wrote: > I have Graphics turned off in IB because I don't support attachments. I do > override -selectionRangeForProposedRange:granularity:, but not in any way > that I can see would produce this sort of thing. The only place I use >

Re: Predicate warning from text view

2014-10-24 Thread Shane Stanley
Preferences shows no third-party extensions. There's Markup under Actions, Add to Reading List and Add to iPhoto plus the required ones under Share Menu, and Calendar, Reminders, Stocks and Weather under Today. -- Shane Stanley ___ Cocoa-dev ma

Re: Predicate warning from text view

2014-10-24 Thread Shane Stanley
any case, I never observed any actual ill effects in my app whenever the > logging was triggered. In my case I redirect stdErr output to my log window, so it's a bit of a pain. Looks like I can just filter it out, though. -- Shane Stanley ___

Re: how to reset another app's prefs

2014-11-20 Thread Shane Stanley
with this Terminal solution on the AppleScript mailing list: do shell script "asprefs=$(defaults read com.apple.applescript) ; defaults write com.apple.applescript \"$asprefs\"" Looks odd, but it might be worth a try. -- Shane Stanley

Re: Yosemite-like Toolbar: Segmented Controls, Buttons, Template Images?

2014-12-17 Thread Shane Stanley
esult to, say, the View menu in a Finder window. I call setSegmentStyle:NSSegmentStyleSeparated when it loads under 10.10, which gives the separated appearance. But in terms of how template images work, it's the same. -- Shane Stanley ___ Cocoa

Re: Yosemite-like Toolbar: Segmented Controls, Buttons, Template Images?

2014-12-17 Thread Shane Stanley
lue. It basically reverses the image when selected, except when the window is in the background (in which case the background is a lighter grey). -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requ

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Shane Stanley
ot;. (Oh, and "activate" seems to have become asynchronous these days.) > MyApp indeed has a 'present last logged error’ AppleScript command defined, > and it works. What does it do -- does it call OSACOerceFromDesc() by any chance? Do you know what code was running wh

Re: Inexplicable Crash in -[NSAppleScript executeAndReturnError:]

2015-01-23 Thread Shane Stanley
On 24 Jan 2015, at 11:40 am, Shane Stanley wrote: > >> where [[NSBundle mainAppBundle] bundlePath] returns “com.mycompany.MyApp”. > > In that case, you should be using @"tell application id \"%@\"\n". Ignore that. Your code says bundlePath, but I focuse

Re: NSPredicateEditor's date picker doesn't use user's date format

2015-02-19 Thread Shane Stanley
On 20 Feb 2015, at 5:17 pm, Steve Mills wrote: > > Shouldn't setLocalizedDateFormatFromTemplate be getting the format from my > system prefs? I'd expect it would get it based on the locale you've set, not the date format you&#x

Re: Latest Documentation for adding Applescript Support to an Objective-C Project

2015-02-23 Thread Shane Stanley
On 24 Feb 2015, at 12:21 am, Dave wrote: > > From searching online it looks like things have changed quite recently? Not in terms of how it's implemented in apps. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Latest Documentation for adding Applescript Support to an Objective-C Project

2015-02-24 Thread Shane Stanley
On 24 Feb 2015, at 8:40 pm, Dave wrote: > > I’m wondering why I got a warning when I downloaded the sample Apps then? Sounds odd. I just downloaded a couple again, with no problems other than build settings that needed to be updated. -- Shane S

Bindings in view-based tables

2015-03-05 Thread Shane Stanley
7;m having no luck with view-based tables. I presumed the text field in the table cell view was the thing to bind, but I've tried just about every combination I can think of. Should it still work? -- Shane Stanley ___ Cocoa-dev mailing

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
buttons are in a radio group, with the Selected Tag bound to the same thing. (The two buttons have tags of 11 and 13 respectively). -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
text field within a table cell view that it doesn't seem to work. Table views and columns also have Font Size bindings, and I've tried various permutations, with no luck. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
the cell’s > “objectValue” a KVO-compliant “fontSize" derived property that tracks the > user defaults value, and to bind the text field font size to that. Thanks, Quincey. That sounds much easier, but alas I got your email after I'd started implementing Ken's suggestion. --

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
On 6 Mar 2015, at 12:06 pm, Ken Thomases wrote: > > It seems you can't delete the cell view that's under the table column in the > first NIB. It also seems that the row height is based on its height. -- Shane Stanley ___ Coc

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
ed its height and ran it again, the height of the rows changed accordingly. No big deal because I needed to implement the delegate method anyway, but I was surprised. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

Re: Display an Alert Sheet at a Specified Screen Position

2015-03-26 Thread Shane Stanley
sections, and the user is doing stuff in the bottom part -- it makes more sense, it seems to me, to have the alert appear from the top of the bottom view than at the top of the window.) -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.

Re: Display an Alert Sheet at a Specified Screen Position

2015-03-26 Thread Shane Stanley
ew. (My use of it elsewhere with an open panel is more problematic, however. I just can't think of anything better.) And full-screen mode just puts them back at the top of the window regardless. -- Shane Stanley ___ Cocoa-dev mail

Number formatter errors

2015-03-31 Thread Shane Stanley
'm missing something simple, but it's escaping me. Any hints? -- 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

Re: Number formatter errors

2015-03-31 Thread Shane Stanley
On 1 Apr 2015, at 1:33 pm, Shane Stanley wrote: > > I'm sure I'm missing something simple, but it's escaping me. Yep. Bindings. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not p

Re: Number formatter errors

2015-04-01 Thread Shane Stanley
On 2 Apr 2015, at 3:41 am, Sean McBride wrote: > > Do you have 'validates immediately' on? No -- I didn't actually have a binding at that stage, which is why I wasn't seeing the result I expected. I'd missed the fact that bindings were the driver of the er

Re: View-based tableview and outlets to NSFormatters

2015-04-01 Thread Shane Stanley
top-level formatter that > lives in the same nib. I suspect this is what you are looking for, if not what you want to hear: <http://prod.lists.apple.com/archives/cocoa-dev/2015/Mar/msg00107.html> -- Shane Stanley ___ Cocoa-dev mailing lis

Getting at NSTextFinder from text view

2015-04-12 Thread Shane Stanley
t see how I can actually get hold of the frameworks-provided text finder to message it. I fear I'm missing something simple. Any clues? -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: Getting at NSTextFinder from text view

2015-04-13 Thread Shane Stanley
I read that last line ;-) > I’m happy to share my test project, if you are interested. I am, thanks. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. C

Re: Getting at NSTextFinder from text view

2015-04-13 Thread Shane Stanley
the main thing is to stop the crashes. Thanks! -- Shane Stanley mailto:sstan...@myriad-com.com.au>> http://www.macosxautomation.com/applescript/apps/>> ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin req

Re: Getting at NSTextFinder from text view

2015-04-14 Thread Shane Stanley
first subsequent search, but that's a relatively small price to pay. It seems a lot of overhead for each time I modify the text, so maybe there's some way I can test if a search is active first. -- Shane Stanley ___ Cocoa-dev mailing list

Re: Getting at NSTextFinder from text view

2015-04-14 Thread Shane Stanley
odd behavior I was alluding to actually seems to be a "normal" inconsistency in the find bar's behavior. -- Shane Stanley ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t

Re: Getting at NSTextFinder from text view

2015-04-14 Thread Shane Stanley
g and: This is what I'm doing in my text view subclass: [self setIncrementalSearchingEnabled:NO]; [self.textFinder noteClientStringWillChange]; // modify textStorage here [self setIncrementalSearchingEnabled:YES]; Seems to be working in my (admittedly limited) testing.

Re: Getting at NSTextFinder from text view

2015-04-14 Thread Shane Stanley
[[self textStorage] setAttributedString:string]; -- 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.c

Re: iOS version check

2015-06-12 Thread Shane Stanley
> NS_AVAILABLE(10_10, 8_0); > > If your app still needs to run on iOS 7 then using the UIDevice method may be > a better way to go. There's always -respondsToSelector:, which should then account for iOS 7. -- Shane Stanley ___ Cocoa-d

Re: [Swift] best way to support 'keyword' args, symbolic values, show values as literals?

2015-06-16 Thread Shane Stanley
-explanatory. -- 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/Unsubscribe/Update your

Re: Predicate warning from text view

2015-07-07 Thread Shane Stanley
upgraded to 10.10.4 -- Console can be flooded with dozens at a time. But I've also found that they *stop* if turn off the Markup extension, and start back up when I turn it back on. Can anyone else who is seeing the problem confirm that turning Markup

Re: Predicate warning from text view

2015-07-08 Thread Shane Stanley
y case it is not a subclass of a NSTextView, but a straight instance of > one. FYI, my bug report has been closed as a duplicate since I posted, so I guess that's also confirmation of a sort. -- Shane Stanley ___ Cocoa-dev mailing list

Re: Anyone recommend Dash?

2015-07-09 Thread Shane Stanley
On 9 Jul 2015, at 5:02 pm, Roland King wrote: > > I didn’t think you could do paid upgrades through the appstore. You can also buy Dash outside the App Store. Apart from the Profiles UI, I'm a big fan. -- Shane Stanley ___ Cocoa-

Re: Regarding these Olivia messages. Can we do something about the list security?

2015-07-30 Thread Shane Stanley
On 30 Jul 2015, at 9:36 pm, Alex Zavatone wrote: > > Including me, I know of three people who have gotten these. FWIW, it's also happening to on at least one other Apple mailing list. Olivia seems to get around. -- Shane Stanley ___

Crash help?

2015-08-19 Thread Shane Stanley
duce it at will by: closing a document, waiting a couple fo seconds, then opening it (or any other document). It doesn't happen under 10.9 or 10.10, nor in the first few 10.11s. Any suggestions? -- Shane Stanley ___ Cocoa-dev

Re: Crash help?

2015-08-20 Thread Shane Stanley
On 20 Aug 2015, at 7:16 pm, Mike Abdullah wrote: > > Try running your app with zombies enabled I spent a couple of hours playing with that the other day. After your email I tried again: success in minutes, thank you! I was failing to remove an observer... -- Shane S

Lingering windows

2011-08-09 Thread Shane Stanley
n the window, followed by windowWillClose: on the delegate, and then orderOut on the window. Any thoughts/suggestions? -- Shane Stanley 'AppleScriptObjC Explored' ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post ad

Re: Lingering windows

2011-08-09 Thread Shane Stanley
gering -- it's just the window. -- Shane Stanley 'AppleScriptObjC Explored' ___ 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-d

Re: Lingering windows

2011-08-09 Thread Shane Stanley
dow controller, and document are all released." I'm trying to understand what might stop that from happening. > > If that's not it, then use the debugger's 'info gc-roots' command (having set > a breakpoint somewhere after the window has been closed a

Re: Lingering windows

2011-08-09 Thread Shane Stanley
00400efa2e0 2 Kind: object rc: 0 Address: 0x0004011fcca0 Class: MyWindow Anything useful there? -- Shane Stanley 'AppleScriptObjC Explored' ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin req

Re: Lingering windows

2011-08-09 Thread Shane Stanley
ing up in > Instruments (Allocations and Leaks). If a window gets leaked for every > document you open (but isn't detected by Instruments as a leak), then the > quickest way to get a picture of what's going on is to use heapshot analysis: > > > http://

Re: Lingering windows

2011-08-10 Thread Shane Stanley
Thanks for the suggestion. I suspect it's on the right track. -- Shane Stanley 'AppleScriptObjC Explored' ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the m

Re: update nspopupbutton at use-time

2011-08-26 Thread Shane Stanley
On Aug 27, 2011, at 2:06 AM, Jens Alfke wrote: > > Listen for NSPopUpButtonCellWillPopUpNotification sent by the button’s cell. Or implement -menuNeedsUpdate: on the delegate of the popup's menu. -- Shane Stanley 'AppleScr

Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?

2011-09-06 Thread Shane Stanley
the error doesn't happen under 10.7, and I can't set a deployment target of 10.7 when running under 10.6. So for now, the easy way out is to keep the deployment target at 10.6. But I'd be interested in any other thoughts/suggestions. -- Shane Stanley 'AppleScriptObjC Explored

Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?

2011-09-06 Thread Shane Stanley
ount_underflow_error to debug", because the error doesn't happen under 10.7, and I can't set a Base SDK of 10.7 when running under 10.6. So for now, the easy way out is to keep the Base SDK at 10.6. But I'd be interested in any other thoug

Re: The best way to call Cocoa methods not implemented in previous versions of the SDK?

2011-09-07 Thread Shane Stanley
On Sep 7, 2011, at 10:08 AM, Shane Stanley wrote: > They don't happen when I run the same binary under 10.7, and they don't > happen under 10.6 if I change the Base SDK to 10.6. For the record, this turned out to be the result of a wonky #ifdef that changing the SDK exposed. -

Canceling text-completion

2011-09-18 Thread Shane Stanley
like tries to save, etc). Any clues? -- Shane Stanley 'AppleScriptObjC Explored' ___ 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-

Missing header files/folders?

2011-10-06 Thread Shane Stanley
ic of systems past? -- Shane Stanley 'AppleScriptObjC Explored' ___ 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.

Re: Missing header files/folders?

2011-10-06 Thread Shane Stanley
On 07/10/2011, at 4:42 PM, Joar Wingfors wrote: > All the bits and pieces of an Xcode install doesn't survive a migration. You > have to reinstall Xcode. That did the trick. I'd assumed Xcode was only responsible for the ones in /Developer/. Many thanks. -- Shane Stanley

Re: Missing header files/folders?

2011-10-07 Thread Shane Stanley
On 07/10/2011, at 4:38 PM, Jens Alfke wrote: > They might not be part of the base OS install. Thanks -- that seems to be the case. Kind of surprised me... -- Shane Stanley 'AppleScriptObjC Explored' ___ Cocoa-dev mailing li

Re: Missing header files/folders?

2011-10-07 Thread Shane Stanley
On 07/10/2011, at 7:08 PM, Jean-Daniel Dupas wrote: > Not so much. There is no compiler in the base system, so why bother to > include framework headers ;-) But then Xcode also puts them in its own copies in the SDKs, so I guess you could argue why bother at all. -- Shane S

Re: Missing header files/folders?

2011-10-07 Thread Shane Stanley
nd should be installed. I wasn't really arguing that they shouldn't -- quite the contrary. Hence my surprise that they are installed by Xcode and not part of the OS. -- Shane Stanley 'AppleScriptObjC Explored' ___ C

Re: Quandary : NSAppleScript ties up main thread

2011-10-10 Thread Shane Stanley
“thread-safe” bit (cmpThreadSafe in the > ComponentDescription’scomponentFlags.) Test the generic component before > using OSA on a background thread, and then test the specific language > component before using it on a background thread. -- Shane Stanley 'AppleScriptObjC Explored'

  1   2   3   >