
| Phitext: Version 1.2 Released |
|
|
|
| Saturday, 25 September 2010 19:05 |
|
The release of version 1.2 introduces a rewrite of the underlining data structure that manages Core Text frames and some new features including undo support, better text formatting API, custom menu items and more. The framework pricing is transitioning out of the introductory price and is now US$599. If you have previously made a purchase, the login is free; simply login and click the button below to begin the download. The sample application has been enhanced to include custom table controllers and cells to represent style attributes. PhiTextDocument manages a sequence of PhiTextFrames (which contains a Core Text frames); these frames can now comply to the new (to iOS) NSPurgeableData protocol and free it's own memory in response to low memory warnings. PhiTextFrames are now kept in a tree structure to permit efficient access for text ranges or rectangle regions. PhiTextFrame and PhiTextPosition are now associated to a PhiTextLine that gives metrics of the line in the context of the frame and document. PhiTextDocument now has an undo manager, PhiTextUndoManager, which PhiTextEditorView serves up to the system. Action groups are automatically created for typing, copy, paste, delete, autocorrection replacements and style changes. PhiTextUndoManager can be configured to ignore a group (except typing), whereby style changes will not be recorded and the other actions will be grouped with typing. UIMenuItems can be added to a PhiTextEditorView, which will be added to the UIMenuController before it is shown. The editor can also group menu items into pages and manage the display of items into separate pages with a 'More...' item. A number classes to encapsulate the Core Text attributes for NSAttributedString have been introduced to remove the need to work with the C based APIs of Core Text. Namely, PhiTextStyle, PhiTextParagraphStyle and PhiTextFont. PhiTextStyle can be used with PhiTextDocument to apply and retrieve formatting styles from anywhere in the document and also specify a default style for empty documents. PhiTextEditorView will allow a style to be applied to an empty text range in anticipation of inserted text, essentially associating the style to the caret. The sample application now contains custom table controllers and views to display a list of fonts from font descriptors or an array of strings from which the user can choose. A new way to select color based on the concept of a color wheel is introduced. The PhiColorWheelController can be used to display a wedge from a color wheel and two colors can be mixed together to produce any hue or shade. |




Crash Bandicoot Nitro Kart 2
Splinter Cell Conviction
Zynga Poker
Tap Zoo
Angry Birds
Zombie Farm
Texas Poker
iMobsters
Bejeweled 2 + Blitz
Plants vs Zombies