> On Jul 18, 2023, at 9:28 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> 2023-07-17 13:13:23.657278+0200 0xff744Error 0x1144e1
> 2670 0legacyScreenSaver: [com.apple.ScreenSaver:Modules]
> -[LegacyExtensionManager processExtensionRequest:replyInfo:]_block_invoke
> On 11 Dec 2022, at 12:51 pm, Mike Abdullah via Cocoa-dev
> wrote:
>
> Have you tried -URLByResolvingSymlinksInPath? As far as I’m aware, the
> Pictures entry inside your container is a symlink to the real thing, so
> assuming you have appropriate entitlements, should be possible to resolve
On 13 Feb 2022, at 1:07 pm, Gabriel Zachmann via Cocoa-dev
wrote:
> Just now, I have tried a few other things.
> I deleted some folders in ~/Library/Deverlopers (caches, log files, devices).
> Interestingly, there is no ~/Library/Deverloper/Xcode/DerivedData! (which
> should contain the indexin
> On Sep 6, 2021, at 2:14 PM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I had assigned the window to an ivar window_ in viewWillMoveToWindow:
>
> - (void) viewWillMoveToWindow: (NSWindow *) newWindow
> {
>window_ = newWindow;
I asked earlier, but I’ll ask again: why are you doing this?
> On Sep 4, 2021, at 10:27 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I access the window of a view by two different ways, in the controller and
> in the view, resp., and in the controller, I always get a nil pointer.
>
> In my app, I have a subclass of NSView, MyView, declared like thi
> On 22 Jul 2021, at 10:45 am, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> is it possible to determine - in my own app - whether or not there is an MS
> Teams video call taking place at the moment?
The only correct answer to that depends on whether Microsoft Teams provides API
that vends su
> On 23 Jun 2021, at 12:22 pm, Richard Charles via Cocoa-dev
> wrote:
>
> Yes, that is what I do now. However when upgrading to Xcode 12 it wants to
> change the debug and release configuration to use development signing.
> Notarized builds are reserved for archiving. Just saying that Apple
> On 12 May 2021, at 11:17 am, Carl Hoefs via Cocoa-dev
> wrote:
>
> I'd like to present an informational alert for n seconds then dismiss it
> without user interaction. But I don't see any way to dismiss, terminate,
> cancel, invalidate, etc. an NSAlert object.
I recently did that exact th
> On 9 May 2021, at 2:29 pm, Alex Zavatone wrote:
>
>> It sounds like you might need to rethink your data model a bit.
>
> That’s what I’m trying to do! : D
I meant the internal data model, as in how your program represents the data in
memory and in respect of what API it provides to its cli
> On 8 May 2021, at 5:32 pm, Alex Zavatone wrote:
>
> Well, what I’m not sure about are how to store the results internally. Do I
> declare both an NSArray and an NSDictionary and check to see which one ended
> up getting the proper result?
Call -[propertyListWithData:options:format:error:],
Sounds like NSPropertyListSerialization is what you’re after.
https://developer.apple.com/documentation/foundation/nspropertylistserialization
b
Sent from my iPhone
> On May 8, 2021, at 5:12 PM, Alex Zavatone via Cocoa-dev
> wrote:
>
> I’m reading a configuration plist like so.
>
> NSFileM
> On 14 Apr 2021, at 1:14 am, Davidap via Cocoa-dev
> wrote:
>
> Apple say:
>
> [...] For example, if your app is named MyApp and has the bundle identifier
> com.example.MyApp, you would put your app’s user-specific data files and
> resources in the ~/Library/Application Support/com.example
> On 8 Mar 2021, at 3:36 pm, Jeffrey Walton via Cocoa-dev
> wrote:
>
> Tee(1) is not writing the file for him, and I can confirm the
> behavior. Here's how it is being used:
>
>./cryptest-ios.sh 2>&1 | tee cryptest-ios.txt
Hey Jeff,
I recall encountering a similar problem a few months ago
> On 14 Dec 2020, at 5:39 pm, Eyal Redler via Cocoa-dev
> wrote:
>
> button = [[NSButton alloc] initWithFrame:NSMakeRect(0, 0, 0, 0)];
> [button setTranslatesAutoresizingMaskIntoConstraints:NO];
> [button setBezelStyle:NSRoundedBezelStyle];
> [button setTitle:buttonTitle];
> [button sizeToFit]
By the way, some of what you said doesn't seem to quite make sense:
> The behaviour below is what is simply not happening.
>
> If you
> invoke this method with a nil nib name, then this class' -loadView
> method will attempt to load a NIB whose
> name is the same as your view controlle
> On 22 Nov 2020, at 12:45 pm, Alex Zavatone via Cocoa-dev
> wrote:
>
> I’ve found a bug in Swift’s loadView for UIViewController on iOS that I’d
> like to report. Swift.org tells us to use https://bugreport.apple.com which
> returns “bugreport.apple.com’s server IP address could not be fou
> On 19 Aug 2020, at 7:45 pm, Michael Hall via Cocoa-dev
> wrote:
>
> Something else I’m curious about is doesn’t this somehow invalidate any
> application signing that’s been done?
Code signing happens last, even if you put your shell script phase at the very
bottom. (Observe the build outp
> On 19 Aug 2020, at 11:47 am, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I tried this:
>
> plutil -replace CFBundleVersion -string '$(CURRENT_PROJECT_VERSION) 111'
> qq.plist
>
> which works -- but what I need to do is something like this:
>
> plutil -replace CFBundleVersion -string "\$
> On 19 Aug 2020, at 9:07 am, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> The plist file has, additionally to all the default stuff, the key
> CFBuildNumber (with a value that I increment automatically).
>
> In Xcode, I tried to change "Bundle version" to a value like
>
> $(CURRENT_PROJEC
> On 9 Aug 2020, at 5:58 am, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I have a simple app (status bar item) with a simple GUI.
> The funny thing is that one text line in the GUI is grey-ish,
> but NOT in the XIB in XCode ... and I can't determine why that is or how to
> correct it.
Interes
> On 09 Oct 2019, at 1:19 pm, Turtle Creek Software via Cocoa-dev
> wrote:
>
> In fact, why isn't Cocoa open source? Apple open-sources Swift and the
> Darwin kernel. Surely the GUI can't be any riskier to expose to developers?
This is a business strategy question, not a Cocoa development ques
> On 23 Aug 2019, at 2:17 pm, Casey McDermott via Cocoa-dev
> wrote:
>
> We allocate the controller in our app delegate class. It's a member but
> apparently that is not a
> strong enough reference, so the controller is released at the end of the
> scope. What is best practice to hold a stron
22 matches
Mail list logo