|
Re: Auto layout help
Further digging leaves me more confused. Because I'm supporting 10.9, there are various features I can't use, so I'm stuck with the auto layout basics, and it's hard to find a good explanation of how
Further digging leaves me more confused. Because I'm supporting 10.9, there are various features I can't use, so I'm stuck with the auto layout basics, and it's hard to find a good explanation of how
|
By
John Brownie
·
#1187
·
|
|
Auto layout help
I have my web view displaying correctly, but I've run into a problem in getting the auto layout constraints working correctly. Basically, I build the appropriate web view as a subview of a custom
I have my web view displaying correctly, but I've run into a problem in getting the auto layout constraints working correctly. Basically, I build the appropriate web view as a subview of a custom
|
By
John Brownie
·
#1186
·
|
|
Re: How to present a web view while supporting 10.9?
Thanks for all the tips. I have it all worked out now.
John
Jens Alfke wrote on 7/2/20 21:39:
--
John Brownie
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland
Thanks for all the tips. I have it all worked out now.
John
Jens Alfke wrote on 7/2/20 21:39:
--
John Brownie
Mussau-Emira language, New Ireland Province, Papua New Guinea
Kouvola, Finland
|
By
John Brownie
·
#1185
·
|
|
Re: How to present a web view while supporting 10.9?
You'll need two code paths, one that instantiates and runs a WebView, the other that instantiates and runs a WKWebView. Their APIs and functionality are not identical, so it's not just a question of
You'll need two code paths, one that instantiates and runs a WebView, the other that instantiates and runs a WKWebView. Their APIs and functionality are not identical, so it's not just a question of
|
By
Jens Alfke
·
#1184
·
|
|
Re: How to present a web view while supporting 10.9?
Yes I could have been more specific, everything worked, all be it with warnings, with both classes of web views being instantiated in code.
Sandor
Yes I could have been more specific, everything worked, all be it with warnings, with both classes of web views being instantiated in code.
Sandor
|
By
Sandor Szatmari
·
#1183
·
|
|
Re: ***UNCHECKED*** Re: [cocoa-dev] How to present a web view while supporting 10.9?
Yes. Prior to 10.12, WKWebView was not available in Interface Builder and could only be instantiated in code.
-Owen
Yes. Prior to 10.12, WKWebView was not available in Interface Builder and could only be instantiated in code.
-Owen
|
By
Owen Hartnett
·
#1182
·
|
|
Re: How to present a web view while supporting 10.9?
I should note that, once I put the WKWebView into the window, there is an error that I hadn't noticed before:
error: Class Unavailable: WKWebView before macOS 10.12 (NSCoding support was broken in
I should note that, once I put the WKWebView into the window, there is an error that I hadn't noticed before:
error: Class Unavailable: WKWebView before macOS 10.12 (NSCoding support was broken in
|
By
John Brownie
·
#1181
·
|
|
Re: How to present a web view while supporting 10.9?
Thanks for the reply.
Sandor Szatmari wrote on 6/2/20 20:51:
I'm still on 10.14.6, Xcode 11.0, current SDK, which I assume is 10.14 (I can't see an option to choose anything but a platform in the SDK
Thanks for the reply.
Sandor Szatmari wrote on 6/2/20 20:51:
I'm still on 10.14.6, Xcode 11.0, current SDK, which I assume is 10.14 (I can't see an option to choose anything but a platform in the SDK
|
By
John Brownie
·
#1180
·
|
|
Re: How to present a web view while supporting 10.9?
What SDK are you building against?
I assuming deployment target of 10.9 and not earlier…
What is the exact problem your having? Is it just warnings, or are there compile/link/runtime errors…
I
What SDK are you building against?
I assuming deployment target of 10.9 and not earlier…
What is the exact problem your having? Is it just warnings, or are there compile/link/runtime errors…
I
|
By
Sandor Szatmari
·
#1179
·
|
|
Is it necessary to suspend/resume a dispatch queue/source on sleep/wake notifications?
Does anyone know if it is necessary to dispatch_suspend/resume a queue or source when sleep/wake notifications triggered in a macOS app?
I've read the docs and done some searching but couldn't find
Does anyone know if it is necessary to dispatch_suspend/resume a queue or source when sleep/wake notifications triggered in a macOS app?
I've read the docs and done some searching but couldn't find
|
By
Matt DeFoor
·
#1178
·
|
|
How to present a web view while supporting 10.9?
My app currently supports 10.9, and I want to add a feature that displays an HTML document stored locally (in the bundle). The obvious way is to have a window which contains a web view. However,
My app currently supports 10.9, and I want to add a feature that displays an HTML document stored locally (in the bundle). The obvious way is to have a window which contains a web view. However,
|
By
John Brownie
·
#1177
·
|
|
Re: Setting accessibility text for a table cell view
I found my stupid error, that I should be calling -setAccessibilityValueDescription:, rather than -setAccessibilityValue: or -setAccessibilityTitle:. A case of reading what I initially found more
I found my stupid error, that I should be calling -setAccessibilityValueDescription:, rather than -setAccessibilityValue: or -setAccessibilityTitle:. A case of reading what I initially found more
|
By
John Brownie
·
#1176
·
|
|
Re: Setting accessibility text for a table cell view
Nobody?
I've been playing around with the Accessibility Inspector, and it seems that there are both Title and Value which get read out. I don't seem to be able to set the value, though, as it is being
Nobody?
I've been playing around with the Accessibility Inspector, and it seems that there are both Title and Value which get read out. I don't seem to be able to set the value, though, as it is being
|
By
John Brownie
·
#1175
·
|
|
XCTests and test start and stop events.
Last week I got the XCTest details sorted out and ended up with an observer class that ends up quite like the iOS AppDelegate does for app start and stop events but for test bundle events.
The big
Last week I got the XCTest details sorted out and ended up with an observer class that ends up quite like the iOS AppDelegate does for app start and stop events but for test bundle events.
The big
|
By
Alex Zavatone
·
#1174
·
|
|
Setting accessibility text for a table cell view
I'm new at accessibility, and have recently been supporting a blind user. One of the tables in my conveys information in shorthand by using colours and styles, which don't come across with VoiceOver.
I'm new at accessibility, and have recently been supporting a blind user. One of the tables in my conveys information in shorthand by using colours and styles, which don't come across with VoiceOver.
|
By
John Brownie
·
#1173
·
|
|
Re: Weird Error Message
Google finds this (https://github.com/processing/processing/issues/5655):
Is it possible that you have two instances of your app running and they both are somehow required write access to a globally
Google finds this (https://github.com/processing/processing/issues/5655):
Is it possible that you have two instances of your app running and they both are somehow required write access to a globally
|
By
Bernie Maier
·
#1172
·
|
|
Weird Error Message
Hi All,
I’m getting this message in the XCode log whenever I run my App:
2020-01-18 11:19:15.773124+0100 SudokuSolverForMac[27373:7517021] flock failed to lock maps file: errno = 35
Should I be
Hi All,
I’m getting this message in the XCode log whenever I run my App:
2020-01-18 11:19:15.773124+0100 SudokuSolverForMac[27373:7517021] flock failed to lock maps file: errno = 35
Should I be
|
By
Dave
·
#1171
·
|
|
NSPrincipalClass in info.plist on iOS
Has anyone successfully gotten this to work to indicate which class to load on target startup? I am using an XCTest target and Apple’s docs for XCTestObservationCenter state that the info.plist
Has anyone successfully gotten this to work to indicate which class to load on target startup? I am using an XCTest target and Apple’s docs for XCTestObservationCenter state that the info.plist
|
By
Alex Zavatone
·
#1170
·
|
|
Re: Properties being set to nil?
If the address is different it is another instance.
If the address is different it is another instance.
|
By
Alex Zavatone
·
#1169
·
|
|
Re: Properties being set to nil?
Hi Jon,
Thanks a lot!
I was just about coming to the same conclusion and was trying to figure out how to get the ViewController from the Window and then your message arrived.
That fixed it! All
Hi Jon,
Thanks a lot!
I was just about coming to the same conclusion and was trying to figure out how to get the ViewController from the Window and then your message arrived.
That fixed it! All
|
By
Dave
·
#1168
·
|