How to make yourself a leader in iOS interviews?

Source: Internet
Author: User
Tags gcd http post network function

What kind of employees are most popular with companies?
Some people have been trying to improve themselves, to become the company's welcome employees, however, we should go in which direction to improve ourselves?
100 well-known enterprises this year to iOS face question collection, you want to have here, the enterprise here also has, from the foundation to advanced, Deep bottom, finishing 188 outlines, dry enough, each topic will have a relative answer, because the number of words too much so I sort out a document, document get address, Join the iOS Development Exchange Group: 714042473 free access.
Outline show:
1. The difference between swift and OC
2. Compile the link
3, Synthesize & denamic
4. What are the development tools commonly used in project development?
5, UITableView & Uicollection
6, Nsproxy & NSObject
7. Object & Swift
8. Value Notification & push notification (local & remote)
9. Third-party libraries & third-party platforms
10, Nscache & Nsdcitionary
11. Setneedsdisplay and Setneedslayout methods of UIView
12, Uilayer & UIView
13, Layoutsubviews & Drawrects
14. UDID & UUID
15, CPU & GPU
16, Point (PT) & Pixel (px) br/>17, attributes and member variables
18. The difference between int and Nsinteger
(1) Import and include
(2) @class
19. Classes and objects
(1) What attributes can be declared in a classification extension agreement?
(2) Differences in inheritance and categories
(3) Role of classification
(4) Limitations of classification
20. Category & Extension
21. Foundation
(1) string
(2) String interception
(3) format
22, Nsarray and Nsdictionary
(1) How iOS iterates through arrays/dictionaries
(2) Nsvalue NSNumber
(3) Other
(4) How to avoid circular references
23. What steps does Cfsocket use?
24. What kinds of methods are available to operate the socket in the Core Foundation?
25. What are the different ways to parse an XML file?
26. What is a sandbox model? Which operations are part of the private API category?
27, in the method of an object: Self.name= "Object", and name = "Object" What is the difference?
28. Please briefly explain when Viewdidload and Viewdidunload are called
29. How to create a controller, view
30. Brief description of memory partitioning
31. What is the difference between a queue and a stack?
32. iOS System Architecture
33, the control mainly responds to 3 kinds of events
34. What are the 3 icons for the composition of the Xib file? What is the function of
35. Brief description of the life cycle of the View control device
36, the life cycle of the app project
(1) Life cycle of the application
(2) A brief description of the app startup process, the main file, the main function in what function? What is the role?
(3) Effect of Uiapplicationmain function
(4) Main function
37. What are the basic types of animations? What are the basic styles of a table view?
38, to achieve a simple table display needs to set UITableView what properties, implementation of what protocol?
39. What kinds of core animation transition types are available with Cocoa touch?
40. What is the difference between UIView and Clayer?
41. What are the three core concepts of the drawing function of the Quatrz 2D and briefly describe its role
42, the IPhone OS mainly provides several ways to play audio?
43. Which frame, usage steps are called using the Avaudioplayer class?
44, what kinds of gesture notification method, write clear method name?
45, Viewcontroller didreceivememorywarning how to be called
46. When to use delegate, when to use notification?
47. Declare a constant with pre-processing directive # # to indicate how many seconds are in 1 years (ignoring leap year issues)
48, write a "standard" macro min, this macro input two parameters and return the smaller one.
49. What is the meaning of the keyword const? What about the modifier class? The role of static for classes? and the role of extern c.
50. What does the keyword volatile mean? and gives three different examples
51. Can a parameter be either const or volatile? Can a pointer be volatile? explain why.
52, the role of the static keyword
53. Enumerate the synchronization mechanisms of several processes, and compare their advantages and disadvantages.
54. Ways of communication between processes
55. Cause of Process deadlock
56.4 Necessary conditions for deadlock
57, the processing of deadlock
58. Cocoa Touch Frame
59, automatic release of the pool is what, how to work
60, sprintf,strcpy,memcpy use on what to pay attention to the place
61. Do you know Svn,cvs and other version control tools?
62. What is push
63. Static link Library
64, OC three major characteristics
(1) Encapsulation _ dot Syntax
(2) Inheritance
(3) polymorphic
65. How to achieve polymorphism in OC
66. Advantages and disadvantages of objective-c
67. For OC, what do you think is the greatest advantage and the biggest deficiency? For the shortcomings, there are now no available methods to circumvent these deficiencies to achieve the requirements. If you can, there is no consideration or implementation of the re-implementation of OC function, if so, specifically how to do?
68. OC can be modified and not modified type
69. What do we mean by the Dynamic runtime language of OC?
70. What are the differences between the notice and the agreement?
71. What is a push message?
72. About Polymorphism
73. What is a predicate?
74. Did the project involve the network access function, what objects do you use to complete the network function?
75, Simple introduction under Nsurlconnection class and +sendsynchronousrequest:returningresponse:error: and –initwithrequest:delegate: Two methods of difference?
76, talk about the Object-c memory management method and process?
77. Does object-c have a private method? What about private variables?
78, say the response chain
79. Time Delivery & Responder Chain
80. What is the difference between frame and bounds?
81. What is the difference between a method and a selector?
82, OC's garbage collection mechanism?
83. What is delayed loading?
84. Do you embed two TableView controllers in one view controller?
85. Can a tableview be associated with two different data sources? What would you do with it?
86, when to use Nsmutablearray, when to use Nsarray?
87, give an example of the delegate method, and say the UITableView data source method
88. How many Autorelease objects can be created in the application, is there a limit?
89. If we do not create a memory pool, are there any memory pools available to us?
90. When do I need to create a memory pool in my program?
91. Which methods of class nsobject are often used?
92, what is the simple construction method?
93. How to use Xcode to design a universal application?
94. What are the animated effects of UIView?
95, object-c have multiple inheritance? What's the substitute for nothing? All classes in cocoa are subclasses of NSObject
96, memory management Autorelease, retain, copy, assign set method and meaning?
97, C and obj-c how to mix
98. What is the difference between inheritance and category in implementation?
99. The difference between category and class extension.
100. What are the differences between the protocols in OC and the interface concepts in Java?
101. The difference between the deep copy and the former copy
(1) What is a deep copy of a shallow copy
(2) When do strings use Copy,strong
(3) Memory area where the string is located
(4) Mutablecopy and copy @property (copy) Nsmutablearray arr; What's the problem with this writing?
(5) How to enable a custom class to use the copy modifier
102, for the statement nsstring
obj = [[NSData alloc] init]; What type of object does obj have at compile time and run time, respectively?
103, #import and # include what difference, @class, #import<> and #import "" What difference?
104, Objective-c class can be multiple inheritance? Can I implement multiple interfaces? What is category? How do you rewrite a class by inheriting or classifying it well?
105. What is the difference between #import and # include, @class, #import <> and #import "" What's the difference?
106, write a setter method to complete @property (Nonatomic,retain) nsstring name, write a setter method for completing @property (nonatomic,copy) NSStringName
107. What is the difference between the data types of common objective-c and the basic data types of C? such as: Nsinteger and int
108. What are the characteristics of an ID declared object?
109, objective-c How to memory management, say your views and solutions?
110. What is the difference between an atom (atomic) and a non-atomic (non-atomic) attribute?
111, see the following program, the first nslog will output what? What is the Retaincount of str? What's the second and third one? Why?
112. What are some of the principles of memory management? Follow the default rules. What do those keyword-generated objects need to be released manually? How to avoid memory leaks when combined with property?
113. How to perform performance testing on iOS devices?
114. Design mode
(1) MVC pattern
(2) Single case mode
(3) MVVM mode
(4) Viewer mode
(5) Factory mode
(6) Proxy mode
(7) Strategy mode
(8) Adapter mode
(9) Stencil mode
(10) Appearance mode
(11) Create a pattern
() MVP Mode
115. MVVM Mode principle Analysis
116, talk about several commonly used methods of transmission value
117. When to use delegate, when to use notification
118, for the understanding of a single case
119, from the design mode angle Analysis agent, notice and KVO difference? What design patterns are used by the framework that the iOS SDK provides, and why is it used? What are the advantages and disadvantages?
120, kvo,nsnotification,delegate and block difference
121. Runtime (Runtime)
122. runtime/message Forwarding mechanism
(1) Runtime
1.1. What is runtime
1.2, runtime What to use, using the scene
(2) Message mechanism
2.1, the principle of message forwarding
2.2. What is SEL Isa super cmd
(3) Dynamic binding
123. Crash Analysis using bugly
124, Jenkens continuous packaging
125, KVO & KVC
(1) Bottom-level implementation
(2) KVO overview
(3) KVC Overview
126, what is KVO and KVC?
Kvo and KVC
(1) How to call the private variable, how to modify the system's read-only property, KVC the search order
(2) What is the key-value, what is the key path
(3) Realization mechanism of KVO
(4) KVO calculation properties, setting dependent keys
(5) KVO Collection Properties
(6) KVO usage scene
127. Sdwebimage (Implementation mechanism of sdwebimage)
(1) Main functions
(2) Cache
(3) Memory cache and disk cache
128. Framework Sdwebimage caching mechanism
129. Network security
Security Principles for passwords
130. Multithreading
(1) Multithreading concept
(2) The role of multithreading
(3) Usage scenarios
131. What is the difference between Nsoperationqueue and GCD?
132. The difference between GCD and Nsthread
133. What are the differences and connections between processes and threads?
134, do not asynchronously perform two time-consuming operations, such as two time-consuming operations are completed, and then back to the main thread to perform the operation. Use queue groups ( dispatch_group_t) To achieve these requirements quickly and efficiently
135, when the project choose to use GCD, when to choose Nsoperation?
136. Compare multi-Threading Technology in iOS
137. Multithreading Advantages and disadvantages
138. Delayed operation in iOS
139. Serial queue synchronous execution and asynchronous home row
140. Resource Robbing solution
141. dispatch_barrier_asyncWhat is the role?
142, in multi-threaded core data, nsc,moc,nsobjectmodel which need to be created or passed in the thread? What kind of strategy do you use to achieve this?
143, + (void) load vs. + (void) initialize difference between load and initialize methods
144, HTTP Post and the difference and contact, in practice how to choose them?
145, talk about the difference between udp/tcp?
146. What is the difference between HTTP and scoket communication? Socket connection Related library, tcp,udp connection method, http several common ways?
147, HTTP requests commonly used in several ways
148. Block
(1) What happens when a block is used and how is the reference loop resolved?
(2) How to modify the block external variables within the block?
(3) Block & Mrc-block
(4) What is block
(5) Block implementation principle
(6) About block
(7) What are the advantages of using block and using delegate to complete the delegation mode?
(8) Multi-threading and block
(9) to talk about the understanding of block? and write a uivew animation using block execution?
(10) Define the block definition of the above code (answer the question)
149, Weak, strong, copy, assign use
(1) What is the difference between using the weak keyword and comparing assign?
(2) How to use the Copy keyword?
(3) Weak & Strong
(4) What is the problem with this notation: @property (copy) Nsmutablearray *array
(5) How to make your own class with the copy modifier? How do I rewrite the setter with the Copy keyword?
(6) What is the nature of @property? How Ivar, Getter, setter are generated and added to this class
(7) Ivar, Getter, setter is how to generate and add to this class?br/> (8) with @property declared nsstring (or nsarray,nsdictionary) often use the Copy keyword, why? If you use the strong keyword, what might be causing the problem?
() How does the runtime find the corresponding IMP address via selector?
(one) Retain and copy differences
(a) Copy and strong use?
NSString and Nsmutablestring, the former thread-safe, the latter thread unsafe.
Readwrite,readonly,assign,retain,copy,weak, the role of the strong,nonatomic attribute
150, OC and JS Interaction (iOS and H5 mixed)
TableView Performance Optimization
UITableView Core Idea
The optimization of UITableView is mainly from three aspects:
151. Why is TableView card?
152, UITableView
(1) UITableView's core thought
(2) Define Height
(3) Custom height principle
(4) Performance optimization of the commonplace UITableView
(5) Calculation of cell height
(5.1) Cell with high cell and dynamic height
(6) TableView rendering
(7) Reduce the number of views
(8) Reduction of unnecessary drawing operations
(9) Do not add subview to cell dynamically
(10) Asynchronous UI, do not block the main thread
(11) load the corresponding content on demand when sliding
(12) off-screen rendering problems
(13) Off-screen rendering optimization scheme
153, the Ring letter SDK use
154. bluetooth
155. How do I save data in the iphone app?
156. What is CoreData?
157. What is a nsmanagedobject model?
158. What is Nsmanagedobjectcontext?
159, the iOS platform how to do data persistence? Is there any connection between CoreData and SQLite? is coredata a relational database?
160, CoreData & SQLite3
161. Data storage
(1) Data storage technology
(1.1) Several ways to store data
(1.2) respective characteristics (interview test center)
(1.3) Preference Setting (Interview center)
(1.4) Filing (interview test center)
(2) database technology (SQLITE&AMP;COREDATA)
162. What is the difference between objective-c heap and stack?
163. Memory Leak & Memory Overflow
164, Stacks & stacks
(1) Stack space allocation difference
(2) How the stack cache differs
(3) Stack data structure differences
165. Memory Management
(1) Memory area
(1.1) difference between heap and stack
(1.2) iOS memory area
(2) memory management of strings
(3) How do you optimize memory management
(4) Circular reference
(5) Use of autorelease
(5.1) Factory method Why not release objects
(5.2) Arc down autorelease usage scenario
(5.3) How the auto-release pool works
(5.4) Avoid peak memory
(5.5) Mix of Arc and MRC
(5.6) Nstimer memory Management
(5.7) How arc is implemented
166, Runloop
167. Fmmpeg Frame
168. Fmdb Frame
169, 320 frame
170. What is the relationship between Uikit and Coreanimation and coregraphics? Have you used coreanimation and coregraphics in development?
171, Trasform
172, the point of animation and layer, the difference between the view
173. Layers and views
174. Parallel Hierarchical relationships
175, the ability of the layer
176. Using Layers
177. Core Drawing
(1) The difference between view and layer
(2) The difference between new and Alloc Init
178. Animation
179, Uicollectionview
(1) How to achieve waterfall flow, water layout
(2) The difference between the use and the UITableView
180, UIImage
181, WebView
182. Description Nine Gongge algorithm
183. Implement the picture Carousel diagram
184. iOS Network framework
185. Network
(1) Network Foundation
(2) Network transmission
(3) AFN
186, Afnetworking & ASIHTTPRequest & mknetworking
(1) Bottom-level implementation
(2) Data processing returned to the server
(3) Listening request process
(4) Ease of use in file download and file upload
(5) Network monitoring
(6) Other useful functions provided by ASI
(7) Mknetworkkit
187. Performance optimization
188. Algorithm
These are all topics and categories, each topic will have a relative answer, because the number of words too much so I sort out a document, document get address, add iOS Development Exchange Group: 714042473, or directly add small QQ direct free access: 2842904373, Let's build the most popular iOS programmers!

How to make yourself a leader in iOS interviews?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.