> On 16 Mar 2015, at 12:24 pm, Patrick J. Collins
> wrote:
>
> The docs say that with a view based table, the subviews (i.e. columns)
> should handle their own behavior, but-- how does a NSTextField (my cell
> view) know what row it's in, what column it is, etc... ?
Each row view has a view c
On Mar 15, 2015, at 8:24 PM, Patrick J. Collins
wrote:
> So, I have my NSTableView which is made up of NSTextFields as cells...
> How do I handle knowing when the value of one of these text fields
> change?
>
> The docs say that with a view based table, the subviews (i.e. columns)
> should hand
On Mar 15, 2015, at 7:58 PM, Patrick J. Collins
wrote:
> And guess what? result is always false... Which makes me wonder why in their
> documentation do they suggest that result == nil check? But, I am confused
> why
> it's recreating views from scratch anytime the table content changes?
Is
> On 16 Mar 2015, at 11:58 am, Patrick J. Collins
> wrote:
>
> The problem is, there is quite an obnoxious lag between spinner being
> hidden and table view contents actually updating. I am assuming because
> this is a 13 column x several hundred rows,
That's a big table... sure it's the righ
So, I have my NSTableView which is made up of NSTextFields as cells...
How do I handle knowing when the value of one of these text fields
change?
The docs say that with a view based table, the subviews (i.e. columns)
should handle their own behavior, but-- how does a NSTextField (my cell
view) kno
> You probably want to rethink what you mean by "processing of data".
> The table ALWAYS lazy loads, and only asks your data source for the
> row it needs when it needs them. The user scrolls, more rows needed,
> your data source supplies them. This is all VIEW stuff, nothing to do
> with data pro
> On 15 Mar 2015, at 7:22 pm, Patrick J. Collins
> wrote:
>
> This NSView is of an audio waveform. I currently have my drawRect:
> method draw the lines of my waveform,
Have you designed it so that it only draws the minimum it needs to? For
example, if your audio waveform represents 5 minute
On Sun, Mar 15, 2015, at 02:22 AM, Patrick J. Collins wrote:
> My next approach was to save my drawn waveform to an NSImage and use
> that as a background for my view... If you have a better suggestion for
> how I could handle this, I'd love to hear it.
This is a good idea. It would be better yet
> Why bother with a timer loop to animate the wiper when that functionality is
> built-in through CoreAnimation?
> Especially since you are using an image as the wave background.
I guess because I like the playhead being tied to the actual
current sample position, not a separate animation that is
Why bother with a timer loop to animate the wiper when that functionality is
built-in through CoreAnimation?
Especially since you are using an image as the wave background.
CoreAnimation will move the wiper smoothly and accurately. All you have to do
is provide the distance it must travel and th
I have a dialog which allows the user to select a folder containing data to be
processed, set various parameters that affect the processing, and displays the
result of the analysis. There is an NSPathControl (popup) to select the folder.
Inevitably the first thing the user does is choose a folde
> A fairly simple way to implement a selection rectangle is to use
> CALayer, but that only gives you the visual aspect. What does it
> select? Answer that question first and that will tend to lead you to
> the appropriate way to implement it.
This NSView is of an audio waveform. I currently have
12 matches
Mail list logo