|
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
·
|
|
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: 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
·
|
|
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: 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
·
|
|
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
·
|
|
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
·
|
|
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
·
|
|
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
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: 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: 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: 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: 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
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
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: WindowController
This is — in some sense — impossible. There is a window. (You can see it.) Either the debugger is lying to you, or the window is unrelated to the window controller. Whichever it is, it’s worth
This is — in some sense — impossible. There is a window. (You can see it.) Either the debugger is lying to you, or the window is unrelated to the window controller. Whichever it is, it’s worth
|
By
Quincey Morris
·
#80
·
|
|
Re: WindowController
It never has. Even after the first time where showWindow will succeed.
Kind regards,
Gerriet.
It never has. Even after the first time where showWindow will succeed.
Kind regards,
Gerriet.
|
By
Gerriet M. Denkmann
·
#79
·
|
|
Re: WindowController
I would suggest that you look in the debugger at whether the window controller *has* a window the second time around. (Note that the “window” property automatically loads the window if necessary,
I would suggest that you look in the debugger at whether the window controller *has* a window the second time around. (Note that the “window” property automatically loads the window if necessary,
|
By
Quincey Morris
·
#78
·
|
|
Localised Windows
I have two apps: one in Objective-C, the other one in Swift.
Both have:
PrefWindow.xib
PrefWindow.xib (Base)
PrefWindow.strings (German)
…
The problem is:
1. The Objective-C version just
I have two apps: one in Objective-C, the other one in Swift.
Both have:
PrefWindow.xib
PrefWindow.xib (Base)
PrefWindow.strings (German)
…
The problem is:
1. The Objective-C version just
|
By
Gerriet M. Denkmann
·
#77
·
|