What do I need to do to fix this error: Instance method ‘applicationShouldTerminate’ nearly matches optional requirement ‘applicationShouldTerminate’ of protocol ‘NSApplicationDelegate’   This error occurs in AppDelegate.swift, and I need help in resolving it, please.   Thanks, Terry Powered by WPeMatico

Hi,   we are using  j2objc and a bug in the swift compiler creates many problems/crashes for us corrently. This bug is already fixed some time ago (https://bugs.swift.org/browse/SR-7130) (Thank you for this!) And we also tested with a current development swift toolchain which solved the…

extension Sequence where Element: Hashable { //extension on sequence where element conforms to hashable protocol     var frequencies: [Element: Int] { //dictionary of key element and value int         return Dictionary(self.map{ ($0, 1)}, uniquingKeysWith: +) //creates new dictionary for key-value pairs in sequence and increments…

I may be missing something here but I can’t find any documentation / sample code of how to work with PDFKit Widgets.   I’ve downloaded the ‘PDFAnnotationWidgetsAdvanced’ project’ which very nicely shows how to add widgets to a PDF. Fine. But I can’t find information…