|
Entitlement that allows app to run scripts that target any app
I have an app that can launch apps and scripts. A script might target any app, so I can't use com.apple.security.temporary-exception.apple-events and add an app identifier for every possible app in th
I have an app that can launch apps and scripts. A script might target any app, so I can't use com.apple.security.temporary-exception.apple-events and add an app identifier for every possible app in th
|
By Steve Mills
·
|
|
[aString drawAtPoint:withAttributes:] Works in High Sierra, does not in Mojave - Why? 5 messages
I have written a small Cocoa program that works in High Sierra but stopped working in Mojave. The program loads a graphics file from disk and displays it full screen. At the bottom it should write the
I have written a small Cocoa program that works in High Sierra but stopped working in Mojave. The program loads a graphics file from disk and displays it full screen. At the bottom it should write the
|
By Markus Ruggiero
·
|
|
Developer 9 messages
A friend of mine has a problem: When he installs an app (via Xcode) on his iPhone it works fine (probably the app will expire after one year). But when he installs the same app on his iPad, the app wi
A friend of mine has a problem: When he installs an app (via Xcode) on his iPhone it works fine (probably the app will expire after one year). But when he installs the same app on his iPad, the app wi
|
By Gerriet M. Denkmann
·
|
|
NSScrollView showing part of view with white space above
One thing I find when working with scroll views is that making the contained view flipped is usually helpful. If you return YES from an override to -isFlipped, scroll views default to a position with
One thing I find when working with scroll views is that making the contained view flipped is usually helpful. If you return YES from an override to -isFlipped, scroll views default to a position with
|
By Graham Cox
·
|
|
UITableView selection changed at some point
I have a UITableView that has x number of simple rows (name and image), then one row at the end that also has a name and image, but also uses a disclosure indicator accessory, which opens a new scene
I have a UITableView that has x number of simple rows (name and image), then one row at the end that also has a name and image, but also uses a disclosure indicator accessory, which opens a new scene
|
By Steve Mills
·
|
|
CMSensorRecorder.accelerometerDataSince(_:) missing? 3 messages
Xcode 11, targeted at 13 or 12.x (no difference to this issue). I need to accumulate accelerometer data from Core Motion over long periods of time (I’m aware of the 12-hour / 3-day limits). The class
Xcode 11, targeted at 13 or 12.x (no difference to this issue). I need to accumulate accelerometer data from Core Motion over long periods of time (I’m aware of the 12-hour / 3-day limits). The class
|
By Fritz Anderson
·
|
|
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
·
|