Re: CFBundleSupportedPlatforms issue

2015-10-06 Thread Matthias Schmidt
> Am 07.10.2015 um 13:34 schrieb Rick C. : > > Thanks for the help. But how would this work in the future at some point I > will need to use the latest SDK right? Sorry, I’m not an experienced XCoder … I do 4D usually ;-) Anyway, my guess would be, that the precompiled

Re: More Swift issues, NSURLComponents

2015-10-06 Thread Greg Parker
> On Oct 5, 2015, at 7:57 PM, Rick Mann wrote: > > Especially when a struct can be an AnyObject. `AnyObject` is an instance of any class type. It is never a struct. `Any` encompasses both classes and structs. -- Greg Parker gpar...@apple.com Runtime Wrangler

Re: More Swift issues, NSURLComponents

2015-10-06 Thread Rick Mann
> On Oct 6, 2015, at 11:31 , Greg Parker wrote: > > >> On Oct 5, 2015, at 7:57 PM, Rick Mann wrote: >> >> Especially when a struct can be an AnyObject. > > `AnyObject` is an instance of any class type. It is never a struct. `Any` > encompasses

Custom UIView receiving no touch events?

2015-10-06 Thread Eric E. Dolecki
I have a Storyboard - UIView with view controller - simple UITableView in it wth some UIScrollViews in cells. Works great. Off-screen I have a custom UIView that has a UIScrollView in it. Upon a button press, I animate it over the main view. It receives no events - the UIScrollView in the top

Re: Custom UIView receiving no touch events?

2015-10-06 Thread Quincey Morris
On Oct 6, 2015, at 16:48 , Eric Dolecki wrote: > > I had a UI view on the storyboard and set its class to my custom UI view > class. Init with coder fired and I set my UI from there. However doing so > produced dead controls. Does one need to call a method to get around

Re: Custom UIView receiving no touch events?

2015-10-06 Thread Eric Dolecki
Oops about the off list. I ended up just doing an Init with frame and then brought existing storyboard views up in the view hierarchy. The only reason I wanted to assign the class to an existing view on the storyboard was because I could ensure the z-order visually.  Sent from Outlook On

Re: Custom UIView receiving no touch events?

2015-10-06 Thread Quincey Morris
On Oct 6, 2015, at 13:25 , Eric E. Dolecki wrote: > > Off-screen I have a custom UIView that has a UIScrollView in it. What’s the parent view of the custom view? If it’s not in the view hierarchy underneath the UIWindow, then it’s not going to get any events.

UIView rotate and cross-fade at the same time

2015-10-06 Thread Eric E. Dolecki
I have a UIView with a UIImageView in it, a button on top of that. I want to trigger a rotation with an image cross-fade* at the same time*. This isn't working for me. Is there a better solution? @IBAction func newMagicPressed(sender: UIButton) { if bMagicButtonCloseMode {