|
Sheet takes seconds to update
Has control returned to your main event loop, or are you still doing some kind of processing during the delay time? When you change the button name, etc, is that all being done from the main thread an
Has control returned to your main event loop, or are you still doing some kind of processing during the delay time? When you change the button name, etc, is that all being done from the main thread an
|
By
Jon Gotow
· #1009
·
|
|
Arg! Document window restoration. Again.
Can't you just set NSWindow.frameAutosaveName? Or does NSDocument get in the way of that? - Jon
Can't you just set NSWindow.frameAutosaveName? Or does NSDocument get in the way of that? - Jon
|
By
Jon Gotow
· #1020
·
|
|
Puzzle with Hardened Runtime entitlement
Have you got any helper applications (including those embedded in Sparkle or other frameworks)? Chances are it's actually complaining about one of those. - Jon
Have you got any helper applications (including those embedded in Sparkle or other frameworks)? Chances are it's actually complaining about one of those. - Jon
|
By
Jon Gotow
· #1055
·
|
|
Puzzle with Hardened Runtime entitlement
Yes, have you turned on hardened runtime for the AutoUpdate app? Are you building Sparkle from source within the app project, or building it as a separate framework? What's different between the two a
Yes, have you turned on hardened runtime for the AutoUpdate app? Are you building Sparkle from source within the app project, or building it as a separate framework? What's different between the two a
|
By
Jon Gotow
· #1057
·
|
|
NSDraggingSession distorts the images I give it
Judging from the video, your images are not square. It looks like they're only as large as they need to be to contain the drawn item, and are getting stretched to fit your square NSDraggingItem icon.
Judging from the video, your images are not square. It looks like they're only as large as they need to be to contain the drawn item, and are getting stretched to fit your square NSDraggingItem icon.
|
By
Jon Gotow
· #1080
·
|
|
NSDraggingSession distorts the images I give it
Oh, my bad. I mean the drawing code within libItem.previewImage. - Jon
Oh, my bad. I mean the drawing code within libItem.previewImage. - Jon
|
By
Jon Gotow
· #1081
·
|
|
NSDraggingSession distorts the images I give it
I’m just relating what I’m observing in the video. Each icon is getting stretched vertically not by a uniform factor, but so that the drawn elements exactly fit the given bounds. Honestly, it looks li
I’m just relating what I’m observing in the video. Each icon is getting stretched vertically not by a uniform factor, but so that the drawn elements exactly fit the given bounds. Honestly, it looks li
|
By
Jon Gotow
· #1083
·
|
|
NSDraggingSession distorts the images I give it
I'm glad I could help. It's just one of those things I've run into myself a million times - I _think_ I've checked all my assumptions when I'm debugging something, and end up off in the weeds (for hou
I'm glad I could help. It's just one of those things I've run into myself a million times - I _think_ I've checked all my assumptions when I'm debugging something, and end up off in the weeds (for hou
|
By
Jon Gotow
· #1085
·
|
|
Crash in Apple code, not mine - what can I do?
What's the actual cause of the crash? A segmentation fault (SIGSEGV) or some other memory error could be caused by you corrupting memory, handing NSDocumentController a bad object somehow, or some oth
What's the actual cause of the crash? A segmentation fault (SIGSEGV) or some other memory error could be caused by you corrupting memory, handing NSDocumentController a bad object somehow, or some oth
|
By
Jon Gotow
· #1119
·
|
|
Crash in Apple code, not mine - what can I do?
Ugh - I don't have a whole lot of experience with CoreData, but it does add a whole lot of possible failure modes. It's tough that you can't reproduce the issue locally - any chance the customer will
Ugh - I don't have a whole lot of experience with CoreData, but it does add a whole lot of possible failure modes. It's tough that you can't reproduce the issue locally - any chance the customer will
|
By
Jon Gotow
· #1121
·
|
|
Properties being set to nil?
Any chance you're reloading your view controller (when starting a new game or whatever) and not subsequently setting the delegates again? - Jon
Any chance you're reloading your view controller (when starting a new game or whatever) and not subsequently setting the delegates again? - Jon
|
By
Jon Gotow
· #1160
·
|
|
Properties being set to nil?
The fact that you've got two instances of your LTWGameViewController certainly sounds like a bug. It's difficult to tell without looking at your whole project, but my guess is that you've got one inst
The fact that you've got two instances of your LTWGameViewController certainly sounds like a bug. It's difficult to tell without looking at your whole project, but my guess is that you've got one inst
|
By
Jon Gotow
· #1164
·
|
|
Properties being set to nil?
Oh - there you go. Assuming that myGameWindowController is the parent window controller that manages myGameViewController, it will create an instance of your LTWMacGameViewController class when it loa
Oh - there you go. Assuming that myGameWindowController is the parent window controller that manages myGameViewController, it will create an instance of your LTWMacGameViewController class when it loa
|
By
Jon Gotow
· #1167
·
|
|
NSAlert boxes ...
You're making this far more complicated than it is (talking about running the alert asynchronously, etc). NSModalResponse choice = [alert runModal]; will run the alert synchronously. Note that it retu
You're making this far more complicated than it is (talking about running the alert asynchronously, etc). NSModalResponse choice = [alert runModal]; will run the alert synchronously. Note that it retu
|
By
Jon Gotow
· #1200
·
|
|
NSAlert boxes ...
Oh interesting - it looks like when you call [NSAlert beginSheetModalForWindow:completionHandler:], the alert gets retained by the parent window's attachedSheet property. So you're right, no issues th
Oh interesting - it looks like when you call [NSAlert beginSheetModalForWindow:completionHandler:], the alert gets retained by the parent window's attachedSheet property. So you're right, no issues th
|
By
Jon Gotow
· #1202
·
|
|
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
·
|
|
Exception not being caught in try statement
What's the architecture of the machine on which exceptions aren't being caught? Is the try block working on Intel and not on M1? The crash is happening as the RTF reader is setting up the tab stops in
What's the architecture of the machine on which exceptions aren't being caught? Is the try block working on Intel and not on M1? The crash is happening as the RTF reader is setting up the tab stops in
|
By
Jon Gotow
· #1357
·
|
|
Trouble with NSTableViews in macOS 11.x
I ran into this when updating all of my apps for Big Sur. You'd think the "Full Width" style would make the table, well, full width, but it doesn't. I think the solution was to set the tableview style
I ran into this when updating all of my apps for Big Sur. You'd think the "Full Width" style would make the table, well, full width, but it doesn't. I think the solution was to set the tableview style
|
By
Jon Gotow
· #1361
·
|