TextExpander touch SDK 2.0 adds formatted text, fill-ins support

41 views
Skip to first unread message

Greg Scown

unread,
May 15, 2013, 8:03:54 PM5/15/13
to tetou...@googlegroups.com
The TextExpander touch SDK 2.0 is now available:


The TextExpander touch 2.0 app, currently in review, adds support for formatted text support and fill-ins to TextExpander. The TextExpander touch 2.0 SDK allows you to add support for these to your app.

Here's what's new:

- Adds support for fill-in snippets, if client app implements the SMTEFillDelegate protocol and provides a URL scheme.

- Adds support for formatted text snippets.

- Adds expandPlainTextOnly which defaults to NO and is respected in the expansion/delegate methods

- Adds - (NSAttributedString*)attributedStringByExpandingAbbreviations:(NSAttributedString*)inString;

- Cursor position macro (%|) now works in UITextField and HTML (Previously only worked in UITextView. Impossible in UISearchBar.)

- Adds support for selection range macro (ie. %| select this text %\ )

- Fixes problem where cursor would jump to start of a UITextField after an expansion

- Fixes failure to expand immediately after Cut/Delete of a selection range or immediately after a previous expansion

- stringByExpandingAbbreviations: now returns an autoreleased string (previously returned a retained string)

- Fixes problem where snippetsAreShared could incorrectly return YES when TEtouch has been installed but never launched

- sample project includes two different implementations of fill-in support

- sample project includes a simplistic input accessory view for the iPad's UITextView showing how to insert text in a way that the SDK understands as typing

- requires iOS 5.1 or later/Xcode 4.3 or later (use SDK version 1.2.3 for iOS 3.1/Xcode 3.2.3)


We've moved the SDK to GitHub for your convenience, and we've updated the SDK home page.

We've included a zipped archive for use in your Simulator so that you can play with TextExpander touch 2.0 before it is released. Please copy the unzipped 869B41DE-548F-4092-ADE3-72F3B9B5DCD2 folder to:

[Home] / Library / Application Support / iPhone Simulator / 6.1 / Applications

Quit and re-launch the Simulator, and you should be able to use TextExpander touch 2.0.

We've also created a new tutorial on how to add fill-ins.

If you have questions or comments, please let us know.

Enjoy!

The TextExpander touch Team at Smile

Reply all
Reply to author
Forward
0 new messages