|
Can I advantage of Swift availability features in a UITableVIewDelegate?
3 messages
I am working on an app which I would like to support 10.x for the next release. The problem I have is in a UITableViewDelegate: I have two actions which I'd like to implement for cells. In 10.x, I hav
I am working on an app which I would like to support 10.x for the next release. The problem I have is in a UITableViewDelegate: I have two actions which I'd like to implement for cells. In 10.x, I hav
|
By
Rick Aurbach
·
|
|
Can I Generate a Segue This Way?
2 messages
I have a situation where I want a user tap on a UILabel to generate a segue. (Yes, it sounds a bit strange, but it makes sense in context.) Working with a storyboard, I add a Tap Gesture Recognizer, c
I have a situation where I want a user tap on a UILabel to generate a segue. (Yes, it sounds a bit strange, but it makes sense in context.) Working with a storyboard, I add a Tap Gesture Recognizer, c
|
By
Rick Aurbach
·
|
|
Replacement for Launch Services API
2 messages
Is there a replacement for LSSharedFileListCreate, LSSharedFileListInsertItemURL &c that have been deprecated in the latest SDKs? Or is there another way to add something to the Finder's sidebar or to
Is there a replacement for LSSharedFileListCreate, LSSharedFileListInsertItemURL &c that have been deprecated in the latest SDKs? Or is there another way to add something to the Finder's sidebar or to
|
By
Sak Wathanasin
·
|
|
Repeating timer firing way to fast
4 messages
Hi all, I’ve been trying to figure out what happened on an overnight run of the code that drives our scientific experiment, and I’m seeing logs that imply that a timer has been firing much more rapidl
Hi all, I’ve been trying to figure out what happened on an overnight run of the code that drives our scientific experiment, and I’m seeing logs that imply that a timer has been firing much more rapidl
|
By
Jonathan Taylor
·
|
|
Crash with "illegal opcode" - how to debug this issue?
4 messages
Hi all, We’ve received a number of reports from users of a crash due to a SIGILL as follows: Exception Type: SIGILL Exception Codes: ILL_ILLOPC at 0x7fff32837454 Crashed Thread: 0 Thread 0 Crashed: 0
Hi all, We’ve received a number of reports from users of a crash due to a SIGILL as follows: Exception Type: SIGILL Exception Codes: ILL_ILLOPC at 0x7fff32837454 Crashed Thread: 0 Thread 0 Crashed: 0
|
By
Graham Cox
·
|
|
The Correct Place to Migrate my NSDocument
3 messages
I have an App that needs to be upgraded (thanks App Store) and I want the new App to Open and migrate it’s old documents to the new versions document. With the new File Type and Extension. All good, I
I have an App that needs to be upgraded (thanks App Store) and I want the new App to Open and migrate it’s old documents to the new versions document. With the new File Type and Extension. All good, I
|
By
Bill Pitcher
·
|
|
Audio stops playing when screens goes dark after screen lock.
Hi, I have a metronome app that is able to play audio in the background just fine. It even continues playing when the screens is locked. That is, until the screen goes dark after a few seconds. Playba
Hi, I have a metronome app that is able to play audio in the background just fine. It even continues playing when the screens is locked. That is, until the screen goes dark after a few seconds. Playba
|
By
Antonio - SintraWorks
·
|
|
update Localization
4 messages
I have an app (macOS 13.4, Xcode Version 9.3 (9E145)) which was localised (Xcode did some magic for me). Now I made some changes. Is there a way to update the Localizable.string, MainMenu.strings, etc
I have an app (macOS 13.4, Xcode Version 9.3 (9E145)) which was localised (Xcode did some magic for me). Now I made some changes. Is there a way to update the Localizable.string, MainMenu.strings, etc
|
By
Gerriet M. Denkmann
·
|
|
Opaque text in NSTextField
2 messages
I have an NSTextField (macOS 13.4, Xcode Version 9.3 (9E145)) which says: textColour Generic Gray colorspace 1 1 backGroundColour NSCalibratedWhiteColorSpace 0 0.4 This, I guess, means all white and a
I have an NSTextField (macOS 13.4, Xcode Version 9.3 (9E145)) which says: textColour Generic Gray colorspace 1 1 backGroundColour NSCalibratedWhiteColorSpace 0 0.4 This, I guess, means all white and a
|
By
Gerriet M. Denkmann
·
|
|
struct return of nil
3 messages
macOS 13.4; Xcode Version 9.3 (9E145). This is (I believe) documented to work: NSString *answer = … if ( answer.length == 0 ) { // works for answer = nil or answer = “” (empty string) answer = @“No an
macOS 13.4; Xcode Version 9.3 (9E145). This is (I believe) documented to work: NSString *answer = … if ( answer.length == 0 ) { // works for answer = nil or answer = “” (empty string) answer = @“No an
|
By
Gerriet M. Denkmann
·
|
|
[OT] Experienced Freelance Mac and iOS Developer available
Hello All, I’m looking for remote work on Mac and iOS. I have over 25 years experience on the Mac and iOS since the first iPhone. I’ve recently finishing a long contract where I gained a *lot* of expe
Hello All, I’m looking for remote work on Mac and iOS. I have over 25 years experience on the Mac and iOS since the first iPhone. I’ve recently finishing a long contract where I gained a *lot* of expe
|
By
Dave
·
|
|
NSData base64Encoding vs. base64EncodedStringWithOptions
4 messages
Xcode 9.2, iOS 11.2, Objective-C Looking at the header for NSData, and base64EncodedStringWithOptions: NSDataBase64EncodingOptions, the options are these starting on line 50 of NSData.h: typedef NS_OP
Xcode 9.2, iOS 11.2, Objective-C Looking at the header for NSData, and base64EncodedStringWithOptions: NSDataBase64EncodingOptions, the options are these starting on line 50 of NSData.h: typedef NS_OP
|
By
Alex Zavatone
·
|
|
Swift and KVC
7 messages
This simple little playground doesn’t print any value for the last line. It is a minimization of an issue I’m having in a larger program where the key-value can not be found. Is it me (likely) or is i
This simple little playground doesn’t print any value for the last line. It is a minimization of an issue I’m having in a larger program where the key-value can not be found. Is it me (likely) or is i
|
By
Marco S Hyman
·
|
|
Internationalisation of MainMenu
6 messages
I am trying to make an macOS app international. On thing is MainMenu.strings. This contains lots of stuff which must have an official translation (e.g. into German) already. (e.g. Edit → Cut). Is ther
I am trying to make an macOS app international. On thing is MainMenu.strings. This contains lots of stuff which must have an official translation (e.g. into German) already. (e.g. Edit → Cut). Is ther
|
By
Gerriet M. Denkmann
·
|
|
FYI, Xcode 9.3 was just released.
https://download.developer.apple.com/Developer_Tools/Xcode_9.3/Xcode_9.3.xip
https://download.developer.apple.com/Developer_Tools/Xcode_9.3/Xcode_9.3.xip
|
By
Alex Zavatone
·
|
|
NSCondition
8 messages
Hi All, I’ve almost got my threaded Consumer/Producer Working using NSThread and friends. However, under certain circumstances, I’m getting objects “stuck” on the queue and the Consumer thread not fir
Hi All, I’ve almost got my threaded Consumer/Producer Working using NSThread and friends. However, under certain circumstances, I’m getting objects “stuck” on the queue and the Consumer thread not fir
|
By
Dave
·
|
|
string pointer
11 messages
I have a method like (macOS 13.3, Xcode 9.2 (9C40b)): - (NSUInteger)computeFor: (NSUInteger)arg reason: (NSString * __autoreleasing *)reason { NSUInteger value; // some computing… if ( reason != NULL
I have a method like (macOS 13.3, Xcode 9.2 (9C40b)): - (NSUInteger)computeFor: (NSUInteger)arg reason: (NSString * __autoreleasing *)reason { NSUInteger value; // some computing… if ( reason != NULL
|
By
Gerriet M. Denkmann
·
|
|
horizontally scrolling table
2 messages
I have a view-based NSOutlineTable with a single column containing static text. How do I make the column resize appropriately so that the table will scroll horizontally, rather than truncating the tex
I have a view-based NSOutlineTable with a single column containing static text. How do I make the column resize appropriately so that the table will scroll horizontally, rather than truncating the tex
|
By
James Walker
·
|
|
Changing head item on a (GCD) Queue
13 messages
Hi All, I need to do some changes to a Mac Objective-C project to do the following: 1. Data is Sent to a Delegate method in a class. 2. The data is validated by this method and if ok, it needs to be p
Hi All, I need to do some changes to a Mac Objective-C project to do the following: 1. Data is Sent to a Delegate method in a class. 2. The data is validated by this method and if ok, it needs to be p
|
By
Dave
·
|
|
Getting IB_DESIGNABLE to work properly
14 messages
Hi all, I’m working on a small custom view project (Mac), and have it working generally quite well. I decided to make it IB_DESIGNABLE, and that too mostly works - I can see the view in IB rendered wi
Hi all, I’m working on a small custom view project (Mac), and have it working generally quite well. I decided to make it IB_DESIGNABLE, and that too mostly works - I can see the view in IB rendered wi
|
By
Graham Cox
·
|