Comments (1)
- 在 swift 里混编 OC 代码需要需要使用桥接文件来实现混编,可以在网上找找相关例子
- 由于 混编机制,NudeIn 无法使用,可以改用 NUDTexView
import UIKit
import NudeIn
class ViewController: UIViewController {
var label : NUDTextView?
override func viewDidLoad() {
super.viewDidLoad()
label = NUDTextView.make({ (make) in
make?.text()("d")?.color()(UIColor.red)?.font()(13)?.aligment()(NUDAlignment.aliCenter)?.attach()
})
}
}
from nudein.
Related Issues (20)
- 剔除 mergeComp 函数
- No English document HOT 1
- 和我的想法差不多啊,连语法都类似~ HOT 1
- 1.2.4版本滚动问题修复
- 怎么显示html HOT 1
- 是否支持文字竖版?谢谢 HOT 1
- TODO:添加显示 html 功能
- bug:自定义方法无法用在模板里
- 背景色是否支持渐变色 HOT 1
- 希望可以增加一个增加文字序号的功能 HOT 1
- 如何更新文本内容了 HOT 1
- 无法透传点击事件 HOT 3
- 怎么计算文本宽度? HOT 4
- NUDLinkAction里的url属性怎么赋值? HOT 2
- 在cell里要怎么使用 HOT 1
- TODO:remake功能 HOT 1
- TODO:高亮 HOT 1
- TODO:innerText功能
- 感谢作者的开源作品, 有个问题, 绑定点击事件相关. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nudein.