seedante / ios-note Goto Github PK
View Code? Open in Web Editor NEW个人笔记,包括一些在公众号发表的文章的加长版
个人笔记,包括一些在公众号发表的文章的加长版
你好
我几个demo在swift3.0里没法运行,语法转成了3.0也无法正常运行
Modal转场实践 中提到
UIKit 已经为 Modal 转场实现了多种效果,当 UIViewController 的modalPresentationStyle属性为.Custom 或.FullScreen时,我们就有机会定制转场效果,此时modalTransitionStyle指定的转场动画将会被忽略。
我理解的是如果要定制自定义的转场效果,必须将modalPresentationStyle 设置为.Custom 或者.FullScreen。但是我尝试将 modalPresentationStyle 设置为.Custom 和 .FullScreen 以外的其他值时,发现也会执行自定义的转场效果,不知道我这里是否理解错误了?
How can we use custom UIPresentationController
in custom ContainerViewController
?
If we actually cannot do that, can I mimic the ContainerViewController
behaviour with a custom UIViewController
using presentViewController
and setting the transitionDelegate
of the ChildViewController
/PresentedViewController
to the CustomViewController
. Combining with the PresentationController
, can I achieve the same behaviour as addChildViewController
?
Swift的代码不是很理解,期待博主能够更新或者推荐 Objective-C 版本的详解。
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.