strong, weak, assign property attributes define how memory for that property will be managed.
Strong means that the reference count will be increased and
the reference to it will be maintained through the life of the object
Weak ( non-strong reference ), means that we are pointing to an object but not increasing its reference count. It’s often used when creating a parent child relationship. The parent has a strong reference to the child but the child only has a weak reference to the parent.
<> Every time used on var
<> Every time used on an optional type
<> Automatically changes itself to nil
Posted Date:- 2022-07-09 06:39:45
What is the Swift main advantage ?
How many are there APIs for battery-efficient location tracking ?
How many different annotations available in Objective-C ?
What is Facade Design Pattern?
Why is design pattern very important ?
What is Platform limitations of tvOS?
What’s the difference between the frame and the bounds?
What is the difference between a process and a thread?
What is the difference strong, weaks, read only and copy?
How can you implement storage and persistence in iOS?
What do you mean by dynamic dispatch?
State the difference between strong, weak, read only and copy.
Explain the function of the completion handler.
Explain TDD (Test-Driven Development).
State the difference between KVC and KVO in Swift.
What is the JSON framework supported by iOS?
What are generics in swift and write its usage?
What do you mean by lazy property in iOS?
What are the important features of Swift?
What do you mean by the SpriteKit and SceneKit framework in the context of game development?
State the difference between App ID and Bundle ID?
Write different ways to achieve concurrency in iOS?
What is the framework that is utilized to build an application's interface for iOS?
Which programming languages are used for iOS development?
What is ARC (Automatic Reference Counting)?
what is GCD (Grand Central Dispatch) in iOS.
What do you mean by deep linking in iOS?
State the difference between Android and iOS.
What is an iOS developer and what are his responsibilities?
What are different types of iOS Application States?
What is @synthesize in Objective-C?
Why don’t we use strong for enum property in Objective-C?
What is made up of NSError object?
Explain Compilation Conditions
What is the difference between Synchronous & Asynchronous task?