Creates and returns an initialized NSInputStream object that reads data from the file at a given URL.
Original signature is '+ (id)inputStreamWithURL:(NSURL *)url'
Available in Mac OS X v10.6 and later.
| C# | Visual Basic | Visual C++ |
public static NSInputStream InputStreamWithURL( NSURL url )
Public Shared Function InputStreamWithURL ( _ url As NSURL _ ) As NSInputStream
public: static NSInputStream^ InputStreamWithURL( NSURL^ url )
- url (NSURL)
- The URL to the file.
An initialized NSInputStream object that reads data from the URL at url. If the file specified by url doesn’t exist or is unreadable, returns nil.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)