blog
blog copied to clipboard
A personal blog
1. overide antd component default style ```tsx import React from 'react'; import Button from 'antd/lib/button'; import styled from "styled-components"; const StyledButton = styled(Button)` color: palevioletred; font-weight: normal; :focus { color:...
[Stateful or Stateless widgets?](https://flutterdoc.com/stateful-or-stateless-widgets-42a132e529ed) [UI Inspector](https://flutter.dev/docs/development/tools/inspector) [Add border to widget](https://medium.com/@studymongolian/adding-a-border-to-a-widget-in-flutter-d387bc5d7cff)
项目中经常会在**Closure**使用**unowned** 和 **weak** 修饰 **self** 对象避免循环引用所带来的坑 Closure里面会用到self的地方,一般都是这样处理 ```swift {[unowned self] in } ``` 但是在一个网络请求的**Closure**回调里面,这样后来发现在这个**Closure**执行之前, **self** 已经被释放了 ```swift {[weak self] in if let weSelf = self{ 执行代码 } } ``` **swift**...
## Development Configure [Add Hot Reloading to Xcode 9](https://medium.com/@robnorback/the-secret-to-1-second-compile-times-in-xcode-9de4ec8345a1) [Injection App](https://github.com/johnno1962/InjectionIII) ## Layout and UI [Elegant iOS form builder in Swift ](https://github.com/xmartlabs/Eureka) [Creating UIViews programmatically in Swift](https://medium.com/written-code/creating-uiviews-programmatically-in-swift-55f5d14502ae) [Crop images](https://github.com/TimOliver/TOCropViewController) [PureLayout...
## VirtualBox网络连接方式概要 1. NAT 网络地址转换模式(NAT,Network Address Translation) 2. Bridged Adapter 桥接模式 3. Internal 内部网络模式 4. Host-only Adapter 主机模式 VirturalBox为每个虚拟机提供八种虚拟的PCI 网卡,对于每一种虚拟网卡,你可以从下列六种网络硬件中任选一种: ``` AMD PCNet PCI II (Am79C970A) AMD PCNet FAST III...
1. Springboot STS 授权集成 2. web前端/ IOS端 使用
## Inheritance **Class** can inherit *methods*, *properties*, and other *characteristics* from another class. When one class inherits from another, the inheriting class is known as a **subclass**, and the class...