|
How to Initial Views using Manual Layout?
XCode 11 Mac Hi, I have the following view hierarchy in a Storyboard file Window->RootView-BottomView->BoardView->CellView1 Window->RootView-BottomView->BoardView->CellView2 Window->RootView-BottomVie
XCode 11 Mac Hi, I have the following view hierarchy in a Storyboard file Window->RootView-BottomView->BoardView->CellView1 Window->RootView-BottomView->BoardView->CellView2 Window->RootView-BottomVie
|
By Dave
·
|
|
Silencing deprecation warnings in Swift
I’m in the process of porting some Obj-C code to Swift. Several Core Data entity properties are marked as deprecated for general use but, at least in several migration methods, they still need to be a
I’m in the process of porting some Obj-C code to Swift. Several Core Data entity properties are marked as deprecated for general use but, at least in several migration methods, they still need to be a
|
By Steve Christensen
·
|
|
Specializing NSPredicateEditor
Can anyone think of a way to subclass NSPredicateEditor so a shift-click in the + button will cause the same template as the clicked row to be inserted instead of the next unused template? If there ar
Can anyone think of a way to subclass NSPredicateEditor so a shift-click in the + button will cause the same template as the clicked row to be inserted instead of the next unused template? If there ar
|
By Steve Mills
·
|
|
Where is my crash log?
Console.app told me: default 22:57:28.157905+0700 ReportCrash Saved crash report for chronyd[15863] version 0 to chronyd_2019-12-14-225728_Spinat.crash But I cannot find this. Where should I look? Ger
Console.app told me: default 22:57:28.157905+0700 ReportCrash Saved crash report for chronyd[15863] version 0 to chronyd_2019-12-14-225728_Spinat.crash But I cannot find this. Where should I look? Ger
|
By Gerriet M. Denkmann
·
|
|
Drag & Drop, a lifelong curse 6 messages
OK, so after "modernizing" my app to add multiple drag items (flavor NSPasteboardTypeFileURL) to the drag clipboard instead of just one with multiple flavors (NSFilenamesPboardType and NSURLPboardType
OK, so after "modernizing" my app to add multiple drag items (flavor NSPasteboardTypeFileURL) to the drag clipboard instead of just one with multiple flavors (NSFilenamesPboardType and NSURLPboardType
|
By Steve Mills
·
|
|
How to return data for NXSMLParserDelegate's -parser:resolveExternalEntityName:systemID: 6 messages
What is the expected value of the returned NSData supposed to be for this method? The docs says "An NSData object that contains the resolution of the given external entity." To me, that means that for
What is the expected value of the returned NSData supposed to be for this method? The docs says "An NSData object that contains the resolution of the given external entity." To me, that means that for
|
By Steve Mills
·
|
|
Crash in Apple code, not mine - what can I do? 4 messages
A customer sent a crashlog that clearly shows Apple's code is what's crashing on 10.14.6. There's no way I can reproduce it. So what can I do? Just submit a bug to Apple with the crashlog (although it
A customer sent a crashlog that clearly shows Apple's code is what's crashing on 10.14.6. There's no way I can reproduce it. So what can I do? Just submit a bug to Apple with the crashlog (although it
|
By Steve Mills
·
|
|
Playing a sequence of notes with AVAudioSourceNode
Is it possible to set up an AVAudioEngine and friends so I could feed it a sequence of MIDI notes and have it play that sequence, using an AVAudioSourceNode as the sound source? The AVAudioSourceNode
Is it possible to set up an AVAudioEngine and friends so I could feed it a sequence of MIDI notes and have it play that sequence, using an AVAudioSourceNode as the sound source? The AVAudioSourceNode
|
By Steve Mills
·
|
|
Parsing Javascript simply 5 messages
Hi all, I made an app that scrapes web pages looking for a specific tag - namely, the <video> tag to get the address of a video stream. If you display the page in e.g Safari, the video portion can be
Hi all, I made an app that scrapes web pages looking for a specific tag - namely, the <video> tag to get the address of a video stream. If you display the page in e.g Safari, the video portion can be
|
By Graham Cox
·
|
|
Advice on implementing a URL Text Field 2 messages
I am looking for some advice and/or suggestions on implementing an iOS text field with the following properties: The user can enter text into the field easily (via keyboard, pasting, etc). If the cont
I am looking for some advice and/or suggestions on implementing an iOS text field with the following properties: The user can enter text into the field easily (via keyboard, pasting, etc). If the cont
|
By Rick Aurbach
·
|
|
NSAttributedString + NSLayoutManager versus Core Text 5 messages
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 so
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 so
|
By Graham Cox
·
|
|
Weird crash with Mojave, no crash on High Sierra 9 messages
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 fla
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 fla
|
By Markus Ruggiero
·
|
|
Anyone know what this means?
Sometimes I get the following message logged when by app quits: *** _NSDocumentBasicAsyncOperation 0x600003e25a00 went isFinished=YES without being started by the queue it is in It seems to be somethi
Sometimes I get the following message logged when by app quits: *** _NSDocumentBasicAsyncOperation 0x600003e25a00 went isFinished=YES without being started by the queue it is in It seems to be somethi
|
By Graham Cox
·
|
|
iOS keyboard extension 2 messages
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 l
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 l
|
By Steve Mills
·
|
|
[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 f
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 f
|
By Mark Allan
·
|
|
Open panel not opening in Catalina 4 messages
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
·
|
|
Mysterious build warning with .xib file 5 messages
Can anyone explain this? I’m getting the following warning in my build: But when I look at the file info for that .xib file: And the deployment target in the target as a whole: Am I missing something?
Can anyone explain this? I’m getting the following warning in my build: But when I look at the file info for that .xib file: And the deployment target in the target as a whole: Am I missing something?
|
By Graham Cox
·
|
|
NSDraggingSession distorts the images I give it 7 messages
I’m modernising some old code that does drag and drop the old, simple and perfectly functional (but deprecated) way. The new way seems twice as complicated to me, but hey-ho. Anyway, I’m creating NSDr
I’m modernising some old code that does drag and drop the old, simple and perfectly functional (but deprecated) way. The new way seems twice as complicated to me, but hey-ho. Anyway, I’m creating NSDr
|
By Graham Cox
·
|
|
BGTaskScheduler blocks when build with Xcode 11.2
I have an iOS app (iOS 12.4+) which did work on iOS 12.4 … iOS 13.2 when build with Xcode 11.1. Now I have upgraded to Xcode 11.2 and the app no longer works on iOS 13.2 devices. When I do: BGTaskSche
I have an iOS app (iOS 12.4+) which did work on iOS 12.4 … iOS 13.2 when build with Xcode 11.1. Now I have upgraded to Xcode 11.2 and the app no longer works on iOS 13.2 devices. When I do: BGTaskSche
|
By Gerriet M. Denkmann
·
|
|
Puzzle with Hardened Runtime entitlement 15 messages
I have an app I’d like to notarize for distribution outside the app store. To do this, it requires the hardened runtime entitlement. I have added that in the project settings. When I try and submit th
I have an app I’d like to notarize for distribution outside the app store. To do this, it requires the hardened runtime entitlement. I have added that in the project settings. When I try and submit th
|
By Graham Cox
·
|