|
How to have users select a directory
I’d stick with the button, because its clickability shouldn’t be in doubt. The text field, if it’s just a label, is not generally assumed to be clickable, and if you show it as editable, that sends th
I’d stick with the button, because its clickability shouldn’t be in doubt. The text field, if it’s just a label, is not generally assumed to be clickable, and if you show it as editable, that sends th
|
By
Graham Cox
·
|
|
Devmate: what are people using when it disappears? 2 messages
Is anyone out there using Devmate as a means of handling licensing in their Mac apps? If so, you’ll know it’s deprecated as of December, and so far Fastspring, who bought out Devmate, appear not to ha
Is anyone out there using Devmate as a means of handling licensing in their Mac apps? If so, you’ll know it’s deprecated as of December, and so far Fastspring, who bought out Devmate, appear not to ha
|
By
Graham Cox
·
|
|
Swift definition of "_" 3 messages
Hi All, In a definition like this: func NSLocationInRange(_ loc: Int, _ range: NSRange) -> Bool What does the “_” by itself mean? I can’t seem to find anywhere in the documentation where this is menti
Hi All, In a definition like this: func NSLocationInRange(_ loc: Int, _ range: NSRange) -> Bool What does the “_” by itself mean? I can’t seem to find anywhere in the documentation where this is menti
|
By
Dave
·
|
|
Swizzle class property? 3 messages
The subject more or less says it. I tried using code similar to how I do it with instance methods, to no avail. I'm now wondering if it's actually possible. (It's a read-only property, if that makes a
The subject more or less says it. I tried using code similar to how I do it with instance methods, to no avail. I'm now wondering if it's actually possible. (It's a read-only property, if that makes a
|
By
Shane Stanley
·
|
|
NSImage/Bitmap and colorspaces
Hi all, I have realised I’m having some subtle problems with images not being saved quite how I need them to be, and the problem seems to be caused by colorspace issues. Up until now I’ve kind of igno
Hi all, I have realised I’m having some subtle problems with images not being saved quite how I need them to be, and the problem seems to be caused by colorspace issues. Up until now I’ve kind of igno
|
By
Jonathan Taylor
·
|
|
Trouble implementing selection property 2 messages
I'm not sure what I'm doing wrong when adding a "selection" property to my document class so the user can get and set the selected assets. When I run: tell application "Image Chest" tell document 1 se
I'm not sure what I'm doing wrong when adding a "selection" property to my document class so the user can get and set the selected assets. When I run: tell application "Image Chest" tell document 1 se
|
By
Steve Mills
·
|
|
Core Data missing mapping model 2 messages
During development of a new version of my app, I added a new data model version with one additional attribute on one of the entities, and a mapping model to set the default value of that new required
During development of a new version of my app, I added a new data model version with one additional attribute on one of the entities, and a mapping model to set the default value of that new required
|
By
Steve Mills
·
|
|
Arg! Document window restoration. Again. 6 messages
Doc and window restoration is great when relaunching the app, but I also want each document's window to open to their last frame when the user opens documents. I can not find the right place to make t
Doc and window restoration is great when relaunching the app, but I also want each document's window to open to their last frame when the user opens documents. I can not find the right place to make t
|
By
Steve Mills
·
|
|
Does anyone know what this error means? 3 messages
I am building an app that accesses the Library of Congress Online Card Catalog. At this point, I'm mainly running from the Simulator. And sometimes when I issue the GET query, I get the following erro
I am building an app that accesses the Library of Congress Online Card Catalog. At this point, I'm mainly running from the Simulator. And sometimes when I issue the GET query, I get the following erro
|
By
Rick Aurbach
·
|
|
Core Date migration 4 messages
In my Core Data model, I've added a 2nd version with a new attribute. This attribute needs to be initialized to a sequential value upon migration from the old version. So I'm using a mapping model and
In my Core Data model, I've added a 2nd version with a new attribute. This attribute needs to be initialized to a sequential value upon migration from the old version. So I'm using a mapping model and
|
By
Steve Mills
·
|
|
Sheet takes seconds to update 4 messages
I'm putting up a sheet from a nib to display progress while I process things. When processing is done, I change the button name and ensure the progress bar is set to max. At that point, one of the lab
I'm putting up a sheet from a nib to display progress while I process things. When processing is done, I change the button name and ensure the progress bar is set to max. At that point, one of the lab
|
By
Steve Mills
·
|
|
Using /dev/stdout in a sandboxed app 8 messages
Hi all, In my app I use NSTask to launch a copy of ffmpeg as a child process to do some work in the background on a video stream. I pass parameters to this task via the command line arguments through
Hi all, In my app I use NSTask to launch a copy of ffmpeg as a child process to do some work in the background on a video stream. I pass parameters to this task via the command line arguments through
|
By
Graham Cox
·
|
|
NSTimeZone 2 messages
Does anyone know when NSTimeZone changes on iOS when the GPS location of the device changes? I have tested on my device and Simulator and it appears when running in the Simulator, that NSTimeZone.loca
Does anyone know when NSTimeZone changes on iOS when the GPS location of the device changes? I have tested on my device and Simulator and it appears when running in the Simulator, that NSTimeZone.loca
|
By
Alex Zavatone
·
|
|
Objective-C and Swift interoperability in the lldb console. 2 messages
I have some utility classes with class methods in Objective-C and a copy in Swift. For now, I am using the Swift version, but calling one of the methods from a class that is Objective-C. While I have
I have some utility classes with class methods in Objective-C and a copy in Swift. For now, I am using the Swift version, but calling one of the methods from a class that is Objective-C. While I have
|
By
Alex Zavatone
·
|
|
Usage Question concerning [weak self] 2 messages
I am doing some processing of network requests, and the response is processed in a background thread using a closure. The closure executes some logic on the background thread and then (possibly) dispa
I am doing some processing of network requests, and the response is processed in a background thread using a closure. The closure executes some logic on the background thread and then (possibly) dispa
|
By
Rick Aurbach
·
|
|
NSFIleManager enumeratorAtPath problem 12 messages
Hi, I can’t for the life of see what is wrong with the following method. I’m basically doing the same as in the NSFileManager but I can’t seem to get it to work. The enumeratorAtPath: methods returns
Hi, I can’t for the life of see what is wrong with the following method. I’m basically doing the same as in the NSFileManager but I can’t seem to get it to work. The enumeratorAtPath: methods returns
|
By
Dave
·
|
|
'altool' cannot be found 2 messages
Hi all, I wanted to start building a notarization automation script. However, when I try to use the 'xcrun altool' in Terminal, I get the following error: xcrun: error: unable to find utility "altool"
Hi all, I wanted to start building a notarization automation script. However, when I try to use the 'xcrun altool' in Terminal, I get the following error: xcrun: error: unable to find utility "altool"
|
By
Leo
·
|
|
[OT] Experienced freelance Mac/iOS Developer Looking for Work
Hi, Experienced Mac and iOS developer with a lot experience in Objective-C and many other languages. Experience of the following technologies: XCode Quartz Event Taps. Accessibility. AppleScript. Grap
Hi, Experienced Mac and iOS developer with a lot experience in Objective-C and many other languages. Experience of the following technologies: XCode Quartz Event Taps. Accessibility. AppleScript. Grap
|
By
Dave
·
|
|
How to get Extended File Info 9 messages
Hi, Looking at the Finder “Get Info” window, for instance for an mp3 file, it displays under the “More Info” tab, the Title, Authors, etc. How can I get this information programatically? Thanks a lot
Hi, Looking at the Finder “Get Info” window, for instance for an mp3 file, it displays under the “More Info” tab, the Title, Authors, etc. How can I get this information programatically? Thanks a lot
|
By
Dave
·
|
|
Dealing with unicodes in strings 7 messages
I’m converting some NSData to a NSString using UTF8 encoding, which is what I believe it should be. But the strings are sometimes ending up with embedded codes that are not converting, like @“this is
I’m converting some NSData to a NSString using UTF8 encoding, which is what I believe it should be. But the strings are sometimes ending up with embedded codes that are not converting, like @“this is
|
By
Graham Cox
·
|