|
LInker errors where there were none before 8 messages
Hi all, I’m suddenly running into some linker errors against AudioToolbox on a project after upgrading Xcode and installing High Sierra (not sure which of these did it). Undefined symbols for architec
Hi all, I’m suddenly running into some linker errors against AudioToolbox on a project after upgrading Xcode and installing High Sierra (not sure which of these did it). Undefined symbols for architec
|
By
Graham Cox
·
|
|
Objective-C: What is the current preferred method of declaring constants without a .pch? 9 messages
I’ve read the Apple docs and looked around and can’t find definitive sources on what the preferred method is and how to do it. Do we use modules? If so, how? I understand that a .pch is now a “bad ide
I’ve read the Apple docs and looked around and can’t find definitive sources on what the preferred method is and how to do it. Do we use modules? If so, how? I understand that a .pch is now a “bad ide
|
By
Alex Zavatone
·
|
|
Sandboxed WkWebView 15 messages
macOS 12.6 When I start my sandboxed app, I get lots of messages like: “could not create “/Volumes/à¹à¸¡à¹à¸/Users/gerriet/Library/Containers/….”." Of course there is no disk-partition called “à¹à
macOS 12.6 When I start my sandboxed app, I get lots of messages like: “could not create “/Volumes/à¹à¸¡à¹à¸/Users/gerriet/Library/Containers/….”." Of course there is no disk-partition called “à¹à
|
By
Gerriet M. Denkmann
·
|
|
iOS automatic build number incrementing. 2 messages
Earlier today, I finally added this to my latest app in a way that doesn’t constantly dirty the info.plist file. I’ve been trying it out for the day and it seems to handle the initial need. I’ve writt
Earlier today, I finally added this to my latest app in a way that doesn’t constantly dirty the info.plist file. I’ve been trying it out for the day and it seems to handle the initial need. I’ve writt
|
By
Alex Zavatone
·
|
|
[XCode] Developer ID code signing - still exists? 8 messages
Hi all, Run into another code signing issue. I distribute an app outside the App Store, so I use a Developer ID to sign it. Suddenly, the option to do this disappeared from XCode. When I attempt it, I
Hi all, Run into another code signing issue. I distribute an app outside the App Store, so I use a Developer ID to sign it. Suddenly, the option to do this disappeared from XCode. When I attempt it, I
|
By
Graham Cox
·
|
|
Schemes in WKWebView
iOS 11. I created MySchemeHandler, which implements the WKURLSchemeHandler protocol; methods just do NSLog(). NSString *myScheme = @"myScheme"; [wkWebView.configuration setURLSchemeHandler: mySchemeHa
iOS 11. I created MySchemeHandler, which implements the WKURLSchemeHandler protocol; methods just do NSLog(). NSString *myScheme = @"myScheme"; [wkWebView.configuration setURLSchemeHandler: mySchemeHa
|
By
Gerriet M. Denkmann
·
|
|
WKWebView does not load images 8 messages
[ wkWebView loadHTMLString: htmlString baseURL: nil ]; htmlString contains: …<img alt=“alternate” src=“/path/to/myImage.gif” /> …. WKWebView just shows a rectangle containing: “alternate”. WebView sho
[ wkWebView loadHTMLString: htmlString baseURL: nil ]; htmlString contains: …<img alt=“alternate” src=“/path/to/myImage.gif” /> …. WKWebView just shows a rectangle containing: “alternate”. WebView sho
|
By
Gerriet M. Denkmann
·
|
|
WKWebView 4 messages
The documentation says: “In apps that run in macOS 10 and later, use the WKWebView class instead of using WebView.” “In apps that run in iOS 8 and later, use the WKWebView class instead of using UIWeb
The documentation says: “In apps that run in macOS 10 and later, use the WKWebView class instead of using WebView.” “In apps that run in iOS 8 and later, use the WKWebView class instead of using UIWeb
|
By
Gerriet M. Denkmann
·
|
|
Using Storyboard References as objects
I would like to build an object similar to a IB "Container View", but which stores a list of contained views and can transition from one to another. Ideally, the view would contain an outlet collectio
I would like to build an object similar to a IB "Container View", but which stores a list of contained views and can transition from one to another. Ideally, the view would contain an outlet collectio
|
By
Rick Aurbach
·
|
|
Bugreporter ? 3 messages
Logging in to: https://bugreport.apple.com I get a page “Bug Reporter” which does *not* lists my bugs, but just contains one line: “Apple Developer Program Support.”, which is a link to: https://devel
Logging in to: https://bugreport.apple.com I get a page “Bug Reporter” which does *not* lists my bugs, but just contains one line: “Apple Developer Program Support.”, which is a link to: https://devel
|
By
Gerriet M. Denkmann
·
|
|
a mouse event problem on macOS 6 messages
In response to a mouse-down event, I want to display an overlay
window and have a view in that window process mouseDragged
messages. However, it does not get any mouseDragged messages,
In response to a mouse-down event, I want to display an overlay
window and have a view in that window process mouseDragged
messages. However, it does not get any mouseDragged messages,
|
By
James Walker
·
|
|
NSTextContainer exclusionPaths not working on iOS
I'm trying to use exclusionPaths for the first time and am not having any success. For now, I'm just creating the stuff on the fly in my drawLayer:inContext: method:. The string draws, but doesn't exc
I'm trying to use exclusionPaths for the first time and am not having any success. For now, I'm just creating the stuff on the fly in my drawLayer:inContext: method:. The string draws, but doesn't exc
|
By
Steve Mills
·
|
|
qsort_b in Swift 6 messages
I have an array:
var sortedArray = [UInt32]()
for _ in 0 ..< limit { sortedArray.append( arc4random() ) }
sortedArray.sort()
This works fine.
I would like to compare the efficiency of “sort
I have an array:
var sortedArray = [UInt32]()
for _ in 0 ..< limit { sortedArray.append( arc4random() ) }
sortedArray.sort()
This works fine.
I would like to compare the efficiency of “sort
|
By
Gerriet M. Denkmann
·
|
|
Problem deriving custom object from UIScrollView
macOS 10.12.6 / Xcode 8.3ß6 / Swift 4 / developing for iOS
I am working on a custom object which derives from UIScrollView (at least for now...see below). For initial testing, I am placing it on a vie
macOS 10.12.6 / Xcode 8.3ß6 / Swift 4 / developing for iOS
I am working on a custom object which derives from UIScrollView (at least for now...see below). For initial testing, I am placing it on a vie
|
By
Rick Aurbach
·
|
|
NSAllowsArbitraryLoads 4 messages
Great list,
Provided the App Store review allowed it, would having a Preference that adds and sets the info.plist NSAppTransportSecurity/NSAllowsArbitraryLoads to true break my App Store App?
cheers
B
Great list,
Provided the App Store review allowed it, would having a Preference that adds and sets the info.plist NSAppTransportSecurity/NSAllowsArbitraryLoads to true break my App Store App?
cheers
B
|
By
Bill Pitcher
·
|
|
isFlipped?? 3 messages
Hi,
I’m trying to find some docs on isFlipped. When I search for it in the XCode docs, it only brings up a reference in NSImage and that’s deprecated.
I’m overriding this on some Classes on the
Hi,
I’m trying to find some docs on isFlipped. When I search for it in the XCode docs, it only brings up a reference in NSImage and that’s deprecated.
I’m overriding this on some Classes on the
|
By
Dave
·
|
|
Difference between NSPoint, NSSize, NSRect and the CG Versions 10 messages
Hi,
Is there any real difference between NSPoint, NSRect, NSSize etc. and the CG versions?
I can use the CG Versions on Mac and iOS but the NS versions only on Mac.
If I only used the CG vers
Hi,
Is there any real difference between NSPoint, NSRect, NSSize etc. and the CG versions?
I can use the CG Versions on Mac and iOS but the NS versions only on Mac.
If I only used the CG vers
|
By
Dave
·
|
|
Getting class when instantiating a singleton 12 messages
I did this a few years ago but can’t find my sample and figured I’d ask the brain trust here.
In iOS, when I’m making an Objective-C singleton, in the public method that returns the instanceType, we n
I did this a few years ago but can’t find my sample and figured I’d ask the brain trust here.
In iOS, when I’m making an Objective-C singleton, in the public method that returns the instanceType, we n
|
By
Alex Zavatone
·
|
|
How to Translate iOS UIView Point to Mac NSView 4 messages
Hi,
I’m converting some Manual Layout code from iOS to Mac.
I’m overriding “layout” in my class, it calculates and sets the Frame Rect for all its subviews. This works ok on Mac, except, as expe
Hi,
I’m converting some Manual Layout code from iOS to Mac.
I’m overriding “layout” in my class, it calculates and sets the Frame Rect for all its subviews. This works ok on Mac, except, as expe
|
By
Dave
·
|
|
Preprocessor Deployment Target 2 messages
I need something like:
#if MACOSX_DEPLOYMENT_TARGET < 10.11 ← this of course does not work
… some code, which is only needed in this case …
#endif
Is this possible?
Gerriet.
I need something like:
#if MACOSX_DEPLOYMENT_TARGET < 10.11 ← this of course does not work
… some code, which is only needed in this case …
#endif
Is this possible?
Gerriet.
|
By
Gerriet M. Denkmann
·
|