|
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
·
|
|
Re: Properties being set to nil?
Oh - there you go. Assuming that myGameWindowController is the parent window controller that manages myGameViewController, it will create an instance of your LTWMacGameViewController class when it
Oh - there you go. Assuming that myGameWindowController is the parent window controller that manages myGameViewController, it will create an instance of your LTWMacGameViewController class when it
|
By
Jon Gotow
·
#1167
·
|
|
Re: Properties being set to nil?
Looking at the log (and reformatting it a bit):
initWithCoder: <LTWMacGameViewController: 0x600003514370>
awakeFromNib: <LTWMacGameViewController: 0x600003514370>
viewDidLoad:
Looking at the log (and reformatting it a bit):
initWithCoder: <LTWMacGameViewController: 0x600003514370>
awakeFromNib: <LTWMacGameViewController: 0x600003514370>
viewDidLoad:
|
By
Dave
·
#1166
·
|
|
Re: Properties being set to nil?
Hi Jon,
I’m not sure what you mean? Do you mean an outlet to the LTWGameViewController in the StartupWindowController?
Here’s what I am doing:
In
Hi Jon,
I’m not sure what you mean? Do you mean an outlet to the LTWGameViewController in the StartupWindowController?
Here’s what I am doing:
In
|
By
Dave
·
#1165
·
|
|
Re: Properties being set to nil?
The fact that you've got two instances of your LTWGameViewController certainly sounds like a bug. It's difficult to tell without looking at your whole project, but my guess is that you've got one
The fact that you've got two instances of your LTWGameViewController certainly sounds like a bug. It's difficult to tell without looking at your whole project, but my guess is that you've got one
|
By
Jon Gotow
·
#1164
·
|
|
Re: Properties being set to nil?
Hi Sandor,
Yes, LTWGameViewController is a subclass of NSViewController and I set the Class in the Storyboard.
When I set a breakpoint in the Set Delegate method it shows the property set ok. Later
Hi Sandor,
Yes, LTWGameViewController is a subclass of NSViewController and I set the Class in the Storyboard.
When I set a breakpoint in the Set Delegate method it shows the property set ok. Later
|
By
Dave
·
#1163
·
|
|
Re: Properties being set to nil?
I’ve seen this happen if the view controller is instantiated in code and in the NIB (not sure about storyboards)
It gets hooked up correctly one time and things are nil in the other case. Are you
I’ve seen this happen if the view controller is instantiated in code and in the NIB (not sure about storyboards)
It gets hooked up correctly one time and things are nil in the other case. Are you
|
By
Sandor Szatmari
·
#1162
·
|
|
Re: Properties being set to nil?
Hi,
This is the only place the View Controller is instantiated. One thing I’ve notice is that if I set a breakpoint in ViewDidLoad and print self:
< LTWMacGameViewController: 0x600003500840>
and
Hi,
This is the only place the View Controller is instantiated. One thing I’ve notice is that if I set a breakpoint in ViewDidLoad and print self:
< LTWMacGameViewController: 0x600003500840>
and
|
By
Dave
·
#1161
·
|
|
Re: Properties being set to nil?
Any chance you're reloading your view controller (when starting a new game or whatever) and not subsequently setting the delegates again?
- Jon
Any chance you're reloading your view controller (when starting a new game or whatever) and not subsequently setting the delegates again?
- Jon
|
By
Jon Gotow
·
#1160
·
|
|
Properties being set to nil?
Hi All,
I have a View Controller that is Instantiated in code from a storyboard file:
myGameViewController = [myStoryboard instantiateControllerWithIdentifier:kLTWGameMainViewControllerID];
if
Hi All,
I have a View Controller that is Instantiated in code from a storyboard file:
myGameViewController = [myStoryboard instantiateControllerWithIdentifier:kLTWGameMainViewControllerID];
if
|
By
Dave
·
#1159
·
|
|
Re: Header Files
Great !
Peter
By
Peter Hudson
·
#1158
·
|
|
Re: Header Files
I usually type out the symbol I’m looking for and then right click and select jump to definition.
Sandor
I usually type out the symbol I’m looking for and then right click and select jump to definition.
Sandor
|
By
Sandor Szatmari
·
#1157
·
|