Date: June 2025
- What type of security you take care when you are developing mobile application?
- What kind of data you are sharing with backbase (third party framework)?
- How you can trust third party (backbase) unit when you can sending data by service?
- Difference between .xcframework and .framework.
- Why people should choose MVVM rather than MVC?
- If I can write UI part at top and business login at bottom, so I can get same coverage using MVC, then why MVC?
- Why did you choose MVVM instead of other architecture as Lead?
- If you syncing data in background mode, How you can sure that you are getting updated data or you are seeing data on mobile app is updated one?
- You have one ParentView and 3 custom views ViewA, ViewB, ViewC. So I want to display only one view depending on whatever string I am passing. Support I am passing ViewA, then ViewA should be displayed. Write a code for that. Use a propertywrapper.
- Can you use custom SwiftUI view in UIViewController?
- What is meaning of some in var body: some View { ?
- what is difference between any and some? What will happen when we use any instead of some on above question?
- What is state in swiftui?
- what is difference between state and stateobject?
- In view model, what data should be, state or stateobject?
- In viewmodel, declared as observedobject or stateobject?
- In SwiftUI, instead of using struct to make View, if we used class what happened? Why we use struct?
- What ViewController is alway class and View in swiftUI is struct?
- Which you are going to use, class or struct, how you decide?
- How can you sure that a class is thread safe?
- How many places you used actor in your project as it is thread safe instead of class?
- Without using actor, how you can make your class thread safe? Ans: Confirm sendable protocol.
- What is closure?
- Can you write a code for closure and pass this to function and use it?
- Write a code url session to fetch data and use completion handler here. Use Result. Decode in success block and send data to back.
- In above we want to generic data to fetch. Instead of One model, I want to write a method to fetch data generic way.
- What are property wrappers in swiftui?
- Can we create custom property wrapper?
- var arr = ["str", 1, nil] as [Any?] -> Filter array with having only string values.
No comments:
Post a Comment
Thanks