Post

Replies

Boosts

Views

Activity

Comment on swift autorelease value-add
I just tried a test, and simply creating an instance of a reference type like a custom class does not seem to create an autoreleased object that sticks around until the event loop is serviced. It's been a while since I've had to worry about autorelease pools, so I'm a bit rusty on the rules for when objects are autoreleased and persist until the code returns to the app event loop.
Oct ’23