Open Instance Methodswift 6.0.3Foundation
property(forKey:)
func property(forKey key: Stream.PropertyKey) -> AnyObject?
func property(forKey key: Stream.PropertyKey) -> AnyObject?
s10Foundation6StreamC8property6forKeyyXlSgAC08PropertyE0V_tF
What are these?5SFCE
import Foundation
class Stream
struct PropertyKey
typealias AnyObject
The protocol to which all classes implicitly conform.
override init()
weak var delegate: (any StreamDelegate)?
var streamError: (any Error)? { get }
var streamStatus: Stream.Status { get }
func close()
func open()
func remove(from aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
func schedule(in aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool
struct Event
enum Status
override func property(forKey key: Stream.PropertyKey) -> AnyObject?
override func property(forKey key: Stream.PropertyKey) -> AnyObject?