Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 1.4 beta (Read 3325 times)
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3148
Joined: Oct 19th, 2005
Version 1.4 beta
May 5th, 2021 at 4:50pm
Print Post  
Version 1.4 of Diagramming for iOS contains the following new features and improvements -

Undo / redo support
If the undoEnabled property is set to true, the Diagram control tracks changes done to its items and allows undoing and redoing them later by calling the undo and redo methods respectively. Multiple changes could be recorded as a single undoable operation by enclosing them between startCompositeOperation and commitCompositeOperation calls. It is also possible to create custom undoable operations by deriving from the Command class and calling executeCommand with the custom command as argument.

Mac Catalyst support
The framework can now be used in MacOS applications targeting Mac Catalyst platform.

Miscellaneous
  • ImageAlign supports new fitLeft, fitTop, fitRight and fitBottom alignment styles, which resize Image to fit node's boundaries and align it to respective border;
  • Diagram.clicked and doubleClicked events raised when respectively tap or double-tap hasn't hit any item;
  • nodeDoubleClicked and linkDoubleClicked events raised when items are double-tapped;
  • nodeCreating and linkCreating validation events let you prevent item creation;
  • linkHitDistance property specifies how far from a link a tap would be considered a hit;
  • new createDiagramLink overload of the Factory class makes it easier to create links between TreeViewNode items;

If anyone is interested in trying the beta version, please download this archive containing updated framework file -
https://mindfusion.eu/_beta/SwiftDiagram14/Diagramming.xcframework.zip

Any comments, questions and general feedback are welcome.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint