|
Re: Getting Windows to Appear.....
Hi,
Yeah, realised that afterwards, I made it a property for now, it will be retained by the App Manager once I add it,
Cheers
Dave
Hi,
Yeah, realised that afterwards, I made it a property for now, it will be retained by the App Manager once I add it,
Cheers
Dave
|
By
Dave
·
#267
·
|
|
Re: How to make typeAlias ?
Sorry, if my explanation was not too clear.
This is the code:
- (void)applicationWillFinishLaunching:(NSNotification *)aNotification
{
NSAppleEventManager *sharedAppleEventManager = [
Sorry, if my explanation was not too clear.
This is the code:
- (void)applicationWillFinishLaunching:(NSNotification *)aNotification
{
NSAppleEventManager *sharedAppleEventManager = [
|
By
Gerriet M. Denkmann
·
#266
·
|
|
Re: How to make typeAlias ?
Your code answers that question. What you don't explain is what you want to do, presumably with the descriptor, when you get there.
You ask about creating a typeAlias eventDescriptor, but your code
Your code answers that question. What you don't explain is what you want to do, presumably with the descriptor, when you get there.
You ask about creating a typeAlias eventDescriptor, but your code
|
By
Shane Stanley
·
#265
·
|
|
How to make typeAlias ?
I have some (old) code like:
NSAppleEventDescriptor *eventDecriptor = ….
DescType descriptorType = eventDecriptor.descriptorType;
if ( descriptorType == typeAlias ) // ‘alis’
{
… How to
I have some (old) code like:
NSAppleEventDescriptor *eventDecriptor = ….
DescType descriptorType = eventDecriptor.descriptorType;
if ( descriptorType == typeAlias ) // ‘alis’
{
… How to
|
By
Gerriet M. Denkmann
·
#264
·
|
|
Preprocessor Deployment Target
I need something like:
#if MACOSX_DEPLOYMENT_TARGET < 10.11 ← this of course does not work
… some code, which is only needed in this case …
#endif
Is this possible?
Gerriet.
I need something like:
#if MACOSX_DEPLOYMENT_TARGET < 10.11 ← this of course does not work
… some code, which is only needed in this case …
#endif
Is this possible?
Gerriet.
|
By
Gerriet M. Denkmann
·
#263
·
|
|
Re: Background color on NSView?
No, I'm not talking about subclassing NSView. I'm talking about writing two category methods in Objective-C, setBackgroundColor: and backgroundColor. In Swift, you'd call a category an extension. With
No, I'm not talking about subclassing NSView. I'm talking about writing two category methods in Objective-C, setBackgroundColor: and backgroundColor. In Swift, you'd call a category an extension. With
|
By
Gary L. Wade
·
#262
·
|
|
Re: Getting Windows to Appear.....
(code edited to get rid of the noise)
That’s what you’re doing, really? The window controller you create here has no owning references outside this method’s local variable, so it’s going to
(code edited to get rid of the noise)
That’s what you’re doing, really? The window controller you create here has no owning references outside this method’s local variable, so it’s going to
|
By
Quincey Morris
·
#261
·
|
|
Re: Background color on NSView?
Hi,
I’m not worried about having it initialised in initWithCode, as I it up there explicitly from other data anyway (I’ve added this to a subclass of NSView because all my Basic Custom View
Hi,
I’m not worried about having it initialised in initWithCode, as I it up there explicitly from other data anyway (I’ve added this to a subclass of NSView because all my Basic Custom View
|
By
Dave
·
#260
·
|
|
Getting Windows to Appear.....
Hi All,
I’m having problems getting a window to appear on the Mac.
This is the first time I’ve used Storyboards on the Mac and I’m not sure I have things setup correctly.
When I created the
Hi All,
I’m having problems getting a window to appear on the Mac.
This is the first time I’ve used Storyboards on the Mac and I’m not sure I have things setup correctly.
When I created the
|
By
Dave
·
#259
·
|
|
Re: Background color on NSView?
What I do is write an extension on NSView with a setter and getter for backgroundColor that calls through to the view's layer property's backgroundColor, calling wantsLayer before doing so in the
What I do is write an extension on NSView with a setter and getter for backgroundColor that calls through to the view's layer property's backgroundColor, calling wantsLayer before doing so in the
|
By
Gary L. Wade
·
#258
·
|
|
Background color on NSView?
Hi All,
I’ve just realised that NSView don’t have a background colour. I remember hitting this a long while ago and got around it by using a layer and adding a “setBackgroundColor” method to
Hi All,
I’ve just realised that NSView don’t have a background colour. I remember hitting this a long while ago and got around it by using a layer and adding a “setBackgroundColor” method to
|
By
Dave
·
#257
·
|
|
Re: Difference in View Identifiers between Mac and iOS?
Hi,
On iOS:
UIView myView;
myID = myView.accessibilityIdentifier;
In code gets the identifier specified in the “Identifier” Field in the Accessibility Panel of the Storyboard/NIB.
On
Hi,
On iOS:
UIView myView;
myID = myView.accessibilityIdentifier;
In code gets the identifier specified in the “Identifier” Field in the Accessibility Panel of the Storyboard/NIB.
On
|
By
Dave
·
#256
·
|
|
Re: Help with Code Sign Error?
Solved!
I ran xattr on all the files in the hierarchy and low and behold it worked!
Thanks to everyone that helped.
All the Best
Dave
Solved!
I ran xattr on all the files in the hierarchy and low and behold it worked!
Thanks to everyone that helped.
All the Best
Dave
|
By
Dave
·
#255
·
|
|
Re: Help with Code Sign Error?
Hi,
Please ignore the last message, it was something I’d done experimenting that caused it.
I’m still getting the:
Hi,
Please ignore the last message, it was something I’d done experimenting that caused it.
I’m still getting the:
|
By
Dave
·
#254
·
|
|
Re: Help with Code Sign Error?
Hi,
I ran it on all my resource files (AFAICT) and now, I’m getting this error:
CopyPNGFile
Hi,
I ran it on all my resource files (AFAICT) and now, I’m getting this error:
CopyPNGFile
|
By
Dave
·
#253
·
|
|
Re: Help with Code Sign Error?
I would start with your artwork, images, and any files you imported from the outside world. Anything generated by Xcode, or created within Xcode (source files, storyboards, xibs, etc.) are probably
I would start with your artwork, images, and any files you imported from the outside world. Anything generated by Xcode, or created within Xcode (source files, storyboards, xibs, etc.) are probably
|
By
Jonathan Prescott
·
#252
·
|
|
Re: Help with Code Sign Error?
Hi,
I tried the following:
cd /Documents/Development/Projects/LTW/SudokuSolverForMac/Resources
xattr -cr .
I get no output from xattr and when I try and compile I get the same error.
Is this
Hi,
I tried the following:
cd /Documents/Development/Projects/LTW/SudokuSolverForMac/Resources
xattr -cr .
I get no output from xattr and when I try and compile I get the same error.
Is this
|
By
Dave
·
#251
·
|
|
Re: How to Register (and build) a Mac App on Apple Developer and iTunes Connect
Ok, that’s what was confusing me! I thought it should be done to the resources files themselves…..
Ok, that’s what was confusing me! I thought it should be done to the resources files themselves…..
|
By
Dave
·
#250
·
|
|
Re: Help with Code Sign Error?
HI,
Ok, but which files do I run xattr on? I’m trying to compile a project? I assume its something in the resources, but storyboards. images, not sure what it means by “App Bundle”?
All the
HI,
Ok, but which files do I run xattr on? I’m trying to compile a project? I assume its something in the resources, but storyboards. images, not sure what it means by “App Bundle”?
All the
|
By
Dave
·
#249
·
|
|
Re: How to Register (and build) a Mac App on Apple Developer and iTunes Connect
You are right. I forgot to change the path…
However I think Xcode should strip those “detritus” when copying the files to the app bundle… Also the error message a bit cryptic.
On 28 Aug 2017,
You are right. I forgot to change the path…
However I think Xcode should strip those “detritus” when copying the files to the app bundle… Also the error message a bit cryptic.
On 28 Aug 2017,
|
By
João Colaço
·
#248
·
|