Re: Problem with rangeOfString and Umlauts

2022-03-11 Thread Matt Jacobson via Cocoa-dev
> On Mar 11, 2022, at 12:17 PM, Gabriel Zachmann via Cocoa-dev > wrote: > > > Well, SSIA. > In more detail, I've got two strings: > > file_basename = @"Morgendämmerung (1)" > info_item = @"Morgendämmerung" > > This code > >NSString * prefix = [ info_item commonPrefixWithString:

Re: Accessibility UIContentSizeCategory or current accessibility font setting

2021-10-17 Thread Matt Jacobson via Cocoa-dev
Hey Alex, > On Oct 17, 2021, at 2:51 PM, Alex Zavatone via Cocoa-dev > wrote: > > We’ve got a situation where we need to check the current accessibility font > size enum and apply custom settings to some attributed fonts. I’ve seen that > there is a way to check the current dynamic text

Re: Accessibility - Smart Invert and images.

2021-09-29 Thread Matt Jacobson via Cocoa-dev
Check out this property on UIView: > or this “modifier” method on SwiftUI View:

Re: App can't be opened

2021-09-15 Thread Matt Jacobson via Cocoa-dev
Hey, > On Sep 15, 2021, at 11:38 AM, Gabriel Zachmann via Cocoa-dev > wrote: > > Thanks so much! I guess that missing symbol explains the crash. > > BTW: is it possible, to make Xcode produce an error message when I am using > symbols that are not available on the deployment target? >

Re: ARC and C++ structures

2021-09-15 Thread Matt Jacobson via Cocoa-dev
> On Sep 15, 2021, at 11:21 AM, Tor Arne Vestbø wrote: > > >> On 14 Sep 2021, at 16:33, Matt Jacobson via Cocoa-dev >> mailto:cocoa-dev@lists.apple.com>> wrote: >> >> By default, when an NSWindow is `-close`d (which can only happen once

Re: ARC and C++ structures

2021-09-14 Thread Matt Jacobson via Cocoa-dev
Hi Tom, > On Sep 14, 2021, at 9:53 AM, Tom Doan via Cocoa-dev > wrote: > > I have a multiple platform application (Windows, Mac, GTK) that is > primarily organized using C++ with Objective-C used for the > Mac-specific interface. I recently switched to use ARC (as we are > using Scintilla

Re: "A build only device cannot be used to run this target" appearing with "Any Mac" scheme

2021-08-23 Thread Matt Jacobson via Cocoa-dev
> On Aug 23, 2021, at 2:20 PM, Gabriel Zachmann wrote: > > Hi Matt, > > thanks a lot for your quick response. It clarifies a few things .. but see > below. > >> >> That pop-up actually has two halves: first, a scheme, and second, a run >> destination. >> >> “Any Mac” and “My Mac” are run

Re: "A build only device cannot be used to run this target" appearing with "Any Mac" scheme

2021-08-23 Thread Matt Jacobson via Cocoa-dev
Hey Gabriel, > On Aug 23, 2021, at 1:48 PM, Gabriel Zachmann via Cocoa-dev > wrote: > > I have a screensaver that compiles and runs fine when I use the active scheme > "My Mac". > However, when I switch to "Any Mac (Apple Silicon, Intel)", I get the error > message > "A build only device

Re: NSExceptionHandler and "Internal Error" dialog

2021-05-28 Thread Matt Jacobson via Cocoa-dev
> On May 28, 2021, at 8:41 PM, James Walker wrote: > > On 5/28/21 4:21 PM, Matt Jacobson wrote: >> On May 28, 2021, at 6:54 PM, James Walker via Cocoa-dev >> wrote: >>> When an uncaught exception is raised, I want to log some information about >>> it but let it continue on as normal. But

Re: NSExceptionHandler and "Internal Error" dialog

2021-05-28 Thread Matt Jacobson via Cocoa-dev
Hey James, > On May 28, 2021, at 6:54 PM, James Walker via Cocoa-dev > wrote: > > When an uncaught exception is raised, I want to log some information about it > but let it continue on as normal. But when I use NSExceptionHandler, an > uncaught exception displays an "Internal Error" modal