Sobes.tech

In which case should models be declared as classes and in which as structs in MVVM?

Junior — Middle
264

struct CustomButtonStyleView: View { var body: some View { VStack { Button("Button") { print("Tapped") } } .buttonStyle(CustomButtonStyle()) } } private struct CustomButtonStyle: ButtonStyle { func makeBody(configuration: Configuration) -> some View { configuration.label .padding() .foregroundColor(.white) .frame(maxWidth: .infinity) .background(Color.red) .clipShape(RoundedRectangle(cornerRadius: 8)) } }

Senior
264

Explain the differences between the 'map' and 'flatMap' methods when working with collections or data streams.

Junior — Middle
264

What debugging tools do you use when working with code?

Junior — Middle
264

Can you list the main types of collection data structures used in programming?

Junior — Middle
264

Can you explain what a graph is in the context of computer science and data?

Junior — Middle
264

Can you explain what is meant by an object in the Swift programming language?

Junior — Middle
264

Can you explain the principle of operation and purpose of points in the context of development or architecture?

Junior — Middle
264

What image formats are not supported by the UIImage class in iOS?

Junior — Middle
264

What is the impact of using the @objc dynamic annotation in code?

Junior — Middle
264

Can you explain the principle that involves reusing code without duplicating it?

Junior — Middle
264

Does the 'let' keyword ensure safety when working concurrently from multiple threads?

Junior — Middle
264

How do ColdPublisher and HotPublisher differ in principles and application?

Junior — Middle
264

What are the main disadvantages or limitations of the Service Locator pattern encountered in practice?

Junior — Middle
264

To which categories do collections in Swift belong?

Junior — Middle
264

How do you structure the process of working with components for interface facade layout when creating an application from scratch?

Junior — Middle
264

Can you explain how access to an object is implemented in a hash table within the system?

Junior — Middle
264

Is automatic garbage collection, similar to GC in other languages, enabled in Swift?

Junior — Middle
264

Have you applied an automatically scalable size of elements in the table?

Junior — Middle
263
/188