Re: Code signing checking

2023-01-29 Thread Stephane Sudre via Cocoa-dev
Is this to prevent your executable from loading plugins that are not signed with your team ID? Because, in this case, this would look like what the Hardened runtime does. On Fri, Jan 6, 2023 at 9:29 PM Aandi Inston via Cocoa-dev < cocoa-dev@lists.apple.com> wrote: > Is there any API for doing th

Re: /Library/Application Support off limits?

2021-04-15 Thread Stephane Sudre via Cocoa-dev
I'm not sure to understand why you think a folder whose path is /Users/Shared could not be used to share things among users. If the issue you see is that once a user creates a file or directory in /Users/Shared, only this user can manipulate them, just change the POSIX permissions to make them edi

Re: Exception not being caught in try statement

2021-03-27 Thread Stephane Sudre via Cocoa-dev
It's trying to insert a NSTextTab * object. On Fri, Mar 26, 2021 at 12:11 PM Mark Allan via Cocoa-dev wrote: > > 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 b

NSCollectionView + custom layout => missing vertical drop line

2020-07-14 Thread Stephane Sudre via Cocoa-dev
I'm currently playing with NSCollectionView (10.11+ behavior) and have not been able to figure out a mystery when it comes to drag and drop. I have a NSCollectionView with a custom layout. The layout is based on the standard grid layout with the following modifications in mind: - there can only

Re: Curious bug in oPanel under Mojave in screensaver

2020-05-28 Thread Stephane Sudre via Cocoa-dev
It's a known issue in all 10.14 versions and some 10.15 versions. Apple broke NSOpenPanel when they sandboxed the screensaver pref pane. They also broke window focus BTW. 2 issues can be observed: - you select a file, you get the parent folder. - you switch to the list view mode and you can free

Re: Thoughts on productivity

2019-10-24 Thread Stephane Sudre via Cocoa-dev
On Fri, Oct 25, 2019 at 12:38 AM Rob Petrovec via Cocoa-dev wrote: > If its a ranty bug report, which apparently happens a lot, it goes into a > black-hole never to see the light of day if it doesn’t just get closed right > off the bat. So try to keep opinions & criticisms out of it. Just the

Re: Need for Swift

2019-10-16 Thread Stephane Sudre via Cocoa-dev
On Tue, Oct 15, 2019 at 2:26 PM Sandor Szatmari via Cocoa-dev wrote: > But honestly, I don’t have enough Swift experience to know if you can write > bad Swift code. I'm just reading Swift code here and there and it's my personal opinion that 75% of the Swift code I read is bad code. By bad cod

Re: Thoughts on Cocoa source code

2019-10-10 Thread Stephane Sudre via Cocoa-dev
On Wed, Oct 9, 2019 at 7:19 PM Turtle Creek Software via Cocoa-dev wrote: > > Why is Cocoa source code hidden? > > Many of the frustrations we had with the 64-bit update attempt were caused > by Cocoa's lack of visible source. It was a "black box" that often required > trial-and-error to figure ou

Re: Screensaver icon ?

2019-09-17 Thread Stephane Sudre via Cocoa-dev
For the record, due to Apple's inability to support 3rd party screen saver seriously, the custom icons for 3rd party screen savers are displayed incorrectly and differently depending on the OS versions. So don't spend too much time on getting your screen saver icon to be pixel perfect. The Desktop