0%

参考

  • 《HTML5 权威指南 第 6 章》

使用 HTML 元素的建议:

  • 尽量使用最具体的元素;
  • 不要误用元素;
  • 在文档、网站和 Web 应用系统中元素的使用都要保持一致;

元素速览

文档和元数据元素

阅读全文 »

GitHub 开源框架: OAStackView

UIStackView 是用于布局按行或者按列排布的视图集合的精简接口。

因为 UIStackView 是适用于 StoryBoard 或者 NIB 情况下布局 UI 控件用的,因此参考了两个 Demo 学习使用:

Demo 1

  • 【原文】iOS 9: Getting Started with UIStackView
  • 【译文】iOS 9: UIStackView 入门

Demo 2

  • 【原文】An Introduction to Stack Views in iOS 9 and Xcode 7
  • 【译文】IOS9 Xcode7 下的布局神器 Stack Views
阅读全文 »

UIBlurEffectStyle 模糊效果枚举样式

typedef NS_ENUM(NSInteger, UIBlurEffectStyle) {
    UIBlurEffectStyleExtraLight,
    UIBlurEffectStyleLight,
    UIBlurEffectStyleDark,
    UIBlurEffectStyleExtraDark __TVOS_AVAILABLE(10_0) __IOS_PROHIBITED __WATCHOS_PROHIBITED,
    UIBlurEffectStyleRegular NS_ENUM_AVAILABLE_IOS(10_0), // Adapts to user interface style
    UIBlurEffectStyleProminent NS_ENUM_AVAILABLE_IOS(10_0), // Adapts to user interface style
} NS_ENUM_AVAILABLE_IOS(8_0);
阅读全文 »