NSTextView-LineNumberView

码农软件 · 软件分类 · 其他开发相关 · 2019-10-20 09:27:37

软件介绍

NSTextView-LineNumberView 可以在 NSTextView 的实例中插入行数,行数视图是被作为 NSRulerView 的子类实现的。

示例:

import Cocoa
// Your view controller
class ViewController: NSViewController {
    // The text view you wish to add line number view to
    @IBOutlet var mainTextView: NSTextView!
    override func viewDidLoad() {
        super.viewDidLoad()
        mainTextView.lnv_setUpLineNumberView()
    }
}

Screenshot

本文地址:https://codercto.com/soft/d/17154.html

API Design for C++

API Design for C++

Martin Reddy / Morgan Kaufmann / 2011-2-18 / USD 59.95

The design of application programming interfaces can affect the behavior, capabilities, stability, and ease of use of end-user applications. With this book, you will learn how to design a good API for......一起来看看 《API Design for C++》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器