|
Re: Getting Started with Animations
Hi Again,
I’ve taken a look at Geek Game Board and I’m finding it a but hard to know where to start. I’ve developed my game to the point where the game engine sends messages to the Game View
Hi Again,
I’ve taken a look at Geek Game Board and I’m finding it a but hard to know where to start. I’ve developed my game to the point where the game engine sends messages to the Game View
|
By
Dave
·
#61
·
|
|
Re: Getting Started with Animations
It’s been years since I did much with CoreAnimation, but IIRC a layer is clipped to its parent layer, so if you want this to happen you need to make the view temporarily be a direct subview of your
It’s been years since I did much with CoreAnimation, but IIRC a layer is clipped to its parent layer, so if you want this to happen you need to make the view temporarily be a direct subview of your
|
By
Jens Alfke
·
#62
·
|
|
Apple Sample Code
Hi,
There used to a a web page that had a list of all the Apple Sample Apps, does anyone know if this still exists and if so, where?
I can’t seem to find it any more.
Thanks a lot
All the
Hi,
There used to a a web page that had a list of all the Apple Sample Apps, does anyone know if this still exists and if so, where?
I can’t seem to find it any more.
Thanks a lot
All the
|
By
Dave
·
#63
·
|
|
WindowController
This works:
- (void)showPreferences: (NSMenuItem *)sender;
{
(void)sender;
// if ( self.prefController == nil ) // this line should not be commented out
{
self.prefController = [ [
This works:
- (void)showPreferences: (NSMenuItem *)sender;
{
(void)sender;
// if ( self.prefController == nil ) // this line should not be commented out
{
self.prefController = [ [
|
By
Gerriet M. Denkmann
·
#64
·
|
|
Game Center Multi-Player Question
Hi All,
I’m developing a game and want to use Game Centre, the game is for 2 to 9 Human or AI players, by AI I mean that that program itself makes a move on behalf of one or more AI Players.
So,
Hi All,
I’m developing a game and want to use Game Centre, the game is for 2 to 9 Human or AI players, by AI I mean that that program itself makes a move on behalf of one or more AI Players.
So,
|
By
Dave
·
#65
·
|
|
Re: Apple Sample Code
Hi Dave,
Are you looking for this?
https://developer.apple.com/library/content/navigation/#section=Resource%20Types&topic=Sample%20Code
Nimesh
Hi Dave,
Are you looking for this?
https://developer.apple.com/library/content/navigation/#section=Resource%20Types&topic=Sample%20Code
Nimesh
|
By
nimeshneema@...
·
#66
·
|
|
Re: Apple Sample Code
Hi, Yes, thanks a lot! How did you navigate to it? I think it used to be built into XCode.
All the Best
Dave
Hi, Yes, thanks a lot! How did you navigate to it? I think it used to be built into XCode.
All the Best
Dave
|
By
Dave
·
#67
·
|
|
Re: Apple Sample Code
It does seem a bit more buried. I entered http://developer.apple.com/samplecode/ and it took me
It does seem a bit more buried. I entered http://developer.apple.com/samplecode/ and it took me
|
By
Gary L. Wade
·
#68
·
|
|
Re: Apple Sample Code
https://developer.apple.com/library/content/navigation/index.html#topic=Sample+Code§ion=Resource+Types
--
Bill Cheeseman - wjcheeseman@...
https://developer.apple.com/library/content/navigation/index.html#topic=Sample+Code§ion=Resource+Types
--
Bill Cheeseman - wjcheeseman@...
|
By
Bill Cheeseman
·
#69
·
|
|
Re: WindowController
Have you made sure the “release on close” checkbox isn’t set in IB?
(But do you really want the prefs controller to hang around when it’s closed? Seems like a waste of memory to me.)
—Jens
Have you made sure the “release on close” checkbox isn’t set in IB?
(But do you really want the prefs controller to hang around when it’s closed? Seems like a waste of memory to me.)
—Jens
|
By
Jens Alfke
·
#70
·
|
|
Re: WindowController
Is there a corresponding line of code that sets self.prefController to nil when the window is closed?
As I understand it, the property will only be set to nil if it is declared as weak, which is most
Is there a corresponding line of code that sets self.prefController to nil when the window is closed?
As I understand it, the property will only be set to nil if it is declared as weak, which is most
|
By
Jack Brindle
·
#71
·
|
|
iOS - Debugging an uncooperative UIAlertController
On certain iDevices, we have a UIAlertController that refuses to display the text of the only button, the OK button. This has been a problem for the past year and of course it only appears in the
On certain iDevices, we have a UIAlertController that refuses to display the text of the only button, the OK button. This has been a problem for the past year and of course it only appears in the
|
By
Alex Zavatone
·
#72
·
|
|
Re: WindowController
You haven’t really done “due diligence” with this problem description. What does “works” mean? That the window doesn’t reappear after it’s made to disappear?
When you call that action
You haven’t really done “due diligence” with this problem description. What does “works” mean? That the window doesn’t reappear after it’s made to disappear?
When you call that action
|
By
Quincey Morris
·
#73
·
|
|
Re: Game Center Multi-Player Question
That’s correct. Game Center doesn’t provide any kind of “server side” logic, which is how you’d naturally want to implement AI players.
The only thing you can do with a Game Center game
That’s correct. Game Center doesn’t provide any kind of “server side” logic, which is how you’d naturally want to implement AI players.
The only thing you can do with a Game Center game
|
By
Quincey Morris
·
#74
·
|
|
Re: Game Center Multi-Player Question
I would associate a small number of AI with each player.
This way, if a player quits, only a few AIs are killed.
--
__Pascal J. Bourguignon__
I would associate a small number of AI with each player.
This way, if a player quits, only a few AIs are killed.
--
__Pascal J. Bourguignon__
|
By
Pascal Bourguignon
·
#75
·
|
|
Re: WindowController
“Works” means that showWindow does indeed show a window.
Yes. After the red button got clicked on the PrefWindow, it never will appear again.
The first time prefController is of course nil.
The
“Works” means that showWindow does indeed show a window.
Yes. After the red button got clicked on the PrefWindow, it never will appear again.
The first time prefController is of course nil.
The
|
By
Gerriet M. Denkmann
·
#76
·
|
|
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
·
|
|
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
·
|
|
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
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
·
|