jessica-hezi / ios_interview_question Goto Github PK
View Code? Open in Web Editor NEW一套 iOS 面试题的 demo
一套 iOS 面试题的 demo
## 1.给定一个宽度任意、高度为1的 UIImageView,以宽度的80%为圆心,进行旋转,请写出实现该动画效果的关键代码。 ## 2.请简单描述一下在子线程中创建并 schedule 一个 NSTimer 的步骤,简要描述一下 NSTimer 在使用过程中可能出现的问题。 ## 3. 如何实现在当前线程等待一个子线程任务执行结束,然后继续执行当前线程任务(比如,使用 NSURLSession 封装一个同步的网络请求 ## 4. 使用 CoreText API 绘制文字“我是**人”,要求字体大小:18,颜色:“我是”黑色,“**人”红色。 ## 5. 请实现如下定义的 UIView Category 方法,返回 self 上用于响应位于点 P 的点击事件的子视图(包含点 P 的最上层的子视图)。 ## 6. 一个数如果恰好等于它的因子之和,这个数就被称为“完数”。例如 6 = 1 + 2 + 3,请找出 1000 以内的所有完数。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.