|
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
·
|
|
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
·
|
|
WindowController
13 messages
This works:
- (void)showPreferences: (NSMenuItem *)sender;
{
(void)sender;
// if ( self.prefController == nil ) // this line should not be commented out
{
self.prefController = [ [ NSWindowControll
This works:
- (void)showPreferences: (NSMenuItem *)sender;
{
(void)sender;
// if ( self.prefController == nil ) // this line should not be commented out
{
self.prefController = [ [ NSWindowControll
|
By
Gerriet M. Denkmann
·
|
|
Localised Windows
4 messages
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 ignores P
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 ignores P
|
By
Gerriet M. Denkmann
·
|
|
iOS - Debugging an uncooperative UIAlertController
2 messages
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 ale
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 ale
|
By
Alex Zavatone
·
|
|
Apple Sample Code
5 messages
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 Best
Dav
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 Best
Dav
|
By
Dave
·
|
|
Getting Started with Animations
5 messages
Hi All,
I’m about to add some animations to my game and was wondering if any could give me some advice on the implementation given my App. This is for iOS Landscape only at present but I am intending
Hi All,
I’m about to add some animations to my game and was wondering if any could give me some advice on the implementation given my App. This is for iOS Landscape only at present but I am intending
|
By
Dave
·
|
|
UIDocumentInteractionController with non-standard file types
5 messages
My iOS app has 2 custom UTIs declared in the Imported UTIs section, and 3 Document Types (those 2, plus pdf). When I try to share a file (doesn't matter if the URL's UTI is one of the custom types or
My iOS app has 2 custom UTIs declared in the Imported UTIs section, and 3 Document Types (those 2, plus pdf). When I try to share a file (doesn't matter if the URL's UTI is one of the custom types or
|
By
Steve Mills
·
|
|
Printing NSTextView puts text in middle of page - Solved
Sorry for noise. Found the solution 5mins after I sent the email.
Mark
Sorry for noise. Found the solution 5mins after I sent the email.
Mark
|
By
tridiak
·
|
|
NSInteger and NSUInteger
8 messages
Hi,
I’m trying to use NSInteger and/or NSUInteger in a InitWithFormat statement, I’m using %ld as the specifier but this is producing warnings? Has this changed recently, because code that used to co
Hi,
I’m trying to use NSInteger and/or NSUInteger in a InitWithFormat statement, I’m using %ld as the specifier but this is producing warnings? Has this changed recently, because code that used to co
|
By
Dave
·
|
|
Printing NSTextView puts text in middle of page
Printing a NSTextView centres the text (if it is less than one page in size) vertically in the page, as opposed to the top.
What do you need to do to fix this?
let tv = NSTextView()
tv.textStorage?.ap
Printing a NSTextView centres the text (if it is less than one page in size) vertically in the page, as opposed to the top.
What do you need to do to fix this?
let tv = NSTextView()
tv.textStorage?.ap
|
By
tridiak
·
|
|
BundleDisplayName
5 messages
macOS 12.5, Xcode Version 8.3.2 (8E2002)
App with Base Internationalisation; Development Language = English, localised for German.
Target = “TargetName” (probably same as PRODUCT_NAME)
Both InfoPli
macOS 12.5, Xcode Version 8.3.2 (8E2002)
App with Base Internationalisation; Development Language = English, localised for German.
Target = “TargetName” (probably same as PRODUCT_NAME)
Both InfoPli
|
By
Gerriet M. Denkmann
·
|
|
How to write better Swift
8 messages
This works (Xcode Version 8.3.2 (8E2002)):
class SomeClass
{
private var privateStatus: Int
var status: Int
{
get{ return privateStatus }
set(new)
{
if new == privateStatus {return}
… do something
This works (Xcode Version 8.3.2 (8E2002)):
class SomeClass
{
private var privateStatus: Int
var status: Int
{
get{ return privateStatus }
set(new)
{
if new == privateStatus {return}
… do something
|
By
Gerriet M. Denkmann
·
|
|
Swift name manglings
4 messages
macOS 12.5, Xcode Version 8.3.2 (8E2002), a Cocoa Swift project.
Worked fine; then I changed the name of the Target from “OldName” to "NewName".
Now nothing works. I get told:
Unknown class ‘_TtC4<
macOS 12.5, Xcode Version 8.3.2 (8E2002), a Cocoa Swift project.
Worked fine; then I changed the name of the Target from “OldName” to "NewName".
Now nothing works. I get told:
Unknown class ‘_TtC4<
|
By
Gerriet M. Denkmann
·
|
|
Alternative to Auto Layout?
12 messages
Hi All,
Does anyone know of an alternative for Auto Layout.
I find myself wasting so much time with it as to be ridiculous, so I’d like to get away from it if possible.
I’m writing a Game for iPhon
Hi All,
Does anyone know of an alternative for Auto Layout.
I find myself wasting so much time with it as to be ridiculous, so I’d like to get away from it if possible.
I’m writing a Game for iPhon
|
By
Dave
·
|
|
Life without Auto Layout
Hi All,
I spent all of yesterday and the first part of today purging Auto Layout from my Main Game View Controller and I’m soooooo happy I did it - my XCode life is so much better! Things happen quic
Hi All,
I spent all of yesterday and the first part of today purging Auto Layout from my Main Game View Controller and I’m soooooo happy I did it - my XCode life is so much better! Things happen quic
|
By
Dave
·
|
|
Scroll View Problems
3 messages
Hi All,
Do I *need* to add constraints to a Scroll View or the Views inside a Scroll View?
I’m trying to avoid applying any constraints in a View, I’ve started again using the old fashioned way of d
Hi All,
Do I *need* to add constraints to a Scroll View or the Views inside a Scroll View?
I’m trying to avoid applying any constraints in a View, I’ve started again using the old fashioned way of d
|
By
Dave
·
|
|
boxes & glue layout?
BTW, frequently I wish for the boxes & glue (& penalties) layout model
that Plass & Knuth famously used for typesetting (TeX and all that). I
believe the default layout manager for NSTextView uses th
BTW, frequently I wish for the boxes & glue (& penalties) layout model
that Plass & Knuth famously used for typesetting (TeX and all that). I
believe the default layout manager for NSTextView uses th
|
By
David Young
·
|
|
FYI: Mike Ash analyzes objc_msgsend
Mike Ash has been offline for a while, but his Friday Q&A is back with a detailed line-by-line analysis of the objc_msgsend function on ARM64. This is the core Objective-C runtime function that sends
Mike Ash has been offline for a while, but his Friday Q&A is back with a detailed line-by-line analysis of the objc_msgsend function on ARM64. This is the core Objective-C runtime function that sends
|
By
Jens Alfke
·
|
|
How to Correctly Add subviews considering auto layout
iOS - Landscape Only.
Hi,
I have a View Controller in a Storyboard that contains a hierarchy of Stack Views, the leafs are a Custom Class that inherits from UIView. The Custom Class
LTWGameCellView :
iOS - Landscape Only.
Hi,
I have a View Controller in a Storyboard that contains a hierarchy of Stack Views, the leafs are a Custom Class that inherits from UIView. The Custom Class
LTWGameCellView :
|
By
Dave
·
|