|
Re: Loading tiff files
NSImage(contentsOf: heldURL )
NSImage(contentsOf: heldURL )
|
By
Bill Pitcher
·
#1336
·
|
|
Re: Loading tiff files
Sure. All the standard APIs that load images (FYI, you didn't specify a platform) handle TIFF. It used to be the standard image format on OpenStep, so support is still pretty ubiquitous.
—Jens
Sure. All the standard APIs that load images (FYI, you didn't specify a platform) handle TIFF. It used to be the standard image format on OpenStep, so support is still pretty ubiquitous.
—Jens
|
By
Jens Alfke
·
#1335
·
|
|
Loading tiff files
Is there any way to programmatically load tiff image files?
Or does there exist a library that can do such?
Mark
Is there any way to programmatically load tiff image files?
Or does there exist a library that can do such?
Mark
|
By
tridiak
·
#1334
·
|
|
Re: folder entitlements EPERM
You can open the desired System Preference Security Pane from your app to help the user with making the selection you need. Many apps have pretty cool dialogs that not only direct the user to the
You can open the desired System Preference Security Pane from your app to help the user with making the selection you need. Many apps have pretty cool dialogs that not only direct the user to the
|
By
Jack Brindle
·
#1333
·
|
|
Re: folder entitlements EPERM
Check out how Carbon Copy Cloner does it if you haven’t seen it recently.
Check out how Carbon Copy Cloner does it if you haven’t seen it recently.
|
By
Alex Zavatone
·
#1332
·
|
|
Re: folder entitlements EPERM
Thanks a lot! This is the perfect solution for my app:
System Preferences → Security & Privacy → Privacy → Full Disk Access (bottom of left scroll view) → add or enable app in right scroll
Thanks a lot! This is the perfect solution for my app:
System Preferences → Security & Privacy → Privacy → Full Disk Access (bottom of left scroll view) → add or enable app in right scroll
|
By
Gerriet M. Denkmann
·
#1331
·
|
|
Re: folder entitlements EPERM
Not just app store apps, on Catalina and especially Big Sur, all apps.
The suggestion is to have the user drag the app to the “Full Disk Access” panel of the Security & Privacy’s Privacy pane.
Not just app store apps, on Catalina and especially Big Sur, all apps.
The suggestion is to have the user drag the app to the “Full Disk Access” panel of the Security & Privacy’s Privacy pane.
|
By
Jack Brindle
·
#1330
·
|
|
Re: folder entitlements EPERM
I got rejected from the App Store for doing that. However, there are lots of apps in the App Store that prompt for access to the root level of a disk using an Open dialog and get approved, so you may
I got rejected from the App Store for doing that. However, there are lots of apps in the App Store that prompt for access to the root level of a disk using an Open dialog and get approved, so you may
|
By
Jon Gotow
·
#1329
·
|
|
Re: folder entitlements EPERM
Presumably you could solicit access to the root of the volume once, and thereafter build URLs for the relevant subpaths based on the security-scoped URL returned by the panel.
Per
Presumably you could solicit access to the root of the volume once, and thereafter build URLs for the relevant subpaths based on the security-scoped URL returned by the panel.
Per
|
By
Ben Kennedy
·
#1328
·
|
|
Re: folder entitlements EPERM
Isn't that just the normal behavior of the app sandbox? Sandboxed apps aren't allowed to access arbitrary areas of the filesystem, unless the user has implicitly given permission by navigating to a
Isn't that just the normal behavior of the app sandbox? Sandboxed apps aren't allowed to access arbitrary areas of the filesystem, unless the user has implicitly given permission by navigating to a
|
By
Jens Alfke
·
#1327
·
|
|
folder entitlements EPERM
macOS 11.1
There are quite a few folders, which behave absolutely normal using the Finder, but when my App tries to do:
open(folderPath, O_RDONLY)
it gets an EPERM error: "Operation not
macOS 11.1
There are quite a few folders, which behave absolutely normal using the Finder, but when my App tries to do:
open(folderPath, O_RDONLY)
it gets an EPERM error: "Operation not
|
By
Gerriet M. Denkmann
·
#1326
·
|
|
Re: item based NSBrowser
I found the SimpleCocoaBrowser (thanks very much for your hint) and it works just fine.
The BrowserDelegate (called AppController in the sample code) implements 4 required + 1 optional methods:
-
I found the SimpleCocoaBrowser (thanks very much for your hint) and it works just fine.
The BrowserDelegate (called AppController in the sample code) implements 4 required + 1 optional methods:
-
|
By
Gerriet M. Denkmann
·
#1325
·
|
|
Re: item based NSBrowser
Back when I was first starting to develop my UI Browser product, https://pfiddlesoft.com/uibrowser, there were three helpful Objective-C Cocoa code examples for NSBrowser from Apple:
Back when I was first starting to develop my UI Browser product, https://pfiddlesoft.com/uibrowser, there were three helpful Objective-C Cocoa code examples for NSBrowser from Apple:
|
By
Bill Cheeseman
·
#1324
·
|
|
item based NSBrowser
Xcode tells me that:
'matrix(inColumn:)' was deprecated in macOS 10.10: Use the item based NSBrowser instead
And when I use parentForItemsInColumn it crashes with:
parentForItemsInColumn: is not
Xcode tells me that:
'matrix(inColumn:)' was deprecated in macOS 10.10: Use the item based NSBrowser instead
And when I use parentForItemsInColumn it crashes with:
parentForItemsInColumn: is not
|
By
Gerriet M. Denkmann
·
#1323
·
|
|
Re: Core Graphics: creating an image mask from a PDF?
I’ve used CoreImage (CIBlendWithMask filter) to use a
I’ve used CoreImage (CIBlendWithMask filter) to use a
|
By
Jim
·
#1322
·
|
|
Core Graphics: creating an image mask from a PDF?
Hi all,
I am using Core Graphics. I have an image as a PDF resource that I want to use as a mask - specifically, the PDF only contains black and white graphics as vectors. I have code that can turn
Hi all,
I am using Core Graphics. I have an image as a PDF resource that I want to use as a mask - specifically, the PDF only contains black and white graphics as vectors. I have code that can turn
|
By
Graham Cox
·
#1321
·
|
|
Re: Ensure Framework Links to static lib not dylib
Thanks Jack, yes, your point is well taken… but, these are in house production apps/frameworks and we have a long running well establish deployment design that works well…
The structure is as
Thanks Jack, yes, your point is well taken… but, these are in house production apps/frameworks and we have a long running well establish deployment design that works well…
The structure is as
|
By
Sandor Szatmari
·
#1320
·
|
|
Re: Ensure Framework Links to static lib not dylib
I wonder if you might want to embed the library in your application. That might make it more future-proof.
Jack
I wonder if you might want to embed the library in your application. That might make it more future-proof.
Jack
|
By
Jack Brindle
·
#1319
·
|
|
Re: Ensure Framework Links to static lib not dylib
Thanks for everyone’s thoughts… I really appreciate it.
I would think, that’s where I went wrong apparently :D, that Xcode should respect explicit configurations, which is what I thought I had
Thanks for everyone’s thoughts… I really appreciate it.
I would think, that’s where I went wrong apparently :D, that Xcode should respect explicit configurations, which is what I thought I had
|
By
Sandor Szatmari
·
#1318
·
|
|
Ensure Framework Links to static lib not dylib
Begin forwarded message:
From: Jonathan Prescott <jprescott12@...>
Subject: Re: [cocoa-dev] Ensure Framework Links to static lib not dylib
Date: December 10, 2020 at 1:50:14 PM EST
To:
Begin forwarded message:
From: Jonathan Prescott <jprescott12@...>
Subject: Re: [cocoa-dev] Ensure Framework Links to static lib not dylib
Date: December 10, 2020 at 1:50:14 PM EST
To:
|
By
Jonathan Prescott
·
#1317
·
|