|
Drawer window error
2 messages
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> a
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> a
|
By
Graham Cox
·
|
|
GKSession - More Game Center Question
2 messages
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 al
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 al
|
By
Dave
·
|
|
Trying to make Arc happy
2 messages
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
·
|
|
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 pro
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 pro
|
By
Taylor Arndt
·
|
|
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
·
|
|
Game Center Multi-Player Question
6 messages
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, in
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, in
|
By
Dave
·
|
|
How to Log Off from Game Center using the Simulator?
7 messages
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
·
|
|
Installing a Launchd.plist
11 messages
I have an application that presents a window to the user which floats above all other windows. It must be running at all times when any user is logged in.
I achieve this with a launchd.plist ins
I have an application that presents a window to the user which floats above all other windows. It must be running at all times when any user is logged in.
I achieve this with a launchd.plist ins
|
By
Sandor Szatmari
·
|
|
Binding to object returned by custom getter
6 messages
Hi all,
I have a property "velocity" that returns a custom object representing a 2D vector. That vector object has properties "x" and "y". From time to time, the value of velocity to be displayed wil
Hi all,
I have a property "velocity" that returns a custom object representing a 2D vector. That vector object has properties "x" and "y". From time to time, the value of velocity to be displayed wil
|
By
Jonathan Taylor
·
|
|
Game Kit Turn Based Match?
Hi,
I’m trying to understand how to use the GKTurnBasedMatch facility in Game Kit.
From reading the documentation, I’m not quite sure how make it work with the rules of the game I am developing.
Hi,
I’m trying to understand how to use the GKTurnBasedMatch facility in Game Kit.
From reading the documentation, I’m not quite sure how make it work with the rules of the game I am developing.
|
By
Dave
·
|
|
dispatch_async question
10 messages
Hi All,
In the following code, does it *need* to use the dispatch_async function?
dispatch_async(dispatch_get_main_queue(), ^{
if ([[self delegate] respondsToSelector:@selector(gameCenterManager:a
Hi All,
In the following code, does it *need* to use the dispatch_async function?
dispatch_async(dispatch_get_main_queue(), ^{
if ([[self delegate] respondsToSelector:@selector(gameCenterManager:a
|
By
Dave
·
|
|
NSWindowController and window release
2 messages
Here we go again… another memory management issue.
I have a fairly simple situation where I instantiate a window controller (NSWindowController subclass), which loads its window from a nib file. Th
Here we go again… another memory management issue.
I have a fairly simple situation where I instantiate a window controller (NSWindowController subclass), which loads its window from a nib file. Th
|
By
Graham Cox
·
|
|
Memory management of document modal panels
8 messages
I have a general question about memory management of a panel shown as a sheet.
As a general design pattern, I often have a class method that returns a new instance of a NSWindowController subclass
I have a general question about memory management of a panel shown as a sheet.
As a general design pattern, I often have a class method that returns a new instance of a NSWindowController subclass
|
By
Graham Cox
·
|
|
SceeneKit not picking up arrow keys correctly?
Hi all,
I'm following a tutorial on SceneKit, which sets up a few nodes, a camera, and some keyboard capturing to let the user arrow around the sceene. The author of the code says it works on his mac
Hi all,
I'm following a tutorial on SceneKit, which sets up a few nodes, a camera, and some keyboard capturing to let the user arrow around the sceene. The author of the code says it works on his mac
|
By
Alex Hall
·
|
|
nib loading error on foreign systems
2 messages
I have a view controller that loads from a nib. I only have the
nib in English, no other localizations. When I run with my normal
American English setup, all is well. But if I set the l
I have a view controller that loads from a nib. I only have the
nib in English, no other localizations. When I run with my normal
American English setup, all is well. But if I set the l
|
By
James Walker
·
|
|
How to print class name in Swift
2 messages
This works (prints either null, NSString or NSNumber)
- (id)transformedValue:(id)value
{
NSLog(@"%s value %@ %@",__FUNCTION__, [value class], value);
…
}
But my Swift version:
override
This works (prints either null, NSString or NSNumber)
- (id)transformedValue:(id)value
{
NSLog(@"%s value %@ %@",__FUNCTION__, [value class], value);
…
}
But my Swift version:
override
|
By
Gerriet M. Denkmann
·
|
|
respondsToSelector in Swift
3 messages
How to translate this into Swift
- (id)transformedValue:(id)value
{
if ( ![value respondsToSelector: @selector(doubleValue) ] )
{
NSLog(@"%s Error value %@ %@",__FUNCTION__, [value class],
How to translate this into Swift
- (id)transformedValue:(id)value
{
if ( ![value respondsToSelector: @selector(doubleValue) ] )
{
NSLog(@"%s Error value %@ %@",__FUNCTION__, [value class],
|
By
Gerriet M. Denkmann
·
|
|
Changing Folder Name in Xcode
6 messages
I have a project:
Some Folder
Some.xcodeproj
Old and Bad Name
lots of stuff
I would like to change the folder “Old and Bad Name” to “Nice new name”
I could rename this folder in Finder
I have a project:
Some Folder
Some.xcodeproj
Old and Bad Name
lots of stuff
I would like to change the folder “Old and Bad Name” to “Nice new name”
I could rename this folder in Finder
|
By
Gerriet M. Denkmann
·
|
|
How to get full user name prior to 10.12?
3 messages
10.12 added a method to NSProcessInfo, -fullUserName.
How do I get the same info on earlier OS?
—Graham
10.12 added a method to NSProcessInfo, -fullUserName.
How do I get the same info on earlier OS?
—Graham
|
By
Graham Cox
·
|
|
CGImage for writing large multi-page tiffs?
Hi all,
At the moment I am saving tiff files in a one-liner using [[myNSImage TIFFRepresentation] writeToFile:atomically:]. I am considering a change to write rather large multi-page tiff files ins
Hi all,
At the moment I am saving tiff files in a one-liner using [[myNSImage TIFFRepresentation] writeToFile:atomically:]. I am considering a change to write rather large multi-page tiff files ins
|
By
Jonathan Taylor
·
|