Don't know if this helps you but you can look into dispatch_sync
and dispatch_async.
Cheers
On Sat, Mar 21, 2020 at 9:16 PM Sandor Szatmari via Cocoa-dev <
cocoa-dev@lists.apple.com> wrote:
> You must run the panel on the main thread.
>
> Sandor
>
> > On Mar 21, 2020, at 3:05 PM, Gabriel Zachma
> On Mar 20, 2020, at 8:00 PM, Carl Hoefs
> wrote:
>
> when the AU subsystem renders this data, it ignores the offset and generates
> a "corrected" X-axis-centered audio signal anyway
Interesting ... I guess there’s filtering or normalization going on at some
stage (in software or in the DAC
You must run the panel on the main thread.
Sandor
> On Mar 21, 2020, at 3:05 PM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> Is it possible to open an NSOpenPanel in a secondary thread?
>
> I create the thread like this:
>
>directoryScanThread_ = [[NSThread alloc] initWithTarget: se
No you can’t one an NSOpenPanel on a secondary thread. UI elements must be on
the main thread.
—Rob
> On Mar 21, 2020, at 1:05 PM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> Is it possible to open an NSOpenPanel in a secondary thread?
>
> I create the thread like this:
>
>directo
Isn’t the main thread meant for updating the UI?
> On Mar 21, 2020, at 7:05 PM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> Is it possible to open an NSOpenPanel in a secondary thread?
>
> I create the thread like this:
>
>directoryScanThread_ = [[NSThread alloc] initWithTarget: self
Is it possible to open an NSOpenPanel in a secondary thread?
I create the thread like this:
directoryScanThread_ = [[NSThread alloc] initWithTarget: self
selector:
@selector(scanDirectory:)