Skip to content
  • Home
  • About us
  • Contact
  • Privacy Policy
  • Disclaimer
  • Swift Online Compiler
iOS Interview Questions and Tutorials

iOS Interview Questions and Tutorials

Category: Blog

Your blog category

Value Types and Reference Types in Swift

Posted on November 26, 2023 By Sid No Comments on Value Types and Reference Types in Swift

  We can categorise types into two main groups: Value types and Reference types in Swift. The distinction between them is crucial because it affects how data is managed, copied, and passed around in your code. 1. Value Types: Examples: Structs and Enums Characteristics:  Instances of value types are copied when they are assigned to…

Read More “Value Types and Reference Types in Swift” »

Blog

Difference between Array and Set

Posted on November 26, 2023 By Sid No Comments on Difference between Array and Set

Arrays and sets are both collection types in Swift, but there are some key difference between  Array and Set in terms of their characteristics and use cases. Array: Ordering: Array: Elements in an array are ordered and have a specific index. Accessing Elements: You access elements in an array using their index, which starts from…

Read More “Difference between Array and Set” »

Blog

Top iOS Interview Questions and Answers

Posted on November 24, 2023July 10, 2024 By Sid No Comments on Top iOS Interview Questions and Answers

In this comprehensive tutorial, we will try to cater to Top iOS Interview questions and Answers.  We aim to address key iOS interview questions and provide insightful answers to assist you in thorough preparation and effective revision for your upcoming interview rounds. Q.1 What are value types and reference types in Swift and When to…

Read More “Top iOS Interview Questions and Answers” »

Blog

2D Array in Swift

Posted on November 1, 2023November 23, 2023 By Sid No Comments on 2D Array in Swift

2D array in Swift examples Q.1 Given a matrix find row-wise sum. Sol> var matrix = [ [1, -1, 4, 3], [2, 6, -1, -2], [6, -1, 0, 3] ] func rowWiseSum(matrix: [[Int]]) {     for row in 0..<matrix.count {         var sum = 0         for col…

Read More “2D Array in Swift” »

Blog

Posts pagination

Previous 1 2 3

Most Asked iOS Interview Questions

  • Top iOS Interview Questions and Answers

Categories

  • Associated Types(7)
  • Blog
  • Dictionary in Swift(20)
  • Initializers
  • Property Wrapper
  • Singleton in Swift
  • User Defaults(4)
  • XCode 15 Errors

Recent Comments

  1. Sid on Cycle inside MyApp; building could produce unreliable results
  2. Anominous on Cycle inside MyApp; building could produce unreliable results
  3. Aisha on @objc Attribute in Swift

Recent Posts

  • Enums in Swift: Brief Explanation with Code Examples
  • Higher-Order Functions in Swift: Brief Explanation with Code Examples
  • Mutability in Structs and Classes in Swift
  • Delegate Pattern in Swift
  • resueIdentifier in Swift

DSA in Swift

  • 2D Array in Swift: Interview Questions

Copyright © 2025 iOS Interview Questions and Tutorials.

Powered by PressBook WordPress theme