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
,
___
ually calling something that uses Adobe Unit Types.osax, that
message is probably a red herring. Try removing Adobe Unit Types.osax -- AFAIK
it hasn't done anything for years anyway.
--
Shane Stanley
,
___
Cocoa-dev mailing list (Cocoa-dev@list
On 4 Sep 2018, at 11:28 pm, Alastair Houghton
wrote:
>
> On 4 Sep 2018, at 00:19, Shane Stanley wrote:
>>
>> On 3 Sep 2018, at 11:31 pm, Andreas Falkenhahn
>> wrote:
>>>
>>> I'm looking for a solution to flush the app bundle cache
>>
&
On 3 Sep 2018, at 11:31 pm, Andreas Falkenhahn wrote:
>
> I'm looking for a solution to flush the app bundle cache
If you find one, I'd love to know what it is. I had no luck at all.
--
Shane Stanley
,
___
Cocoa-dev mailing
don’t
> own (instead of calling super)?
Quite possibly. Thanks for the nudge.
--
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 c
I fear I'm missing something simple. When I enter the versions browser, I want
to disable the items on the Open Recent submenu. But I'm not seeing anywhere
obvious to do it; that menu looks like it's all handled opaquely. Any clues?
--
On 19 Jun 2017, at 3:12 pm, Graham Cox wrote:
>
> Not sure why this wasn’t picked up in my previous builds though, since I was
> compiling on 10.11.
The change was made in 10.12.
--
Shane Stanley
,
___
Cocoa-dev mailing list (
On 19 Jun 2017, at 1:06 pm, Graham Cox wrote:
>
> resource fork, Finder information, or similar detritus not allowed
See: <https://developer.apple.com/library/content/qa/qa1940/_index.html>
--
Shane Stanley
,
___
Cocoa-dev mailing
users and offers them to
> "install" predefined scripts (bundled in the application package) into that
> folder.
Your app can't do that -- scripts can only be installed in that folder by the
user.
--
Shane Stanley
,
___
t is to get the different instance on every call.
ComponentInstance compInstance = [[OSALanguageInstance
languageInstanceWithLanguage:[OSALanguage languageForName:@"AppleScript"]]
componentInstance]
--
Shane Stanley
,
___
Cocoa-dev mailing list (Coc
as deprecated.
--
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 you
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
];
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/
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
,
_
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
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.
--
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
,
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
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
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)?
>
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
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
#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
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.
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
#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
> 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
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
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
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
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
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
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
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
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
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
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
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
_
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>
--
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
#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
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
___
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
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(
-- 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
-- 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
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
, 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
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
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.
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
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
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
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
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
___
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-
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
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
-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
> 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
[[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
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.
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
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
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
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
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
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
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
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
'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
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
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.
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
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
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.
--
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.
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
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
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
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)
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
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
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
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
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
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
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
___
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
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
>
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
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
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
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
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
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
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
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
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.
-
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
1 - 100 of 220 matches
Mail list logo