I have only used Java and Ruby for so long that I no longer enjoy tracking my own memory. I can’t do it, I can. I just do not want.
Any special tricks, libraries or anything else that you learned to work with memory in iApps, put on me here.
I highly recommend getting Started Developing iPhone: Explore iPhone SDK .
, , - Clang Static Analyzer. , . Apple X-Code;)
, . , , , "retainCount" . .
retainCount
"alloc", "new" "copy" "retain", . , .
retain
, "release", "autorelease", .
release
autorelease
. .
. , - , , , , .
, . -.
, , , , . , , , . , , , .
, iPhone. .
. , .
, , , , .
"". , . , , , .
... , Apple . "" , . , , , . : Core Data iPhone ( ), ManagedObjectContext. , , .
, /answrers, . , .
, , Mono iPhone, , iPhone .Net(#, VB.Net ..) .
Dot Net Rocks
http://www.dotnetrocks.com/default.aspx?showNum=454
, , Objective C 2.0 . , .
:
This may be inconvenient based on Java or Python (I did), but once you get used to it, it is just natural. You create objects created with allocor copy, and you must free them, and something else. Most of the time you will create objects with auto-implementation (collections, strings).
alloc
copy
Source: https://habr.com/ru/post/1711018/More articles:ASP.NET CustomErrors - RemoteOnly, where "remote" means outside our network - asp.netJQuery SSN mask - jqueryhow do you show page load time in php? - performanceFlex apps for iPhone - flexCan my website contain GPL code if I provide an API? - apiThe first call to a web service every day is slow - web-servicesHow a Windows service returns information from a user command - c #Visual Studio - Code Bending Improvement - asp.netHow can I align two containers? - htmlПочему этот вложенный код ArrayList генерирует исключение? - javaAll Articles