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

2017-06-29 Thread Quincey Morris
On Jun 29, 2017, at 22:37 , Jerome Krinock wrote: > > Is my syntax correct? I think so. You would get an error trying to declare the override if it did not have the correct method signature. In what class are you doing the “presentError” invocation? Do you have any evidence (or can you verify

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 *)er

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 and to decrypt it, > then A

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 the

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 does not have > viedDi

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. in the UITableViewController which formerly did have a UIT