Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Button Looping and me!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Nethfel" data-source="post: 1290844" data-attributes="member: 89124"><p>Well, in terms of garbage collection, it's not really an XCode thing - and it's been available for a while, but it's ONLY for OSX apps, there is no garbage collection on iOS. Plus, what garbage collection is meant for is basically so you can be lazy about making sure you release your objects. Once the system determines that there is nothing holding onto a chunk of memory it gets released - to learn more about garbage collection, see: <a href="http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/GarbageCollection/Introduction.html" target="_blank">Loading&#133;</a></p><p></p><p>Just remember, it's not available on iOS. The closest thing to garbage collection won't be available until the next iOS release.</p><p></p><p>I don't have time tonight, but I'll see if I can throw together some sample code about what you are trying to do. it won't be pretty and depending on my time available tomorrow it may be for iOS rather then OSX, but hopefully it may get you in the right direction.</p></blockquote><p></p>
[QUOTE="Nethfel, post: 1290844, member: 89124"] Well, in terms of garbage collection, it's not really an XCode thing - and it's been available for a while, but it's ONLY for OSX apps, there is no garbage collection on iOS. Plus, what garbage collection is meant for is basically so you can be lazy about making sure you release your objects. Once the system determines that there is nothing holding onto a chunk of memory it gets released - to learn more about garbage collection, see: [url=http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/GarbageCollection/Introduction.html]Loading…[/url] Just remember, it's not available on iOS. The closest thing to garbage collection won't be available until the next iOS release. I don't have time tonight, but I'll see if I can throw together some sample code about what you are trying to do. it won't be pretty and depending on my time available tomorrow it may be for iOS rather then OSX, but hopefully it may get you in the right direction. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Button Looping and me!
Top