NSDocument willPresentError(_:) in Swift 4 : Override not called

2017-06-29 Thread Jerome Krinock
I’m putting together a tiny demo project which subclasses NSDocument. It has two targets, identical Cocoa macOS apps except one is in Objective-C and the other in Swift. In the Objective-C target, I override -[NSDocument willPresentError:] like this: - (NSError*)willPresentError:(NSError

Re: file encription/decriptoin iOS

2017-06-29 Thread Jens Alfke
> On Jun 29, 2017, at 5:33 AM, Dave Fernandes > wrote: > > Ah. Thinking about the new device use case helps. Everything must be > accessible and decryptable using only the iCloud passphrase. But if the same > passphrase is used both to authorize access to the data

How to Correctly Add subviews considering auto layout

2017-06-29 Thread Dave
iOS - Landscape Only. Hi, I have a View Controller in a Storyboard that contains a hierarchy of Stack Views, the leafs are a Custom Class that inherits from UIView. The Custom Class LTWGameCellView : LTWDrawFrameView LTWDrawFrameView is Custom Class has methods in it that draw a frame around

Re: file encription/decriptoin iOS

2017-06-29 Thread Dave Fernandes
Ah. Thinking about the new device use case helps. Everything must be accessible and decryptable using only the iCloud passphrase. But if the same passphrase is used both to authorize access to the data and to decrypt it, then Apple has the passphrase to decrypt each time the user logs in, do

Re: UITableViewController

2017-06-29 Thread Quincey Morris
On Jun 29, 2017, at 01:05 , Gerriet M. Denkmann wrote: > > and also the Container View has: > Triggered Segues > viedDidLoad TableViewController Embed I have the same thing, so I don’t know what’s different. > What I do not understand: Container View is a UIView, which

Re: UITableViewController

2017-06-29 Thread Gerriet M. Denkmann
> On 29 Jun 2017, at 12:13, Quincey Morris > wrote: > > On Jun 28, 2017, at 22:02 , Gerriet M. Denkmann wrote: >> >> I had to do two more steps: >> >> 1. give the segue an identifier, like: “EmbedSegueToTableViewController” >> >> 2.