Post

Replies

Boosts

Views

Activity

Safari keeps logging me out of websites
It started happening about 6 months ago, I'm using the latest Safari Version 17.2.1 (19617.1.17.11.12) Below are my privacy settings I've tried creating a new user on the Mac and using that, and still does it. I've tried resetting all developer settings on the browser and still does it. It's quite frustrating as I keep losing my work, specially on Shopify, I hit save and the browser is logged out. I need a solution for this, there are posts here from years ago of people with similar issue and no solution from Apple.
Topic: Safari & Web SubTopic: General Tags:
4
1
2.0k
Jan ’24
'withUnsafeBytes' is deprecated'
Hey guys, I'm getting the following Warning on my function: 'withUnsafeBytes' is deprecated: use withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R instead But can't really figure out what is going on: func hexString(data: Data) -> String {             return data.withUnsafeBytes { (bytes: UnsafePointer<UInt8>) -> String in                 let buffer = UnsafeBufferPointer(start: bytes, count: data.count)                 return buffer.map{String(format: "%02hhx", $0)}.reduce("", {$0 + $1})             }     }
1
0
578
Dec ’22