Differences between Foundation frameworks on Mac OS X and iPhone
-
07-07-2019 - |
Question
Curious:
Why is it that Foundation on OS X contains a wrapper for CFHost (NSHost) but not CFSocket, and Foundation on iPhone OS doesn't even have NSHost?
And as an aside, are there any libraries or has any written any wrappers for CFHost and CFSocket on the iPhone?
Solution
Oddly enough, the iPhone version of Foundation does actually include the NSHost
class, but Apple doesn't provide the headers for it.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow