Suntech
Q:sdwebimage source code, cell reuse. Ask for a small avatar first, then request a big avatar? What's the deal? Sdwebimagedownloader how to set a picture directly to cell
A: Image URL is the same, compare NSData
Q: Network request replacement BaseURL How to deal with it? Forums, Pc,app different baseurl interfaces
A:afnetworking How to encapsulate the
Q: How to do circular circles?
A: Call the Startanimate method in the completed callback
Q: How to handle three requests returned, with Dispatch group, please handwritten dispatch group, handwriting, no scheduling group, with what?
A: A useful Dispatch Group in the Orange Project
Q: How the Carousel loops, unlimited
Q:cell has a block attribute, the cell inside the reference itself will be circular reference, outside write a Weakcell
The difference between Q:tableview and CollectionView
Q: Empty object sends a message????
A: If self is empty, return to the place where you called objc_msgsend to continue execution
Gome
How to delete elements, hash why fast, time complexity, fast sort (not two while loop) stack
Q: Prevent block circular reference, in addition to using weak what else can be used?
A:__unsafe_unretained will not be set to nil __weak will be nil
Q: Which or all of the multiple block assignments will be executed?
A: Execute the last, Block copy property in the heap area, the variable is re-assigned, and the last assignment is what to say
q:string with copy?
A:string with copy is not changed, block with copy will change??? Or is it the first time the value is assigned??
Q: single example of storing user information, why does not exist directly inside the box? Write a static variable? Writing:?
A: An object created by the singleton pattern always exists in memory weight, can be used everywhere, Singleton, there is only one object in the system, provides the interface of global access. Static modified class instance initialized to nil, two static guarantees only one copy in memory
Q: What happens if you override the set get method at the same time?
@property will fail and rewrite the IVA pointer?
Q: Three objects circular reference, how to handle? Except with weak.
A: Set an object to nil
Suntech, Gome interview Summary