mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-26 21:40:44 +00:00
Fork of the Cocotron for Darling
5300f80f18
Fix issue where a layout manager's NSTextStorage could be `nil` at initialization but later set by introducing the `_setTextStorage:` method to NSTextView. Add stubs a for missing properties in NSTextView. Refactor `firstTextView` to properly find and return the first text view, or `nil` if there are no text views. Use 64-bit ready types where applicable. Relocate unrelated code from _setTextStorage |
||
---|---|---|
AppKit | ||
Cocoa | ||
CoreData | ||
CoreGraphics | ||
CoreText | ||
examples | ||
formatting | ||
Onyx2D | ||
QuartzCore | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
LICENSE | ||
README.md |
The Cocotron
Darling's fork of the Cocotron
Code Formatting
clang-format
requires a patch to correctly format ObjC code
Patch Instructions
Run cd formatting; ./build.sh
to compile the patched clang-format
from source
Formatting Instrcutions
Run cd formatting; ./format.sh
to format the code