Security with Streams

2016-06-17 Thread Gerriet M. Denkmann
I have a server macOS app which publishes a service via NSNetService. And a client iOS app which finds this service via NSNetServiceBrowser. Then the client sends commands to the server via NSOutputStream and receives data from the server via NSInputStream. All this works fine - but there is cur

Re: edgesForExtendedLayout outside of loadView/viewDidLoad

2016-06-17 Thread David Duncan
You are probably still 1 (or more) views off. The parent view controller needs to do layout to adjust to your changes, and there is no guarantee that self.view.superview is the view that needs layout to do it. You probably want self.parentViewController.view for that. It likely works if you ca

Re: H.265/HEVC encoding and decoding in mac os x using AVFoundation?

2016-06-17 Thread Gary L. Wade
I remember there were some constants in CoreMedia for H.265 for last year's OSes, but it seemed you'd have to roll a lot yourself, and my priorities changed enough to not follow through, but it may be things changed for this year's forthcoming releases. If the docs aren't helpful, do a grep on X

H.265/HEVC encoding and decoding in mac os x using AVFoundation?

2016-06-17 Thread Muthulingam Ammaiappan
Hi Friends, currently i am working on the project that deals with decoding and encoding of H.265/HEVC(High Efficiency Video Coding) files... my question : *is it possible by using AVFoundation to do the decoding and encoding for H.265 files?* and if it is not possible can you guys please suggest

Re: edgesForExtendedLayout outside of loadView/viewDidLoad

2016-06-17 Thread Torsten Curdt
This is odd. This seems to eventually work self.edgesForExtendedLayout = UIRectEdge.None self.view.superview?.setNeedsUpdateConstraints() self.view.superview?.updateConstraintsIfNeeded() but only after the 2nd call. So as a work around I am calling it like this: self.edgesForExtendedLay

edgesForExtendedLayout outside of loadView/viewDidLoad

2016-06-17 Thread Torsten Curdt
For debugging purposes I am trying to toggle "edgesForExtendedLayout" outside of loadView/viewDidLoad - but it seems like the change goes unnoticed. I tried "setNeedsLayout" and "setNeedsUpdateConstraints" on the vc view - but that does not work. Now I am a bit stumped - how can I trigger a re-l