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
macOS - Development and Darwin
Objective C, New to @property
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="Raz0rEdge" data-source="post: 1022187" data-attributes="member: 110816"><p>In your main function, you need to create a AutoReleasePool and release it at the end of the function..so add</p><p>[CODE]</p><p>NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];</p><p>[/CODE]</p><p>as the first variable and then before you leave the function, add</p><p>[CODE]</p><p>[pool release]</p><p>[/CODE]</p><p></p><p>Check out <a href="http://www.otierney.net/objective-c.html" target="_blank">Objective-C Beginner's Guide</a>..</p><p></p><p>Regards</p></blockquote><p></p>
[QUOTE="Raz0rEdge, post: 1022187, member: 110816"] In your main function, you need to create a AutoReleasePool and release it at the end of the function..so add [CODE] NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; [/CODE] as the first variable and then before you leave the function, add [CODE] [pool release] [/CODE] Check out [url=http://www.otierney.net/objective-c.html]Objective-C Beginner's Guide[/url].. Regards [/QUOTE]
Verification
How many occurrences of a n-u-m-b-e-r between "d" and "f" in this example...(sdgs6ngklu3gd#f9%)?
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Objective C, New to @property
Top