зеркало из https://github.com/xamarin/ios-samples.git
168efa013e | ||
---|---|---|
.. | ||
Resources | ||
Screenshots | ||
AppDelegate.cs | ||
Info.plist | ||
InputStreamTest.csproj | ||
InputStreamTest.sln | ||
Metadata.xml | ||
NativeUploader.cs | ||
README.md | ||
ZInputStream.cs |
README.md
CustomInputStream
This sample illustrates how to derive from NSInputStream and create subclass that is toll-free bridged to CFReadStream that can be used with NSMutableUrlRequest.
Note that the API required to implement a subclass of NSInputStream that is toll-free bridged to CFReadStream is considered private API by Apple, and may thus cause an app to be rejected from the AppStore.
This sample requires at least MonoTouch 5.3.4.
Authors
Rolf Bjarne Kvinge