iOS questions-Summary, do you have a solid foundation?

Source: Internet
Author: User

1, #import和 The difference of # include, what @class represent?

2. What is the difference between a shallow copy and a deep copy?

3. What is the difference between category and class extension in objective-c?

4. What is the difference between objective-c heap and stack?

5. What are some principles of memory management?

6, Nsmuatablearray *array = [Nsmuatablearray array] need to be released?

7. What is the essence of @property

8, delegate with what property modification, arc under and MRC under what is different, why?

9. What are the reasons for the Nsstring,nsarray,nsmutablearray of the property?

10, block with what attributes to decorate, why?

11. What is the difference between __block and __weak?

12. What is the difference between assign and weak?

13. Write a setter method separately

Complete @property (nonatomic,retain) NSString *name and @property (nonatomic,copy) NSString *name

14, @autoreleasepool {for (Long i = 0, i < Largenumber; i++) {Person *per = [[Person alloc] init];[ Per Autorelease];}} What is the memory problem and how to correct it?

15, how to write a single case?

16. What is the difference between post and get?

17. What is the difference between HTTP and tcp,udp?

18. Which headers are set by HTTP?

19. What is the difference between HTTP and HTTPS?

20, Network Seven layer protocol (HTTP,TCP/IP in which layer)?

21. What are the common multithreading methods?

22. What are the advantages of nsoperation than GCD, and how to handle thread dependencies

23. The relationship between Runloop and thread

24. Runtime Understanding

25. Have you encountered a deadlock in the actual project? How to handle deadlock problems

26, Runloop have several modes, runloop receive several input sources

27, how to handle the sliding UI process, the ad Carousel Graph stop polling problem, using Runloop which mode

28, there is a requirement, you need to complete n requests after all to perform an operation, how to handle

29, weak will have performance cost? What to use instead

30. What is the principle of autorelease pool?

31, the principle of runloop

32. The relationship between Runloop and Autoreleasepool

33. Does block extend the life cycle of the object?

34. SSL Encryption Process

35. What are the network encryption methods and their respective principles?

36, Afnetworking principle

37, Sdwebimage frame principle and how to do the picture cache

38. Bubble sort/fast sorting algorithm

39. What is the difference between Calayer and UIView?

40, iOS has several kinds of animation, what is each?

41. Write a moving animation with a familiar animation

42. The difference between Instancetype and ID

43. How to do code adaptation

44, Xib How to deal with the dynamic view layout

45, how to deal with the interaction between WebView and JS

46. Customize a Carousel Diagram yourself

47. How to heat repair?

48. Understanding of MVVM and how to practice it

49, how to carry out automated packaging?

50. How to package the network request two times

51, such as developers to call the release package and enterprise package, how to do not change the bundle ID in the case of rapid packaging?

52. What are the advantages and disadvantages of block than delegate?

53, Fmdb is thread-safe?

54, TableView from which aspects to optimize the smoothness?

iOS questions-Summary, do you have a solid foundation?

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.