|
Trouble implementing selection property
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
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
|
By
Steve Mills
·
#1027
·
|
|
Re: Core Data missing mapping model
The problem was caused by a merge. Even though the mapping model LOOKED correct in the Xcode mapping model editor, the underlying data was bogus. So yeah, don't work on a mapping model (or probably
The problem was caused by a merge. Even though the mapping model LOOKED correct in the Xcode mapping model editor, the underlying data was bogus. So yeah, don't work on a mapping model (or probably
|
By
Steve Mills
·
#1026
·
|
|
Core Data missing mapping model
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
·
#1025
·
|
|
Re: Arg! Document window restoration. Again.
I got it to work by calling the window's restoreStateWithCoder: instead of the document's.
In my tests, it takes care of this and repositions the window so it's on the currently available screen[s]
I got it to work by calling the window's restoreStateWithCoder: instead of the document's.
In my tests, it takes care of this and repositions the window so it's on the currently available screen[s]
|
By
Steve Mills
·
#1024
·
|
|
Re: Arg! Document window restoration. Again.
No, the window autosave name predates state restoration by a lot of years. IIRC, the behavior breaks down like this:
1. Window restoration (if enabled) overrides everything else, for windows that are
No, the window autosave name predates state restoration by a lot of years. IIRC, the behavior breaks down like this:
1. Window restoration (if enabled) overrides everything else, for windows that are
|
By
Quincey Morris
·
#1023
·
|
|
Re: Arg! Document window restoration. Again.
Did something change recently? frameautosave has historically been the way to save a window’s frame, regardless of when the window was opened. Maybe you should take a second look. If you have a
Did something change recently? frameautosave has historically been the way to save a window’s frame, regardless of when the window was opened. Maybe you should take a second look. If you have a
|
By
Keary Suska
·
#1022
·
|
|
Re: Arg! Document window restoration. Again.
From what I've experienced and read, that only helps for reopening docs on app launch, not on opening docs once launched. The OS only stores info for docs that were open when the app exits so it can
From what I've experienced and read, that only helps for reopening docs on app launch, not on opening docs once launched. The OS only stores info for docs that were open when the app exits so it can
|
By
Steve Mills
·
#1021
·
|
|
Re: Arg! Document window restoration. Again.
Can't you just set NSWindow.frameAutosaveName? Or does NSDocument get in the way of that?
- Jon
Can't you just set NSWindow.frameAutosaveName? Or does NSDocument get in the way of that?
- Jon
|
By
Jon Gotow
·
#1020
·
|
|
Arg! Document window restoration. Again.
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
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
|
By
Steve Mills
·
#1019
·
|
|
Re: Does anyone know what this error means?
There’s some mention of it here.
https://stackoverflow.com/questions/46099940/credstore-perform-query-error/48961852
There’s some mention of it here.
https://stackoverflow.com/questions/46099940/credstore-perform-query-error/48961852
|
By
Steve Christensen <punster@...>
·
#1018
·
|
|
Re: Does anyone know what this error means?
It looks like you are being limited for making too many requests in one period of time.
That’s my guess.
It looks like you are being limited for making too many requests in one period of time.
That’s my guess.
|
By
Alex Zavatone
·
#1017
·
|
|
Re: Core Date migration
If you are modifying the object, I believe you should be doing this in:
createDestinationInstances(forSource:in:manager:)
This has always worked for me. The validation method looks like a keep/don’t
If you are modifying the object, I believe you should be doing this in:
createDestinationInstances(forSource:in:manager:)
This has always worked for me. The validation method looks like a keep/don’t
|
By
Dave Fernandes
·
#1016
·
|
|
Re: Core Date migration
No, I wasn't sure if that was necessary. One would hope that the act of migration will save the migrated data to the store without the developer having to do anything. It doesn't say that in the
No, I wasn't sure if that was necessary. One would hope that the act of migration will save the migrated data to the store without the developer having to do anything. It doesn't say that in the
|
By
Steve Mills
·
#1015
·
|
|
Does anyone know what this error means?
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
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
|
By
Rick Aurbach
·
#1014
·
|
|
Re: Core Date migration
Do you call save on the context somewhere? I’ve not needed to use a mapping like this yet but it seems like if you’re changing attributes you’d want to save.
Jim Crate
Do you call save on the context somewhere? I’ve not needed to use a mapping like this yet but it seems like if you’re changing attributes you’d want to save.
Jim Crate
|
By
Jim
·
#1013
·
|
|
Core Date migration
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
·
#1012
·
|
|
Re: Sheet takes seconds to update
It must have something to do with NSTextFields (or any view in general) whose value uses bindings. The text fields and the progress bar in this sheet all use bindings to set their values. If I add a
It must have something to do with NSTextFields (or any view in general) whose value uses bindings. The text fields and the progress bar in this sheet all use bindings to set their values. If I add a
|
By
Steve Mills
·
#1011
·
|
|
Re: Sheet takes seconds to update
Control has returned.
Changing a UI object has to be done from the main thread, so I'm doing it from dispatch_async(dispatch_get_main_queue(), …), and I've verified that the block does get run very
Control has returned.
Changing a UI object has to be done from the main thread, so I'm doing it from dispatch_async(dispatch_get_main_queue(), …), and I've verified that the block does get run very
|
By
Steve Mills
·
#1010
·
|
|
Re: Sheet takes seconds to update
Has control returned to your main event loop, or are you still doing some kind of processing during the delay time? When you change the button name, etc, is that all being done from the main thread
Has control returned to your main event loop, or are you still doing some kind of processing during the delay time? When you change the button name, etc, is that all being done from the main thread
|
By
Jon Gotow
·
#1009
·
|
|
Sheet takes seconds to update
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
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
|
By
Steve Mills
·
#1008
·
|