Created
April 20, 2015 06:42
-
-
Save getflourish/19f0995171e335a8a5ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var textStyle = context.selection[0].style().textStyle(); | |
| var predicate = NSPredicate.predicateWithFormat("(style.textStyle != nil) && [style.textStyle isEqualForSync:%@ asPartOfSymbol:nil]", textStyle); | |
| context.document.currentPage().children().filteredArrayUsingPredicate(predicate); | |
| // error: Unable to parse the format string "(style.textStyle != nil) && [style.textStyle isEqualForSync:%@ asPartOfSymbol:nil]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment