|
Which NSColorSpace to convert NSColor for OpenGL use?
Hi all,
Given an arbitrary NSColor, how does one get the rgb components to pass to OpenGL APIs?
I know the getRed:green:blue:alpha: API, and I know I need to first use colorUsingColorSpace: to get a
Hi all,
Given an arbitrary NSColor, how does one get the rgb components to pass to OpenGL APIs?
I know the getRed:green:blue:alpha: API, and I know I need to first use colorUsingColorSpace: to get a
|
By
Sean McBride
·
#844
·
|
|
Re: Segue
Please pardon this little sidetrack from this storyboard discussion.
One thing I absolutely love (read the view controller header, folks - line 100 to 102) is simply using a storyboard as a skeleton
Please pardon this little sidetrack from this storyboard discussion.
One thing I absolutely love (read the view controller header, folks - line 100 to 102) is simply using a storyboard as a skeleton
|
By
Alex Zavatone
·
#843
·
|
|
Re: 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
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
|
By
Graham Cox
·
#842
·
|
|
Re: Rendering control images in Dark Mode
[NSImage drawInRect:...] won't do it. NSImageView will render template images correctly, if you can somehow add one to your control, or you can use one of the methods discussed
[NSImage drawInRect:...] won't do it. NSImageView will render template images correctly, if you can somehow add one to your control, or you can use one of the methods discussed
|
By
Jon Gotow
·
#841
·
|
|
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
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
|
By
Graham Cox
·
#840
·
|
|
Default Groups
iOS app + Watch App + Watch App Extension all have Capabilities → App Groups → ON
selected: group.de.mdenkmann.BikeIosLogger
The iOS app has a Settings-Watch.bundle.
The Watch.app has:
Watch App
iOS app + Watch App + Watch App Extension all have Capabilities → App Groups → ON
selected: group.de.mdenkmann.BikeIosLogger
The iOS app has a Settings-Watch.bundle.
The Watch.app has:
Watch App
|
By
Gerriet M. Denkmann
·
#839
·
|
|
No Icon in Watch.app
iOS 12.0.1; watchOS 5.01; Xcode Version 10.0 (10A255)
MyWatchApp has all 11 png in Assets.xcassets/AppIcon set.
On the watch it’s icon is visible.
MyIosApp has all 8 png in
iOS 12.0.1; watchOS 5.01; Xcode Version 10.0 (10A255)
MyWatchApp has all 11 png in Assets.xcassets/AppIcon set.
On the watch it’s icon is visible.
MyIosApp has all 8 png in
|
By
Gerriet M. Denkmann
·
#838
·
|
|
Re: 1x, 2x, 3x and so on graphics.
DPI tells it how big to print on paper. It is the number of pixels that matter for the screen asset. 90x90 pixels is 3x higher resolution than 30x30 pixels no matter what DPI values are in the
DPI tells it how big to print on paper. It is the number of pixels that matter for the screen asset. 90x90 pixels is 3x higher resolution than 30x30 pixels no matter what DPI values are in the
|
By
Dave Fernandes
·
#837
·
|
|
1x, 2x, 3x and so on graphics.
I’ve been recooking up my tools and decided to take another stab at graphic fidelity when preparing graphics for iOS, Android and Mac apps.
Previous tests I did in the past indicated that creating
I’ve been recooking up my tools and decided to take another stab at graphic fidelity when preparing graphics for iOS, Android and Mac apps.
Previous tests I did in the past indicated that creating
|
By
Alex Zavatone
·
#836
·
|
|
Re: How to Delete AppID from Apple Developer Account
Thanks a lot for this, I’m sure I couldn’t see a “remove” option before, maybe its only just been updated.
All the Best
Dave
Thanks a lot for this, I’m sure I couldn’t see a “remove” option before, maybe its only just been updated.
All the Best
Dave
|
By
Dave
·
#835
·
|
|
Re: To subclass or not to subclass, that is the question
It looks to me like the first quoted sentence is just poorly worded. I think it’s saying you should *use a UIActivity subclass* if you want to provide custom services.
Note that UIActivity is
It looks to me like the first quoted sentence is just poorly worded. I think it’s saying you should *use a UIActivity subclass* if you want to provide custom services.
Note that UIActivity is
|
By
Quincey Morris
·
#834
·
|
|
Re: How to Delete AppID from Apple Developer Account
From October 4, Apple has this new policy:
Managing apps in App Store Connect.October 4, 2018
It's now easier to manage apps you no longer need in App Store Connect by removing them from your main
From October 4, Apple has this new policy:
Managing apps in App Store Connect.October 4, 2018
It's now easier to manage apps you no longer need in App Store Connect by removing them from your main
|
By
David Delmonte
·
#833
·
|
|
Re: To subclass or not to subclass, that is the question
Maybe it works like this:
NSArray *activityItems = @[ someUrl ];
UIActivityViewController *vc = [ [UIActivityViewController alloc] initWithActivityItems: activityItems
Maybe it works like this:
NSArray *activityItems = @[ someUrl ];
UIActivityViewController *vc = [ [UIActivityViewController alloc] initWithActivityItems: activityItems
|
By
Gerriet M. Denkmann
·
#832
·
|
|
To subclass or not to subclass, that is the question
Documentation about UIActivity:
“You should subclass UIActivity only if you want to provide custom services to the user. "
“This class must be subclassed before it can be used. "
So what? Kind
Documentation about UIActivity:
“You should subclass UIActivity only if you want to provide custom services to the user. "
“This class must be subclassed before it can be used. "
So what? Kind
|
By
Gerriet M. Denkmann
·
#831
·
|
|
Re: Designated initializers
Yes, this is kinda broken for NSWindowController subclasses because “init(windowNibName:owner:)” kinda oughta be a designated initializer but isn’t.
What you should be able to do is define
Yes, this is kinda broken for NSWindowController subclasses because “init(windowNibName:owner:)” kinda oughta be a designated initializer but isn’t.
What you should be able to do is define
|
By
Quincey Morris
·
#830
·
|
|
Designated initializers
I was looking at the Xcode operation Edit > Convert > To Modern Objective-C Syntax, and what it does with NS_DESIGNATED_INITIALIZER markup. I know, I'm late to the party.
I often have
I was looking at the Xcode operation Edit > Convert > To Modern Objective-C Syntax, and what it does with NS_DESIGNATED_INITIALIZER markup. I know, I'm late to the party.
I often have
|
By
James Walker
·
#829
·
|
|
Re: How to Delete AppID from Apple Developer Account
Hi,
I’m not sure what you mean by logged into the App Store with this ID, this is an App ID, you use a Developer/AppStore ID to log in store?
The app is question was just a test app, it has never
Hi,
I’m not sure what you mean by logged into the App Store with this ID, this is an App ID, you use a Developer/AppStore ID to log in store?
The app is question was just a test app, it has never
|
By
Dave
·
#828
·
|
|
Re: Problem with Manual Layout in Test App
Hi,
I’ve added logging to the resizeWithOldSuperviewSize: method (see below). Notice that LTWWindowTrackerView:: resizeWithOldSuperviewSize is never called, not sure why, but if I remove the
Hi,
I’ve added logging to the resizeWithOldSuperviewSize: method (see below). Notice that LTWWindowTrackerView:: resizeWithOldSuperviewSize is never called, not sure why, but if I remove the
|
By
Dave
·
#827
·
|
|
Re: How to Delete AppID from Apple Developer Account
are you perhaps logged in to the App store with this ID?
If so would signing out and then trying to delete work?
are you perhaps logged in to the App store with this ID?
If so would signing out and then trying to delete work?
|
By
Peter Teeson
·
#826
·
|
|
Re: How to Delete AppID from Apple Developer Account
Hi,
OMG! You’re not serious! You can’t delete it? Could someone please confirm or deny this?
If you can’t then I’m speechless! In fact I’m laughing my head off, have Apple really gotten so
Hi,
OMG! You’re not serious! You can’t delete it? Could someone please confirm or deny this?
If you can’t then I’m speechless! In fact I’m laughing my head off, have Apple really gotten so
|
By
Dave
·
#825
·
|