|
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 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
· #1036
·
|
|
Using /dev/stdout in a sandboxed app
Ah, that worked a treat!!! Thanks so much Sandor. —Graham
Ah, that worked a treat!!! Thanks so much Sandor. —Graham
|
By
Graham Cox
· #1005
·
|
|
Using /dev/stdout in a sandboxed app
Hi Chris, actually I think I am doing that. it’s a while since i put this code together, and exactly what the arguments are is not so clear now. I set the NSTask.standardOutput to an NSPipe, and I hav
Hi Chris, actually I think I am doing that. it’s a while since i put this code together, and exactly what the arguments are is not so clear now. I set the NSTask.standardOutput to an NSPipe, and I hav
|
By
Graham Cox
· #1003
·
|
|
Using /dev/stdout in a sandboxed app
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
· #1000
·
|
|
Dealing with unicodes in strings
OK, makes sense. A simple NSString category using NSScanner internally makes it easy enough. Thanks for the help, —Graham
OK, makes sense. A simple NSString category using NSScanner internally makes it easy enough. Thanks for the help, —Graham
|
By
Graham Cox
· #969
·
|
|
Dealing with unicodes in strings
Yes, I think it’s putting these 6 characters into the string. The original data is an HTML page, and these strings come from some embedded javascript on the page - I’m scraping the page to extract spe
Yes, I think it’s putting these 6 characters into the string. The original data is an HTML page, and these strings come from some embedded javascript on the page - I’m scraping the page to extract spe
|
By
Graham Cox
· #966
·
|
|
Dealing with unicodes in strings
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
· #963
·
|
|
find standard about panel
Ah, fair point! How hard is it then to make your own About box? To bring it up instead of the prebuilt one is a very small change to the ‘About’ menu item, to target a different method. Making your ow
Ah, fair point! How hard is it then to make your own About box? To bring it up instead of the prebuilt one is a very small change to the ‘About’ menu item, to target a different method. Making your ow
|
By
Graham Cox
· #886
·
|
|
find standard about panel
In Interface Builder, just check the “Hides on Deactivate” checkbox for the panel. That should do it… have you tried it? —G
In Interface Builder, just check the “Hides on Deactivate” checkbox for the panel. That should do it… have you tried it? —G
|
By
Graham Cox
· #883
·
|
|
Rendering control images in Dark Mode
Thanks for that - that’s quite a nice effect. I realised after posting and doing a bit more Googling that I have to apply the tint colours myself. It makes sense. I think I only need to colourise the
Thanks for that - that’s quite a nice effect. I realised after posting and doing a bit more Googling that I have to apply the tint colours myself. It makes sense. I think I only need to colourise the
|
By
Graham Cox
· #842
·
|
|
Rendering control images in Dark Mode
Hi all, I have some custom controls (views) that I’m updating to be Dark Mode aware. The view’s background is filled using the relevant semantic colour (controlBackgroundColor), and the icon is render
Hi all, I have some custom controls (views) that I’m updating to be Dark Mode aware. The view’s background is filled using the relevant semantic colour (controlBackgroundColor), and the icon is render
|
By
Graham Cox
· #840
·
|
|
How to get App Icon
Well, it does. So if yours does not, rather than go round the houses trying to figure out how to “correct” for that, why not find out why yours isn’t doing what the rest of our apps does do? Something
Well, it does. So if yours does not, rather than go round the houses trying to figure out how to “correct” for that, why not find out why yours isn’t doing what the rest of our apps does do? Something
|
By
Graham Cox
· #673
·
|
|
Can someone spot what's going on here?
Well duh. Thanks Quincey, that was it. I use so little C++ myself now that I’ve honestly never seen this before. It’s still a bit of a mystery why just the presence of the added framework in the works
Well duh. Thanks Quincey, that was it. I use so little C++ myself now that I’ve honestly never seen this before. It’s still a bit of a mystery why just the presence of the added framework in the works
|
By
Graham Cox
· #654
·
|
|
Can someone spot what's going on here?
Hi all, I have a long-standing app project/workspace that embeds several sub projects, which build as embedded frameworks. It all builds and runs fine as it should. I add a new framework subproject -
Hi all, I have a long-standing app project/workspace that embeds several sub projects, which build as embedded frameworks. It all builds and runs fine as it should. I add a new framework subproject -
|
By
Graham Cox
· #652
·
|
|
Crash with "illegal opcode" - how to debug this issue?
No other response so far… That particular crash is just one example. There are numerous crash reports with the same basic crash, but not always in a CATransaction callback, though that is a very commo
No other response so far… That particular crash is just one example. There are numerous crash reports with the same basic crash, but not always in a CATransaction callback, though that is a very commo
|
By
Graham Cox
· #584
·
|
|
Crash with "illegal opcode" - how to debug this issue?
Hi all, We’ve received a number of reports from users of a crash due to a SIGILL as follows: Exception Type: SIGILL Exception Codes: ILL_ILLOPC at 0x7fff32837454 Crashed Thread: 0 Thread 0 Crashed: 0
Hi all, We’ve received a number of reports from users of a crash due to a SIGILL as follows: Exception Type: SIGILL Exception Codes: ILL_ILLOPC at 0x7fff32837454 Crashed Thread: 0 Thread 0 Crashed: 0
|
By
Graham Cox
· #581
·
|
|
Getting IB_DESIGNABLE to work properly
Of course, but they’re not drawn by -drawRect:, they’re drawn by an internal private method that calls -drawRect: Normally, drawRect is concerned only with the drawing pertaining to itself and nothing
Of course, but they’re not drawn by -drawRect:, they’re drawn by an internal private method that calls -drawRect: Normally, drawRect is concerned only with the drawing pertaining to itself and nothing
|
By
Graham Cox
· #517
·
|
|
Getting IB_DESIGNABLE to work properly
I’ve gone for something slightly different that’s a little more generic (it’ll work for any view, not relying on it being a specific class). It still wouldn’t work for a layer backed or hosting view t
I’ve gone for something slightly different that’s a little more generic (it’ll work for any view, not relying on it being a specific class). It still wouldn’t work for a layer backed or hosting view t
|
By
Graham Cox
· #515
·
|
|
Getting IB_DESIGNABLE to work properly
Cool - I’ll give that a shot. Thanks! —Graham
Cool - I’ll give that a shot. Thanks! —Graham
|
By
Graham Cox
· #514
·
|
|
Getting IB_DESIGNABLE to work properly
I’ve never called super, nor understand why it would be needed. I know the boilerplate calls it, but it appears to do nothing. If there has been a change in the recommendation for this since 10.2 or s
I’ve never called super, nor understand why it would be needed. I know the boilerplate calls it, but it appears to do nothing. If there has been a change in the recommendation for this since 10.2 or s
|
By
Graham Cox
· #513
·
|