|
Re: Weird crash with Mojave, no crash on High Sierra
There’s not really enough information here to really solve the problem. The overall “feel” of the crash is a memory management problem related to the various objects used alongside a NSWindow.
There’s not really enough information here to really solve the problem. The overall “feel” of the crash is a memory management problem related to the various objects used alongside a NSWindow.
|
By
Quincey Morris
·
#1104
·
|
|
Re: NSAttributedString + NSLayoutManager versus Core Text
I don’t know exactly *which* typographic problem is intended to be solved by line fragment padding, but the most likely one is that various letters may extend outside their layout boxes. The layout
I don’t know exactly *which* typographic problem is intended to be solved by line fragment padding, but the most likely one is that various letters may extend outside their layout boxes. The layout
|
By
Quincey Morris
·
#1103
·
|
|
Re: NSAttributedString + NSLayoutManager versus Core Text
OK, as usual after writing a lengthy question, it helps focus the mind on what’s really going on, and minutes later the solution materialises.
NSTextContainer has a property called
OK, as usual after writing a lengthy question, it helps focus the mind on what’s really going on, and minutes later the solution materialises.
NSTextContainer has a property called
|
By
Graham Cox
·
#1102
·
|
|
Re: NSAttributedString + NSLayoutManager versus Core Text
Ignore this part - on further test this is working correctly.
Ignore this part - on further test this is working correctly.
|
By
Graham Cox
·
#1101
·
|
|
NSAttributedString + NSLayoutManager versus Core Text
Hi all,
I’m wrestling with annoying inconsistencies in the various options for text rendering.
Here’s what I want to do - I want to draw overbars above runs of characters in a text string. This is
Hi all,
I’m wrestling with annoying inconsistencies in the various options for text rendering.
Here’s what I want to do - I want to draw overbars above runs of characters in a text string. This is
|
By
Graham Cox
·
#1100
·
|
|
Re: Weird crash with Mojave, no crash on High Sierra
Sorry for the delay. As this is a pet project it had to stay in the back for some time now. Only today did I find the time to play with the app again and copy a crash dump. How I'd do this in Xcode or
Sorry for the delay. As this is a pet project it had to stay in the back for some time now. Only today did I find the time to play with the app again and copy a crash dump. How I'd do this in Xcode or
|
By
Markus Ruggiero
·
#1099
·
|
|
Re: iOS keyboard extension
I don’t have experience with keyboard extensions, but with some other types. I have *not* being successful in stepping through extension code, because (apparently) the system doesn’t know that the
I don’t have experience with keyboard extensions, but with some other types. I have *not* being successful in stepping through extension code, because (apparently) the system doesn’t know that the
|
By
Quincey Morris
·
#1098
·
|
|
[Slightly OT] Cocoa developer job ad
Hi all,
I run a software company in the UK and we're looking to hire some full-time Mac software developers to join our growing team in Edinburgh, Scotland on a permanent basis. We'll be advertising
Hi all,
I run a software company in the UK and we're looking to hire some full-time Mac software developers to join our growing team in Edinburgh, Scotland on a permanent basis. We'll be advertising
|
By
Mark Allan
·
#1097
·
|
|
iOS keyboard extension
Anybody else have problems with developing iOS keyboard extensions not working? I've barely added any code except a Next Keyboard button, figured out how to attach Xcode to the keyboard target after
Anybody else have problems with developing iOS keyboard extensions not working? I've barely added any code except a Next Keyboard button, figured out how to attach Xcode to the keyboard target after
|
By
Steve Mills
·
#1096
·
|
|
Re: Open panel not opening in Catalina
And further, if I remove the __weak qualifier, it works without a breakpoint...
OK, this code is from years ago, and I no longer know why the reference to the open panel had to be weak. It is used
And further, if I remove the __weak qualifier, it works without a breakpoint...
OK, this code is from years ago, and I no longer know why the reference to the open panel had to be weak. It is used
|
By
John Brownie
·
#1095
·
|
|
Re: Open panel not opening in Catalina
Why are you declaring this __weak? That means the open panel is subject to *immediate* deallocation, which sounds exactly like the symptoms you’re seeing.
Why are you declaring this __weak? That means the open panel is subject to *immediate* deallocation, which sounds exactly like the symptoms you’re seeing.
|
By
Quincey Morris
·
#1094
·
|
|
Re: Open panel not opening in Catalina
A little more investigation reveals that it seems that the key thing is actually setting a breakpoint and stepping over the line:
__weak NSOpenPanel *openPanel = [NSOpenPanel openPanel];
in the
A little more investigation reveals that it seems that the key thing is actually setting a breakpoint and stepping over the line:
__weak NSOpenPanel *openPanel = [NSOpenPanel openPanel];
in the
|
By
John Brownie
·
#1093
·
|
|
Open panel not opening in Catalina
I have a weird situation where I show an open panel via beginSheetModalForWindow:completionHandler:. The problem is that it works OK with Mojave (and before, I assume), but it doesn't work in Catalina
I have a weird situation where I show an open panel via beginSheetModalForWindow:completionHandler:. The problem is that it works OK with Mojave (and before, I assume), but it doesn't work in Catalina
|
By
John Brownie
·
#1092
·
|
|
Re: Weird crash with Mojave, no crash on High Sierra
On Sat, 9 Nov 2019 14:37:55 +0100, Markus Ruggiero said:
Have you tried various debug tools like guard malloc, address sanitizer and thread sanitizer?
Sean
On Sat, 9 Nov 2019 14:37:55 +0100, Markus Ruggiero said:
Have you tried various debug tools like guard malloc, address sanitizer and thread sanitizer?
Sean
|
By
Sean McBride
·
#1091
·
|
|
Re: Weird crash with Mojave, no crash on High Sierra
Stack trace of the crash?
Stack trace of the crash?
|
By
Steve Christensen <punster@...>
·
#1090
·
|
|
Re: Weird crash with Mojave, no crash on High Sierra
Thanks, tried it but did not help. The box was checked, tried both ways, same crash.
Thanks, tried it but did not help. The box was checked, tried both ways, same crash.
|
By
Markus Ruggiero
·
#1089
·
|
|
Re: Weird crash with Mojave, no crash on High Sierra
Sounds like you have ‘Release When Closed’ checked in you XIB/NIB for the window. Try unchecking it.
Click the XIB/NIB in your project navigator and hi-light the window in question in the tree
Sounds like you have ‘Release When Closed’ checked in you XIB/NIB for the window. Try unchecking it.
Click the XIB/NIB in your project navigator and hi-light the window in question in the tree
|
By
Sandor Szatmari
·
#1088
·
|
|
Weird crash with Mojave, no crash on High Sierra
Way back when I dabbled around with ObjC (that was in 2002!) I created a small app that shows images from disk. About a year ago I upgraded this app to 64bit and ARC. This went well after a bit of
Way back when I dabbled around with ObjC (that was in 2002!) I created a small app that shows images from disk. About a year ago I upgraded this app to 64bit and ARC. This went well after a bit of
|
By
Markus Ruggiero
·
#1087
·
|
|
Re: Mysterious build warning with .xib file
I played with this a bit more. It turns out that the bug is “transient”, in the sense that if you quit Xcode and relaunch, it picks up the correct deployment target.
I played with this a bit more. It turns out that the bug is “transient”, in the sense that if you quit Xcode and relaunch, it picks up the correct deployment target.
|
By
Quincey Morris
·
#1086
·
|
|
Re: 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
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
|
By
Jon Gotow
·
#1085
·
|