Re: Adding a watchOS complication to an existing project?

2017-03-04 Thread Saagar Jha
I remember doing this around a year ago, but IIRC there wasn’t an easy way to do this. I think I created a new extension with a complication and copy/pasted stuff from the new target. Saagar Jha > On Mar 3, 2017, at 07:08, Eric E. Dolecki wrote: > > Everything I've seen shows adding the compl

Re: Attributed strings - and bounding rects

2017-03-04 Thread Steve Mills
> On Mar 4, 2017, at 04:20, Peter Hudson wrote: > > Many thanks for this detailed help Jonathan. > I’ll work my way through it ! Don't forget to cache the row heights and reset when the table says to. That makes a huge difference as the number of cells grows. Steve via iPad ___

Re: Attributed strings - and bounding rects

2017-03-04 Thread Peter Hudson
Many thanks for this detailed help Jonathan. I’ll work my way through it ! Peter > On 4 Mar 2017, at 09:54, Jonathan Mitchell wrote: > >> I’m still not out of the wood yet though. > > > Sorry. I should have provided more details. > > What I do to support table cell view wrapping is this.

Re: Attributed strings - and bounding rects

2017-03-04 Thread Jonathan Mitchell
> I’m still not out of the wood yet though. Sorry. I should have provided more details. What I do to support table cell view wrapping is this. However, I have to support back to 10.9 so it may be possible to use some of the newer auto NSTextField line wrapping stuff. 1. Create a nib containin

Which way should my document class handle an older format?

2017-03-04 Thread Daryle Walker
My document class reads in UTF-8 data for its internal format. The format has an older version that is ASCII-based. Since the latter is a subset of the former, my parser can handle both formats. Right now, I can’t write out in the older format. (The new format is just a text dump upon save. The