Enabling UISearchBar cancel button?

2017-01-11 Thread Rick Mann
I'm creating and displaying a UISearchBar without using UISearchController (it gets in the way). My UISearchBar is installed in the storyboard via IB. I animate it into position in my UI when the user taps a button. However, the Cancel button is disabled. I pre-load the search bar with the

Re: Refreshing Cocoa Bindings

2017-01-11 Thread Ken Thomases
On Jan 11, 2017, at 3:16 PM, Daryle Walker wrote: > > I'm going to store a reference to a model in a NSViewController's > representedObject field. The various contained views will reference that > field through KVO (Is that possible?) for their bound values. Yes, that's

Re: Refreshing Cocoa Bindings

2017-01-11 Thread Quincey Morris
On Jan 11, 2017, at 13:16 , Daryle Walker wrote: > > I'm going to store a reference to a model in a NSViewController's > representedObject field. The various contained views will reference that > field through KVO (Is that possible?) for their bound values. If I change the >

Refreshing Cocoa Bindings

2017-01-11 Thread Daryle Walker
I'm going to store a reference to a model in a NSViewController's representedObject field. The various contained views will reference that field through KVO (Is that possible?) for their bound values. If I change the value of the represented object (what it points to, not any attributes

Re: On NSIncrementalStore UUID Uniqueness

2017-01-11 Thread Keary Suska
> On Jan 11, 2017, at 11:16 AM, Jens Alfke wrote: > > >> On Jan 10, 2017, at 2:00 PM, Jean-Daniel wrote: >> >> UUID means Universally unique identifier and it must be unique: >> https://en.wikipedia.org/wiki/UUID >>

Re: On NSIncrementalStore UUID Uniqueness

2017-01-11 Thread Jens Alfke
> On Jan 10, 2017, at 2:00 PM, Jean-Daniel wrote: > > UUID means Universally unique identifier and it must be unique: > https://en.wikipedia.org/wiki/UUID > > >

Re: On NSIncrementalStore UUID Uniqueness

2017-01-11 Thread Alastair Houghton
On 11 Jan 2017, at 00:16, Saagar Jha wrote: > > Small quibble: UUIDs are not guaranteed to be unique. It's just extremely > likely they will be, and they be sufficient for almost all applications, > including this one. If we’re going to be pedantic, properly issued