Re: Setting app icon in NSWorkspace

2024-03-22 Thread Mark Allan via Cocoa-dev
de signing. > > Let me see what I can look in to. > > Cheers, > Alex Zavatone > >> On Mar 22, 2024, at 8:23 AM, Mark Allan via Cocoa-dev >> wrote: >> >> Hi all, >> >> I'm trying to offer my users the option (via a pre-defined list in

Setting app icon in NSWorkspace

2024-03-22 Thread Mark Allan via Cocoa-dev
Hi all, I'm trying to offer my users the option (via a pre-defined list in my app's Preferences) to choose an app icon which shows up in the Dock and the Finder. Updating the Dock tile whilst the app is running is fairly simple to achieve, but I also want the Dock icon and Finder icons to remai

Re: Xcode 14 minimum deployment target

2022-10-28 Thread Mark Allan via Cocoa-dev
I've held off upgrading for the same reason. I wonder if it's something to do with a semantic difference between "is no longer supported" and "is no longer possible". Maybe what they really mean is "if it appears to work, great, but we can't guarantee it, and if it fails spectacularly, you're on

Re: Exception not being caught in try statement

2021-05-12 Thread Mark Allan via Cocoa-dev
’s content to find >> out what went wrong >> >> 2. Load the data into your text view. I’m not sure if there’s an API to do >> that in a single step or not, dunno. >> >> I also note that your code explicitly is trying to read an RTFD which if >> memory

Re: How do you handle reading a plist if it may be an array or a dictionary?

2021-05-10 Thread Mark Allan via Cocoa-dev
>> Now that Alex has the answer to his problem, can I ask a follow-up question >> based on this line in his initial email? >> >>> On 9 May 2021, at 1:12 am, Alex Zavatone via Cocoa-dev >>> wrote: >>> _configurationDictionary = [[NSMutableDictionary >>> alloc]initWithDictionary:[NSDictiona

Re: How do you handle reading a plist if it may be an array or a dictionary?

2021-05-10 Thread Mark Allan via Cocoa-dev
Hi, Now that Alex has the answer to his problem, can I ask a follow-up question based on this line in his initial email? > On 9 May 2021, at 1:12 am, Alex Zavatone via Cocoa-dev > wrote: >_configurationDictionary = [[NSMutableDictionary > alloc]initWithDictionary:[NSDictionary > dict

Exception not being caught in try statement

2021-03-26 Thread Mark Allan via Cocoa-dev
Hi folks, Some users are reporting a crash that I can't reproduce, and in an attempt to gain additional diagnostics from a user, I wrapped the affected line in a try/catch block. For two users it resolve the crash, but for a third, it's still crashing at the same point! The crash occurs when

Re: Updating localised auth-prompt strings

2020-07-14 Thread Mark Allan via Cocoa-dev
un 2020, at 9:41 pm, Alex Zavatone wrote: >> >> Platform? >> >>> On Jun 15, 2020, at 9:51 AM, Mark Allan via Cocoa-dev >>> wrote: >>> >>> Hi folks, >>> >>> I have an app which communicates with a privileged helper tool,

Re: Updating localised auth-prompt strings

2020-06-15 Thread Mark Allan via Cocoa-dev
Oops, sorry! I'm using Objective-C, targeting macOS 10.10+ > On 15 Jun 2020, at 9:41 pm, Alex Zavatone wrote: > > Platform? > >> On Jun 15, 2020, at 9:51 AM, Mark Allan via Cocoa-dev >> wrote: >> >> Hi folks, >> >> I have an app wh

Updating localised auth-prompt strings

2020-06-15 Thread Mark Allan via Cocoa-dev
Hi folks, I have an app which communicates with a privileged helper tool, and I used the AuthorizationRightSet API to add the rights, requirements, and prompt strings to the authorizationdb - as per Apple's documentation. As expected, this initial call to "AuthorizationRightSet" does not promp

Re: Screensaver can capture mouse events under Catalina

2020-05-25 Thread Mark Allan via Cocoa-dev
I have to say, I'd be surprised if this were possible. From a security point of view, I can understand why Apple would want to prevent a screensaver from being able to capture keystrokes. > On 25 May 2020, at 11:34 pm, Michael Diehr via Cocoa-dev > wrote: > >> On May 25, 2020, at 12:43 PM, Ga

[Slightly OT] Cocoa developer job ad

2019-11-20 Thread Mark Allan via Cocoa-dev
Hi all, I run a software company in the UK and we're looking to hire some full-time Mac software developers to join our growing team in Edinburgh, Scotland on a permanent basis. We'll be advertising for junior/mid-level, and senior software engineer roles in all the usual places, but I've been

Re: 10.15 command line tools headers missing

2019-09-13 Thread Mark Allan via Cocoa-dev
> On 13 Sep 2019, at 5:58 pm, Jens Alfke wrote: >> They've pulled the same trick again with 10.15 but this time, the installer >> for the headers is also missing meaning I'm unable to compile 3rd party >> software using the command line tools because of missing headers like zlib >> and libxml2

10.15 command line tools headers missing

2019-09-13 Thread Mark Allan via Cocoa-dev
Hi all, I was initially reluctant to post this here because of NDA concerns, but as Google is surfacing Apple's developer forum pages (including the post below), I figured I'm OK! As most of you probably know, in 10.14 last year, Apple stopped installing headers with the command line tools, bu