iOS Interview preparation : iOS general topics for interview

Hi, This is Shubham Mishra a ROR, iOS, Python developer. In this blog we will see top iOS general topics discussion. In the dynamic world we should be updated so as to compete with others hence I have discussed below topics based on my and others interview experience. You can check my post for iOS interview questions set also, iOS interview questions Page 1


Let's Begin the discussion with some of the famous but very general topics in the field of iOS, which every iOS developer must be aware of.

Note: In this post I have discussed the iOS topics in the reference for the interview questions, do not refer if you are looking for the exact code for the implementation. Read below discussion if your are preparing for the iOS interview questions, and want to brush up the general concepts in iOS. 

  • Passing data between the view controllers: Many of the time we come across a situation to pass data between the two view-controllers. In this we may have solve the problem with a way but have you ever though for other ways possible in the iOS. Lest explore all the possible way to pass data between the view controllers in the iOS,

    • Segue, in prepareForSegue method (Forward): In this after creating the segue in the story board, in the controller we have implemented the 'prepare for segue' method, where we are handling multiple segues just before it is leaving the controller.

    • Delegate (Backward): Let's understand it (Below code credit: Swift Delegate explained)            As, that should work. This is of course just code fragments, but should give you the idea.

  • Concurrency in iOS : 
                    
    • Competition is a nice way of saying "driving around the same time more than single job." Concurrency is used very commonly on iOS devices so that you can run activities in the background (such as uploading or processing the data) while maintaining a responsive user interface.
    • GCD (or Grand Central Dispatch) and Operations (previously named NSOperation) are now the APIs that you need to use in iOS to handle simultaneous tasks (as compared to operating directly on threads).
iOS Concurrency - shubham mishra



Lets also understand terminologies used in iOS concurrency while taking the interview:
  • Process: A instance of an executing app in the system
  • Thread: Road to code execution
  • Multithread: Several threads, or several execution routes running concurrently.
  • Competition: Execute several tasks simultaneously in a scalable manner.
  • Queues are lightweight data structures that handle objects in the First-in, First-out (FIFO) order.

 
Now lets also brush up some of the GCD terminologies for the interview:
  • Dispatch Queues: A dispatch queue is accountable for first-in, first-out order execution of a task.
  • Serial Dispatch Queue: A single dispatch queue carries out tasks at once. 
  • Concurrent dispatch queue: A concurrent dispatch queue executes that many functions as this can despite waiting for the tasks to be started to complete.
  • Main Dispatch Queue A sequential queue universally accessible that runs tasks on the main thread of the program.



Ok great, we are done with this post,  

Now if you like my way of talk, lets explore more blogs written by me and my inner knowledge,

Get to know answers for common search on Google : A blog for posts which can help you for daily life problems, such as where to get free images, Topic suggestion for the blog.

Computer Science algorithms and other knowledge share : A blog for posts such as best search algorithm, Top interview questions for diffrent technologies, knowledge share for some frameworks or programming languages for the interview or in general terms.

My ideas to solve real world problems : A blog where me shared and presented my ideas to solve a real world problems, this will be interesting for me.

Future of computer science technology discussed : A blog where me discussed about the future of computer science and new technologies which will change our way for looking to solve problems.

Ruby on Rails Web development Blog : As the name suggest, it is the blog for sharing few knowledge about RoR web development framework.


Liked my blogs, wanna to connect:

LinkedIn   GitHub  |  HackerEarth   ResearchGate  |  Twitter  |  Facebook  |  StackOverflow

Thanks for reading this post, Have a good day :)

 
Image Credit: People photo created by wirestock - www.freepik.com

Comments

Popular posts from this blog

Amazon Interview question from leetcode coding problem 1

Puzzles for the interview which every one should read once

Use ChatGPT for improve your coding quality