Re: UIViews in SpriteKit Apps

2016-02-02 Thread Quincey Morris
On Feb 2, 2016, at 19:00 , Charles Jenkins wrote: > > I’m thinking of presenting a “menu” SpriteKit SKScene with an SKSpriteNode > button on it that says “Set Background Music,” and when the user touches that > node, I then switch to an entirely new screen for picking media. > > Can I do that,

Re: Easier way to make NSView subclasses refresh on a property change?

2016-02-02 Thread Graham Cox
> On 3 Feb 2016, at 5:05 PM, Graham Cox wrote: > > Is there a good way to automate this for a given set of properties? BTW, it would be really great if this were an extension of property attributes, e.g: @property (nonatomic, assign, refresh) BOOL goesWild; Then the compiler’s synthesis

Easier way to make NSView subclasses refresh on a property change?

2016-02-02 Thread Graham Cox
Hi all, Whenever I make a custom view class, it often has a bunch of properties that affect the content it renders. So, for each setter that does this, I have to override the setter, do whatever it normally does plus call -setNeedsDisplay:YES. This gets tedious. Is there a good way to automat

UIViews in SpriteKit Apps

2016-02-02 Thread Charles Jenkins
When I’ve previously dabbled a bit with iOS programming, it was with normal UIView forms and controls. Now I’m writing my first SpriteKit game, and I want to give users the ability to select their own background music. Can I use “normal” UIViews to do that, and have the standard media pickers?

Re: UISearchBar covers status bar

2016-02-02 Thread Rick Mann
> On Feb 2, 2016, at 13:42 , Peter Tomaselli wrote: > > Isn't this just the thing (apologies, can't actually try it right now) where > the easiest way to keep the status bar tidy when doing a modal presentation > is to actually present your modal controller inside its own navigation > control

Re: UISearchBar covers status bar

2016-02-02 Thread Peter Tomaselli
Isn't this just the thing (apologies, can't actually try it right now) where the easiest way to keep the status bar tidy when doing a modal presentation is to actually present your modal controller inside its own navigation controller, even if you don't plan on pushing anything onto it? Again, apo

Re: UISearchBar covers status bar

2016-02-02 Thread Rick Mann
> On Feb 2, 2016, at 12:20 , Raglan T. Tiger wrote: > > > >> On Feb 2, 2016, at 1:08 PM, Rick Mann wrote: >> >> Apple really screwed the pooch with the status bar change in iOS 7; I've had >> nothing but problems with it ever since. > > Or, did Apple fix a screwed pooch and thus your app n

Re: UISearchBar covers status bar

2016-02-02 Thread Raglan T. Tiger
> On Feb 2, 2016, at 1:08 PM, Rick Mann wrote: > > Apple really screwed the pooch with the status bar change in iOS 7; I've had > nothing but problems with it ever since. Or, did Apple fix a screwed pooch and thus your app needs to be unscrewed by refactoring? -rags

Re: UISearchBar covers status bar

2016-02-02 Thread Rick Mann
I'm also presenting it as a modal controller. I get the same behavior (with certain settings), except that the search bar doesn't accommodate the status bar; it's tucked up under it. Apple really screwed the pooch with the status bar change in iOS 7; I've had nothing but problems with it ever

Re: UISearchBar covers status bar

2016-02-02 Thread Alex Zavatone
Oh, it slides down another view. It looks like it modally presents a view controller over the current view and slides down the view with the search bar and segmented controller. Look at it. If you tap on any element in the bottom bar, search immediately disappears up and the white background f