No. There’s no solution there. The Archive framework makes uncompressing of raw
data easy, including the compression format that’s normally used inside .zip
files, but it doesn’t actually read .zip file format. The file format and the
compression algorithm are, in effect, unrelated to each
(Resending because I forgot to cc the list)
On Mar 20, 2022, at 08:09, Gabriel Zachmann via Cocoa-dev
mailto:cocoa-dev@lists.apple.com>> wrote:
>
> Apparently, this caused it:
>
> Symbol not found: _AVAudioSessionInterruptionNotification
>
> Yes, I am using that function, and yes, it seems to
On Mar 4, 2020, at 06:12 , Gabriel Zachmann via Cocoa-dev
wrote:
>
>// load new image from disk
>NSURL * url = [NSURL fileURLWithPath: [self absolutePathFor: filename_]
> isDirectory: NO];
>// filename_ is one of the paths from the list of images under the user
> selected
On Feb 22, 2020, at 20:56 , Richard Charles wrote:
>
> I am just curious, have you actually seen a 3X backing store or is this just
> a surmise?
Well, I can never remember what I’ve actually seen, so I just threw it in
there. :) It’s used on iOS, but maybe not Mac.
On Feb 22, 2020, at 15:31 , Gabriel Zachmann via Cocoa-dev
wrote:
>
> I was always under the impression that the backing store is 2x the size of
> the display.
> That should be then 2x( 2880 x 1800 ), i.e., 5760 x 3600 , shouldn't it?
>
> So, either the frameRect should be 2880x1800 or 5760
On Feb 12, 2020, at 08:56 , Gabriel Zachmann wrote:
>
> So rather than having the last part being chopped off (which is the important
> part),
> I would like to remove the beginning of the path, since that is unimportant.
For partial paths, you can try converting the URLs to URLComponents,
On Feb 11, 2020, at 09:00 , Gabriel Zachmann via Cocoa-dev
wrote:
>
> I have a question regarding the proper handling of paths under Catalina,
> some of which go through the Container, some don't.
>
> More specifically, I get the Pictures folder using this line of code:
>
> dir_to_scan =
There’s now a Swift equivalent (loosely): “some NSManagedObject”. It’s
sometimes referred to as a “reverse generic”, or “opaque type” because it hides
the actual type behind a larger class type or protocol. The evolution proposal
is here, if you want all the gory details:
On Nov 11, 2019, at 17:05 , Turtle Creek Software via Cocoa-dev
wrote:
>
> I didn't mean to start a language war, because it's not about C++ vs
> Objective-C or Swift.
I’ve been staying out of this, because you’ve seemed impervious (in the last
few weeks since this topic has been discussed)
On Nov 10, 2019, at 17:39 , Lars C. Hassing via Cocoa-dev
wrote:
>
> I believe data in "~/Library/Saved Application State" is being used for this,
> how can I programmatically in app two tell that restoration is not useful ?
>
> I’ve tried myMainWindow.restorable = NO.
The thing that’s
> On Nov 11, 2019, at 15:07 , Steve Christensen via Cocoa-dev
> wrote:
>
> Some existing Obj-C methods are of the form:
>
> + (nullable __kindof NSManagedObject) someFooThing;
>
> Right now I have
>
> class var someFooThing: NSManagedObject?
AFAIK, “__kindof” only affects the
OK, apologies in advance for toes trodden on or sensibilities offended, but it
sounds like it’s time for my anti-optional-whining rant. :)
The really important thing about using Swift is that you *have to* learn to
change the way you think about dealing with nil values. It’s not quite
On Oct 13, 2019, at 06:30 , Aandi Inston via Cocoa-dev
wrote:
>
> If the NSScrollView is scrolled upwards, the content in the window moves down
> (as normal). What we now see is a large white space at the top of the
> NSScrollView, and below that the same view portion we first saw.
It sounds
On Sep 26, 2019, at 10:55 , Laurent Daudelin wrote:
>
> I’m pretty much in the same situation. There seems to be something going on
> behind the scene. I also observed that when I started adding constraints, I
> would suddenly get many warnings and errors, some alluding to missing “y"
>
On Sep 25, 2019, at 13:52 , Rob Petrovec via Cocoa-dev
wrote:
>
>> Is the IOObjectRelease() right or wrong ?
> I’m not entirely sure since I can’t find the docs for
> IOServicePortFromCGDisplayID.
Given that the code fragment shows it as a message being sent to “self”, this
looks like
On Sep 25, 2019, at 14:44 , Gabriel Zachmann via Cocoa-dev
wrote:
>
> I have tried to create a new scheme, then changed the Build Configuration to
> "Release".
> But in
> Build Phases ⟶ Copy Files
> it still says that the product is copied from ... build/Debug.
> (The destination is
> On Sep 23, 2019, at 13:58 , Laurent Daudelin via Cocoa-dev
> wrote:
>
> OH?!? That’s why I can’t find it. And now that you mention Xcode 11, I
> remember having to install the command line tools a couple of days ago. It
> must have been automatically updated as it is my current setting in
17 matches
Mail list logo