Open Instance Methodswift 6.0.3Foundation
setProperty(_:forKey:)
func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool
func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool
s10Foundation6StreamC11setProperty_6forKeySbyXlSg_AC0dF0VtF
What are these?6YJZE
import Foundation
class Stream
typealias AnyObject
The protocol to which all classes implicitly conform.
struct PropertyKey
@frozen struct Bool
A value type whose instances are either true
or false
.
override init()
weak var delegate: (any StreamDelegate)?
var streamError: (any Error)? { get }
var streamStatus: Stream.Status { get }
func close()
func open()
func property(forKey key: Stream.PropertyKey) -> AnyObject?
func remove(from aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
func schedule(in aRunLoop: RunLoop, forMode mode: RunLoop.Mode)
struct Event
enum Status
override func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool
override func setProperty(_ property: AnyObject?, forKey key: Stream.PropertyKey) -> Bool