|
Problem with Manual Layout in Test App
Manual Layout on Mac using the “resizeWithOldSuperviewSize” way of doing things.
Hi,
I have a simple app which works 99% of the time, however every now and then it screws up. The app just has 4
Manual Layout on Mac using the “resizeWithOldSuperviewSize” way of doing things.
Hi,
I have a simple app which works 99% of the time, however every now and then it screws up. The app just has 4
|
By
Dave
·
#816
·
|
|
Re: Segue
Hi,
I think you misunderstood what I meant, of course there maybe complex situations where using Storyboard/Segues/Auto-layout are a good idea, and one you describe maybe the best (or only) way to do
Hi,
I think you misunderstood what I meant, of course there maybe complex situations where using Storyboard/Segues/Auto-layout are a good idea, and one you describe maybe the best (or only) way to do
|
By
Dave
·
#815
·
|
|
Assigning a Tester for an iOS app???
Hi All,
I’m a but rusty on this since I haven’t had to worry about it for a while as I’ve been working on Mac.
I have an active Apple Developer account.
I have an iOS app that I’d like to
Hi All,
I’m a but rusty on this since I haven’t had to worry about it for a while as I’ve been working on Mac.
I have an active Apple Developer account.
I have an iOS app that I’d like to
|
By
Dave
·
#814
·
|
|
When to create subviews in custom NSView
I'm needing to create a custom NSView that will layout a grid of other NSViews, and none of the builtin classes will work well for all my needs. What I'm having a really hard time figuring out is
I'm needing to create a custom NSView that will layout a grid of other NSViews, and none of the builtin classes will work well for all my needs. What I'm having a really hard time figuring out is
|
By
Steve Mills
·
#813
·
|
|
Re: Segue
I can't answer for your habits of thought. A constellation of XIBs plus code to coordinate them could possibly reproduce the user's experience of an application built with storyboards. (I'm sure I'm
I can't answer for your habits of thought. A constellation of XIBs plus code to coordinate them could possibly reproduce the user's experience of an application built with storyboards. (I'm sure I'm
|
By
Fritz Anderson
·
#812
·
|
|
Re: Segue
A day is a day, so no gain either way and that assumes that the documentation is accurate (which it may be in this case but in so many other cases its not or at least ambiguous).
I’ve been looking
A day is a day, so no gain either way and that assumes that the documentation is accurate (which it may be in this case but in so many other cases its not or at least ambiguous).
I’ve been looking
|
By
Dave
·
#811
·
|
|
Advice on using Storyboards
Mac Project
Hi,
I’m trying to figure out the best way start up my Mac Application when launched.
I’m not sure if its better to use Storyboards or just to stick with simple NIBs. This is a very
Mac Project
Hi,
I’m trying to figure out the best way start up my Mac Application when launched.
I’m not sure if its better to use Storyboards or just to stick with simple NIBs. This is a very
|
By
Dave
·
#810
·
|
|
Re: Word detection without separating spaces
NSLinguisticTagger provides a lot of operations like finding word boundaries and identifying parts of speech. I don’t know if it can be made to identify English words without spaces between them.*
NSLinguisticTagger provides a lot of operations like finding word boundaries and identifying parts of speech. I don’t know if it can be made to identify English words without spaces between them.*
|
By
Jens Alfke
·
#809
·
|
|
iOS kCLAuthorizationStatusAuthorizedAlways
My iOS 12 app has two modes;
1. needs kCLAuthorizationStatusAuthorizedWhenInUse
2. needs kCLAuthorizationStatusAuthorizedAlways
When the user has never been asked about
My iOS 12 app has two modes;
1. needs kCLAuthorizationStatusAuthorizedWhenInUse
2. needs kCLAuthorizationStatusAuthorizedAlways
When the user has never been asked about
|
By
Gerriet M. Denkmann
·
#808
·
|
|
Re: Changing Colours in an NSImage
Check out the tint.
By
Alex Zavatone
·
#807
·
|
|
Changing Colours in an NSImage
Hi,
I have an Image that has a transparent background, the foreground image is made up totally of the (NSColor blackColor), is this an easy way to replace the “blackColor” with another Color? As
Hi,
I have an Image that has a transparent background, the foreground image is made up totally of the (NSColor blackColor), is this an easy way to replace the “blackColor” with another Color? As
|
By
Dave
·
#806
·
|
|
Re: resizeWithOldSuperviewSize not getting called on added Subview
There is a problem wit the way this is coded that means that the same image is being resized up and down which isn’t the best. I’ve changed it to load all the images ahead of time and always
There is a problem wit the way this is coded that means that the same image is being resized up and down which isn’t the best. I’ve changed it to load all the images ahead of time and always
|
By
Dave
·
#805
·
|
|
Re: resizeWithOldSuperviewSize not getting called on added Subview
Hi,
This makes it work:
-(NSImage*) resizeImage:(NSImage*) theImage withImageRect:(NSRect) theImageRect
{
CGImageRef myCGImageRef;
NSImage* myImage;
myCGImageRef = [theImage
Hi,
This makes it work:
-(NSImage*) resizeImage:(NSImage*) theImage withImageRect:(NSRect) theImageRect
{
CGImageRef myCGImageRef;
NSImage* myImage;
myCGImageRef = [theImage
|
By
Dave
·
#804
·
|
|
Re: resizeWithOldSuperviewSize not getting called on added Subview
Ahhhh, found something interesting:
self.translatesAutoresizingMaskIntoConstraints = NO;
Then resizeWithOldSuperviewSize gets called!!! BUT the image no longer resizes inside the Image View. Is
Ahhhh, found something interesting:
self.translatesAutoresizingMaskIntoConstraints = NO;
Then resizeWithOldSuperviewSize gets called!!! BUT the image no longer resizes inside the Image View. Is
|
By
Dave
·
#803
·
|
|
Re: resizeWithOldSuperviewSize not getting called on added Subview
I did the resizing in the viewDidEndLiveResize method and it does resize correctly, but the problem is that the image stays at the old size until the User stops re-sizing the window (e.g. mouseUp’s)
I did the resizing in the viewDidEndLiveResize method and it does resize correctly, but the problem is that the image stays at the old size until the User stops re-sizing the window (e.g. mouseUp’s)
|
By
Dave
·
#802
·
|
|
Re: resizeWithOldSuperviewSize not getting called on added Subview
Hi Again,
After digging around a little I find this:
https://lists.apple.com/archives/cocoa-dev///2005/Oct/msg00476.html
It seems that someone else has noticed this way back in 2005! From looking
Hi Again,
After digging around a little I find this:
https://lists.apple.com/archives/cocoa-dev///2005/Oct/msg00476.html
It seems that someone else has noticed this way back in 2005! From looking
|
By
Dave
·
#801
·
|
|
Re: Mail Icon for iOS
Not necessarily. I don’t have a documentation link, but I’m pretty sure that Apple won’t let you use one of their icons for a function (e.g. “Send Mail”) in your own app. If you’re using
Not necessarily. I don’t have a documentation link, but I’m pretty sure that Apple won’t let you use one of their icons for a function (e.g. “Send Mail”) in your own app. If you’re using
|
By
Quincey Morris
·
#800
·
|
|
Re: Mail Icon for iOS
I would think that would be a fair use - click this to send an email with Mail.app. No different than how tons of apps show icons of other apps for launching or doing actions with them. Is there no
I would think that would be a fair use - click this to send an email with Mail.app. No different than how tons of apps show icons of other apps for launching or doing actions with them. Is there no
|
By
Steve Mills
·
#799
·
|
|
Re: Word detection without separating spaces
You could try taking the first n characters of a word (where n is 1 to maximum word length) and spell checking that string. When you a string that spell-checks, continue for the next n characters, and
You could try taking the first n characters of a word (where n is 1 to maximum word length) and spell checking that string. When you a string that spell-checks, continue for the next n characters, and
|
By
Jeremy Hughes
·
#798
·
|
|
Re: resizeWithOldSuperviewSize not getting called on added Subview
This is a Mac Project.
I’ve not found anything obvious on this, so I’m trying to get to the bottom of why the auto-resizing mechanism is not working with Class that inherits from NSImageView
This is a Mac Project.
I’ve not found anything obvious on this, so I’m trying to get to the bottom of why the auto-resizing mechanism is not working with Class that inherits from NSImageView
|
By
Dave
·
#797
·
|