|
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
·
|
|
Encoding / decoding an Array of structs
Hi All I’m trying to encode / decode an Array of struct. The struct in question is itself Codable - and the compiler is happy with it. In the following code, roles is an Array of struct called Scene…
Hi All I’m trying to encode / decode an Array of struct. The struct in question is itself Codable - and the compiler is happy with it. In the following code, roles is an Array of struct called Scene…
|
By
Peter Hudson
·
|
|
How to Display a Time Interval
14 messages
Objective-C, Mac. Hi, I’m trying to display a countdown to a date in the future e.g. the number of years, weeks and days to 1/1/2021. I have the Time Interval between now and the future date in second
Objective-C, Mac. Hi, I’m trying to display a countdown to a date in the future e.g. the number of years, weeks and days to 1/1/2021. I have the Time Interval between now and the future date in second
|
By
Dave
·
|
|
Why would an instance of NSMutableArray be immutable?
2 messages
I was trying to add an object to an array and got an exception saying that I was trying to modify an immutable object. I set a breakpoint just before the addObject: line, and said to lldb po [formatsO
I was trying to add an object to an array and got an exception saying that I was trying to modify an immutable object. I set a breakpoint just before the addObject: line, and said to lldb po [formatsO
|
By
James Walker
·
|
|
Some gestures aren't working right away
2 messages
I have an iOS app that's giving me a pain. One view hierarchy has a scroll view, page view, and other views. The storyboard has 3 gesture recognizers scattered among a couple of the view controllers.
I have an iOS app that's giving me a pain. One view hierarchy has a scroll view, page view, and other views. The storyboard has 3 gesture recognizers scattered among a couple of the view controllers.
|
By
Steve Mills
·
|
|
Dragging a file unto an app in iOS simulator
Hi: Previously, you could drag and drop from the Mac desktop over an app in iOS Simulator, and if the app was set up for that file extension, it would open the app and open the file through the applic
Hi: Previously, you could drag and drop from the Mac desktop over an app in iOS Simulator, and if the app was set up for that file extension, it would open the app and open the file through the applic
|
By
Owen Hartnett
·
|