|
Where to Delegate for StreamDelegate?
All,
I sort of came down with "paralysis analysis" last night. I am developing a small chat app on iOS. I am going to use Foundation's InputStream, OutputStream, and StreamDelegate. I became stuck
All,
I sort of came down with "paralysis analysis" last night. I am developing a small chat app on iOS. I am going to use Foundation's InputStream, OutputStream, and StreamDelegate. I became stuck
|
By
Brandon Peters <bap04e@...>
·
#436
·
|
|
Re: using select() without blocking the runloop
If file handlers were thread-specific you would not be able to read files on other threads. They are process-specific, not thread-specific.
At its core, select is very much synchronous. This haunted
If file handlers were thread-specific you would not be able to read files on other threads. They are process-specific, not thread-specific.
At its core, select is very much synchronous. This haunted
|
By
Jack Brindle
·
#435
·
|
|
Re: using select() without blocking the runloop
I don’t think file descriptors are thread specific.
Most of your parameters to select are pointers. But what do they point to? If they point to structures on the stack, that would be bad, because
I don’t think file descriptors are thread specific.
Most of your parameters to select are pointers. But what do they point to? If they point to structures on the stack, that would be bad, because
|
By
James Walker
·
#434
·
|
|
Re: using select() without blocking the runloop
yes of course file handles are thread-specific, you wouldn’t want random bits of code trying 0, 1, 2 … to see what it could get. Actually they are process-specific, but the process running your
yes of course file handles are thread-specific, you wouldn’t want random bits of code trying 0, 1, 2 … to see what it could get. Actually they are process-specific, but the process running your
|
By
Roland King
·
#433
·
|
|
using select() without blocking the runloop
I need to do select() with a rather large timeout value (several minutes).
So in order not to block the runLoop / mainThread I tried:
dispatch_queue_t myQueue = dispatch_get_global_queue(
I need to do select() with a rather large timeout value (several minutes).
So in order not to block the runLoop / mainThread I tried:
dispatch_queue_t myQueue = dispatch_get_global_queue(
|
By
Gerriet M. Denkmann
·
#432
·
|
|
Re: How to Install Mac OS X 10.11.6
Hi All,
Its installing now.
On the machine I’m trying to update, the purchases section said “Install” for El Capitan, but if I tried this it gave an error saying the update couldn’t be
Hi All,
Its installing now.
On the machine I’m trying to update, the purchases section said “Install” for El Capitan, but if I tried this it gave an error saying the update couldn’t be
|
By
Dave
·
#431
·
|
|
Re: How to Install Mac OS X 10.11.6
In the applications folder. If you think about it, it is an app, right?
By the way, the version from the app store is the latest (10.11.6). No need to apply further combo updates.
- Jack
In the applications folder. If you think about it, it is an app, right?
By the way, the version from the app store is the latest (10.11.6). No need to apply further combo updates.
- Jack
|
By
Jack Brindle
·
#430
·
|
|
Re: How to Install Mac OS X 10.11.6
In /Applications
Nimesh
By
Nimesh Neema <nimeshneema@...>
·
#429
·
|
|
Re: How to Install Mac OS X 10.11.6
One one question, where does the App Store it put the downloaded file?
One one question, where does the App Store it put the downloaded file?
|
By
Dave
·
#428
·
|
|
Re: How to Install Mac OS X 10.11.6
Hi,
Thanks, I finally found it in the Purchases - Panic over! I have it already on one identical machine and I’m just bringing a second machine up to the same spec software wise.
Its downloading
Hi,
Thanks, I finally found it in the Purchases - Panic over! I have it already on one identical machine and I’m just bringing a second machine up to the same spec software wise.
Its downloading
|
By
Dave
·
#427
·
|
|
Re: How to Install Mac OS X 10.11.6
OK. Let me see which images i needed for that process…
Yeah, he’ll have to update to 10.11 first and then download the combo update*, not combo update
It’s here:
Download OS X El Capitan
OK. Let me see which images i needed for that process…
Yeah, he’ll have to update to 10.11 first and then download the combo update*, not combo update
It’s here:
Download OS X El Capitan
|
By
Alex Zavatone
·
#426
·
|
|
Re: How to Install Mac OS X 10.11.6
Alex, that won’t work. They only will upgrade within a major version. 10.11.6 combo will only upgrade 10.11 versions, not 10.10.
The 10.11.6 installer actually is on the app store. There is some
Alex, that won’t work. They only will upgrade within a major version. 10.11.6 combo will only upgrade 10.11 versions, not 10.10.
The 10.11.6 installer actually is on the app store. There is some
|
By
Jack Brindle
·
#425
·
|
|
Re: How to Install Mac OS X 10.11.6
Search the Apple support website for 10.11.6 combo upgrade.
Sent from my iPhone
Search the Apple support website for 10.11.6 combo upgrade.
Sent from my iPhone
|
By
Alex Zavatone
·
#424
·
|
|
How to Install Mac OS X 10.11.6
Hi All,
I’m trying to update an old Mac Pro Early 2008 from 10.10.5 to 10.11.6, does anyone know how to do this?
I can’t find it on the App Store and can’t find a separate .dmg file to
Hi All,
I’m trying to update an old Mac Pro Early 2008 from 10.10.5 to 10.11.6, does anyone know how to do this?
I can’t find it on the App Store and can’t find a separate .dmg file to
|
By
Dave
·
#423
·
|
|
sleep wake without runloop
macOS 13.1
Is there a way to ascertain whether a process is sleeping or awake?
There is IORegisterForSystemPower which sends seep/wake notifications but needs a runloop.
Anything else?
Background:
macOS 13.1
Is there a way to ascertain whether a process is sleeping or awake?
There is IORegisterForSystemPower which sends seep/wake notifications but needs a runloop.
Anything else?
Background:
|
By
Gerriet M. Denkmann
·
#422
·
|
|
Re: Xcode: Installing components
Shared libraries for talking to iOS devices. Possibly debugger & profiler infrastructure (stuff for getting access to other processes.) Etc. Xcode has been installing this stuff since at least version
Shared libraries for talking to iOS devices. Possibly debugger & profiler infrastructure (stuff for getting access to other processes.) Etc. Xcode has been installing this stuff since at least version
|
By
Jens Alfke
·
#421
·
|
|
Re: Xcode: Installing components
I think it’s installing components that allow access to devices. I have no idea what’s modified.
No. [1] contains a complete Unix C build environment (tools, headers, libraries) that’s used when
I think it’s installing components that allow access to devices. I have no idea what’s modified.
No. [1] contains a complete Unix C build environment (tools, headers, libraries) that’s used when
|
By
Quincey Morris
·
#420
·
|
|
Xcode: Installing components
After migrating to macOS 13.1 when I first started Xcode (9.1) it told me that it had to install some components.
What are these “components” and where do they live?
Also: My macOS 13 partition
After migrating to macOS 13.1 when I first started Xcode (9.1) it told me that it had to install some components.
What are these “components” and where do they live?
Also: My macOS 13 partition
|
By
Gerriet M. Denkmann
·
#419
·
|
|
BRCloudDocsErrorDomain Code=12 “App library not found
Starting an document based app in macOS 13.1 I get:
[…] [default] [ERROR] Failed getting container for URL: [ ~/Desktop/the current document]
r, error: Error Domain=BRCloudDocsErrorDomain Code=12
Starting an document based app in macOS 13.1 I get:
[…] [default] [ERROR] Failed getting container for URL: [ ~/Desktop/the current document]
r, error: Error Domain=BRCloudDocsErrorDomain Code=12
|
By
Gerriet M. Denkmann
·
#418
·
|
|
Re: Centering image view in scroll view
You need to subclass NSClipView and implement the behaviour there. It’s annoying that there’s no built-in solution since it’s an ‘obvious’ requirement to me.
The better news is that the
You need to subclass NSClipView and implement the behaviour there. It’s annoying that there’s no built-in solution since it’s an ‘obvious’ requirement to me.
The better news is that the
|
By
Graham Cox
·
#417
·
|