|
Re: WindowController
if ( self.prefController == nil )
{
self.prefController = [ [ NSWindowController alloc ] initWithWindowNibName: @"PrefWindow" ];
NSLog(@"%s prefController %@",__FUNCTION__,
if ( self.prefController == nil )
{
self.prefController = [ [ NSWindowController alloc ] initWithWindowNibName: @"PrefWindow" ];
NSLog(@"%s prefController %@",__FUNCTION__,
|
By
Gerriet M. Denkmann
·
#81
·
|
|
Re: Localised Windows
Did you check to see that the German localization of your strings is included in both targets? If you open both of the app bundles do you see de.lproj folder > PrefVWindow.strings in both?
Did you check to see that the German localization of your strings is included in both targets? If you open both of the app bundles do you see de.lproj folder > PrefVWindow.strings in both?
|
By
Steve Christensen
·
#82
·
|
|
Re: WindowController
Is the 'window' outlet of the XIB file's owner set to point to the window in the XIB? It doesn't sound like it.
- Jon
Is the 'window' outlet of the XIB file's owner set to point to the window in the XIB? It doesn't sound like it.
- Jon
|
By
Jon Gotow
·
#83
·
|
|
Re: Localised Windows
Both have: app → Content → Resources → de.lproj → PrefWindow.strings
Both have: app → Content → Resources → de.lproj → PrefWindow.strings
|
By
Gerriet M. Denkmann
·
#84
·
|
|
Re: iOS - Debugging an uncooperative UIAlertController
Getting a little closer on this one.
Apparently the UILabels within the UIActionViews have the appropriate text, but the UILabel and the UILabel’s tint colors are 0 or close to it and the font
Getting a little closer on this one.
Apparently the UILabels within the UIActionViews have the appropriate text, but the UILabel and the UILabel’s tint colors are 0 or close to it and the font
|
By
Alex Zavatone
·
#85
·
|
|
Re: WindowController
Indeed it was not. After connecting it as it should have been, now all works perfectly as expected.
Thanks a lot for this brilliant idea!
This brings up another question:
I seem to remember that once
Indeed it was not. After connecting it as it should have been, now all works perfectly as expected.
Thanks a lot for this brilliant idea!
This brings up another question:
I seem to remember that once
|
By
Gerriet M. Denkmann
·
#86
·
|
|
Re: WindowController
Glad that fixed it!
When you create a new source file for a class that's derived from NSWindowController, Xcode will offer to make the class files as well as a XIB file (all wired up) for you.
Glad that fixed it!
When you create a new source file for a class that's derived from NSWindowController, Xcode will offer to make the class files as well as a XIB file (all wired up) for you.
|
By
Jon Gotow
·
#87
·
|
|
Re: Localised Windows
The Objective-C version localises my PrefWindow if I *not* use a WindowController, but instead:
if ( self.window == nil )
{
NSArray *temp;
[ NSBundle.mainBundle loadNibNamed: @"PrefWindow"
The Objective-C version localises my PrefWindow if I *not* use a WindowController, but instead:
if ( self.window == nil )
{
NSArray *temp;
[ NSBundle.mainBundle loadNibNamed: @"PrefWindow"
|
By
Gerriet M. Denkmann
·
#88
·
|
|
Re: WindowController
Which probably does a close which is not what you want. Assuming that your window controller is your window delegate (I think that is set up automagically) you want to add a method to your
Which probably does a close which is not what you want. Assuming that your window controller is your window delegate (I think that is set up automagically) you want to add a method to your
|
By
Marco S Hyman
·
#89
·
|
|
Drawer window error
On Sierra, I’m getting the following posted when I open a window that hosts a drawer:
2017-07-18 10:06:31.546972+1000 Ortelius 2[10080:3577648] [General] ERROR: Setting <NSOutlineView: 0x10182d140>
On Sierra, I’m getting the following posted when I open a window that hosts a drawer:
2017-07-18 10:06:31.546972+1000 Ortelius 2[10080:3577648] [General] ERROR: Setting <NSOutlineView: 0x10182d140>
|
By
Graham Cox
·
#90
·
|
|
Trying to make Arc happy
I just switched on: Implicit ownership types on out parameters = CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE
and now I get complaints about stuff like:
- (BOOL)isNiceAndHas: (NSArray **)friends;
Method
I just switched on: Implicit ownership types on out parameters = CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE
and now I get complaints about stuff like:
- (BOOL)isNiceAndHas: (NSArray **)friends;
Method
|
By
Gerriet M. Denkmann
·
#91
·
|
|
Re: Drawer window error
If you Google this enough, you'll find several threads reporting this error message in macOS Sierra 10.12 over the last year or so, including one from me. The conclusion of the discussion, including
If you Google this enough, you'll find several threads reporting this error message in macOS Sierra 10.12 over the last year or so, including one from me. The conclusion of the discussion, including
|
By
Bill Cheeseman
·
#92
·
|
|
Re: Game Center Multi-Player Question
Hi,
Thanks for the advice.
I’m not quite sure how I would go about implementing the AI’s though, this is a turn based board game and as far as I can see, only “Real” players get a Move, so
If
Hi,
Thanks for the advice.
I’m not quite sure how I would go about implementing the AI’s though, this is a turn based board game and as far as I can see, only “Real” players get a Move, so
If
|
By
Dave
·
#93
·
|
|
Re: Game Center Multi-Player Question
I’m wondering if " anonymousGuestPlayerWithIdentifier:” might work for what I want to do, but I can’t seem to find much information about it.
Has anyone used this feature?
All the Best
Dave
I’m wondering if " anonymousGuestPlayerWithIdentifier:” might work for what I want to do, but I can’t seem to find much information about it.
Has anyone used this feature?
All the Best
Dave
|
By
Dave
·
#94
·
|
|
GKSession - More Game Center Question
Hi All,
I have a Question about GKSession and about turn based games in GC in general.
Firstly, do I *need* to use GKSession in order to create a Turn Based Game? If so, then it looks like I will
Hi All,
I have a Question about GKSession and about turn based games in GC in general.
Firstly, do I *need* to use GKSession in order to create a Turn Based Game? If so, then it looks like I will
|
By
Dave
·
#95
·
|
|
Re: GKSession - More Game Center Question
HI,
I said GKSession in my last post, I was looking at “GKTurnBasedEventListener” and I’m wondering if I can use “GKTurnBasedMatch” without having to worry about “GKSession” and/or the
HI,
I said GKSession in my last post, I was looking at “GKTurnBasedEventListener” and I’m wondering if I can use “GKTurnBasedMatch” without having to worry about “GKSession” and/or the
|
By
Dave
·
#96
·
|
|
How to Log Off from Game Center using the Simulator?
Hi All,
Using the Simulator, how can I log off from Game Centre? I’ve logged on ok once, but now I want to test it again from not being logged in.
Thanks a lot
Dave
Hi All,
Using the Simulator, how can I log off from Game Centre? I’ve logged on ok once, but now I want to test it again from not being logged in.
Thanks a lot
Dave
|
By
Dave
·
#97
·
|
|
Re: Trying to make Arc happy
I think you resolve this by changing it to the form shown in the error messages, i.e.
- (BOOL)isNiceAndHas: (NSArray *__autoreleasing *)friends;
—Jens
I think you resolve this by changing it to the form shown in the error messages, i.e.
- (BOOL)isNiceAndHas: (NSArray *__autoreleasing *)friends;
—Jens
|
By
Jens Alfke
·
#98
·
|
|
To do list need help adding row to table view from a bar button item.
Hi,
So my to-do list is almost done, and I have one problem, I imbedded my
table view controller in a navigation controller and all is well, until
I try to add a row to the table view, o we have a
Hi,
So my to-do list is almost done, and I have one problem, I imbedded my
table view controller in a navigation controller and all is well, until
I try to add a row to the table view, o we have a
|
By
Taylor Arndt
·
#99
·
|
|
Game Center loadPlayersForIdentifiers deprecated - How to fix?
Hi,
I’m getting a warning on this method:
[GKPlayer loadPlayersForIdentifiers:theMatch.playerIDs withCompletionHandler:^(NSArray* thePlayerArray,NSError* theErrorInfo)
It says to replace it with
Hi,
I’m getting a warning on this method:
[GKPlayer loadPlayersForIdentifiers:theMatch.playerIDs withCompletionHandler:^(NSArray* thePlayerArray,NSError* theErrorInfo)
It says to replace it with
|
By
Dave
·
#100
·
|