Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
is Memory management in swift is best comparatively with Objective C ?
Ofcourse. This is one of the main advantage of SWIFT over objective C. SWIFT supports ARC for all APIs where as in objective C,CoreGraphics APIs are not covered under ARC and so developer has to explicitly handle this.Objective C is an old code- more than 30 years ., where as SWIFT is new with better compilers. So go for it.
In Objective-C, ARC is upheld inside the Cocoa APIs and object-oriented code; it isn't accessible, nonetheless, for procedural C code and APIs like Core Graphics. This implies it turns into the software engineer's obligation to deal with memory administration when working with the Core Graphics APIs and other low-level APIs accessible on iOS. The tremendous memory releases that a developer can have in Objective-C are unthinkable in Swift.
ARC in Swift works crosswise over both procedural and object-oriented code, it requires not any more mental context switches for iOS application developers, even as they compose code that touches lower level APIs—an issue with the present version of Objective-C.