|
Devmate: what are people using when it disappears?
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
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
|
By
Graham Cox
·
#1036
·
|
|
Re: Swift definition of "_"
Thanks, found it now. The documentation is pretty good, a cross reference/index would be icing of the cake!
Cheers
Dave
Thanks, found it now. The documentation is pretty good, a cross reference/index would be icing of the cake!
Cheers
Dave
|
By
Dave
·
#1035
·
|
|
Re: Swift definition of "_"
It means the corresponding function argument does not have a parameter label when **calling** the function. So you would call via something like:
This is documented in the Swift Language Guide
It means the corresponding function argument does not have a parameter label when **calling** the function. So you would call via something like:
This is documented in the Swift Language Guide
|
By
Bernie Maier
·
#1034
·
|
|
Swift definition of "_"
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
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
|
By
Dave
·
#1033
·
|
|
Re: Swizzle class property?
Thank you! It didn't occur to me because it's been working like that elsewhere for several years -- but with an instance method (and different class). Looking again, I'm not sure that
Thank you! It didn't occur to me because it's been working like that elsewhere for several years -- but with an instance method (and different class). Looking again, I'm not sure that
|
By
Shane Stanley
·
#1032
·
|
|
Re: Swizzle class property?
Shouldn't that be "if (!didAddMethod)" ?
—Jens
Shouldn't that be "if (!didAddMethod)" ?
—Jens
|
By
Jens Alfke
·
#1031
·
|
|
Swizzle class property?
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
·
#1030
·
|
|
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
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
|
By
Jonathan Taylor
·
#1029
·
|
|
Re: Trouble implementing selection property
It turns out that if you dink around enough, sooner or later things just work right. Maybe AppleScript was keeping a cached version of my dict in memory or something, but I quit Script Debugger and
It turns out that if you dink around enough, sooner or later things just work right. Maybe AppleScript was keeping a cached version of my dict in memory or something, but I quit Script Debugger and
|
By
Steve Mills
·
#1028
·
|
|
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
·
#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
·
|