酷奇每日推荐 2021-09-01
2021-09-01 本文已影响0人
启发禅悟
今天首要的任务是把【酷文奇题】的工程整理下,确保Github上的工程可以顺利的编译。
目标:
Pull Github上【酷文奇题】的工程之后,仅需要Pod Install之后,即可运行工程。
目前的问题如下:
- 无法下载并编译Cocoamarkdown工程,目前Cocoamarkdown是以内嵌的工程加入到项目中的,在上传的Github的时候,貌似是一个链接,这导致下载工程时,只是一个空的工程,没有任何内容。
- 删除不必要的内容,下载工程时,会同时下载很多没有用的内容。Github上的最新版本的内容还是包含了很多已经从工程中删除的内容。
一些策略:
- 将Cocoamarkdown工程以Pod的方式,用CocoaPods进行引入。目前找到了https://github.com/fgulan/CocoaMarkdown,为Cocoamarkdown添加了Pod的方案。
- 之前工程遇到不需要的内容是,采用的是remove reference,这可能是导致Github上没有删除的原因。现在统一进行删除,并重新Push。
查阅资料的时候,翻到了一篇关于面试的文章,觉得里面的题目不错,所以,在这里推荐给大家。
瞧一瞧老外的iOS面试题
这是一些比较开放性的问题,这是我觉得比较赞的地方,相对于问那些非常深入但却偏门的问题,或者存粹的算法问题,我更喜欢这类,可以由浅入深,步步展开。
- What was the latest version of iOS you worked with? What do you like about it and why?
- What is an iOS application and where does your code fit into it?
- What features of Swift do you like or dislike? Why?
- How is memory management handled on iOS?
- What do you know about singletons? Where would you use one and where would you not?
- Could you explain what the difference is between Delegate and KVO?
- What design patterns are commonly used in iOS apps?
- What design patterns besides common Cocoa patterns do you know of?
- Could you explain and show examples of SOLID principles?
- What options do you have for implementing storage and persistence on iOS?
- What options do you have for implementing networking and HTTP on iOS?
- How and when would you need to serialize and map data on iOS?
- What are the options for laying out UI on iOS?
- How would you optimize scrolling performance of dynamically sized table or collection views?
- How would you execute asynchronous tasks on iOS?
- How do you manage dependencies?
- How do you debug and profile things on iOS?
- Do you have TDD experience? How do you unit and UI test on iOS?
- Do you code review and/or pair program?
文章同时也给出了答案,着重讨论了出题的目的和解题的思路,而不是一味的强调所谓的“正确答案”。