- There shouldn't be any backwards compatibility breaks. Please let me know if you find any!
- Note that the project, repo, and folders have been renamed to MGBoxKit
- Optional non-recursive layout:
dontLayoutChildren
- Optional
minWidth
property - Text colour Mush markup: "this string has {#123456|coloured text}"
- New block properties for
onTouchesBegan
,onTouchesEnded
,
onTouchesCancelled
- New UIView convenience CGFloat getters for
top
,right
,bottom
,left
- New line spacing properties for MGLine content:
leftLineSpacing
,middleLineSpacing
,rightLineSpacing
MGBox
now requires theCoreText
framework. Add this to your project.- Also add these new files to your project:
MGLineStyled.m/h
MGMushParser.m/h
Categories/NSAttributedString+MGTrim.m/h
Categories/UIColor+MGExpanded.m/h
MGLine
now has a defaultunderlineType
of none. For tables usingMGTableBoxStyled
, replaceMGLine
withMGLineStyled
, or set yourMGLine
instances to have aborderStyle
ofMGBorderEtchedTop | MGBorderEdgedBottom
.
- Mush Lightweight Markup
- Markup similar to Markdown/Textile, providing bold, italic, underline, and monospace.
- MGLine Now Accepts NSAttributedStrings
- MGBox Borders
- Set individual border colours with
topBorderColor
,rightBorderColor
,bottomBorderColor
,leftBorderColor
. - Set all border colours in one go with
borderColors
. - Optionally modify borders directly with
topBorder
,rightBorder
,bottomBorder
,leftBorder
.
- Set individual border colours with
- MGBox Etched Border Style
borderStyle
property replaces the deprecatedunderlineType
, and is available in allMGBox
subclasses. Allows an etched border style optionally for top/right/bottom/left.
- New MGLine Text Style Properties
- Properties for left/middle/right text colours, shadow colours, shadow offsets, alignments.
See the documentation for usage examples of the new APIs.
-[MGLine underlineType]
, replaced by-[MGBox borderStyle]