TOKYO (MacHouse) – We still have 10 days left this month. So far, I’ve released five applications so far in March, I believe. And I’m ready to introduce another one. It’s a Mac application that I submitted to Mac App Store several hours ago. This new software release is called attributedCode.
attributedCode lets you design an attributed string (NSAttributedString & NSMutableAttributedString) and generate Objective-C code for it at the same time and in real time. It supports two development platforms – OS X and iOS. Depending on which development platform you choose, you will end up with different lines of code. attributedCode supports such styled text attributes as text color, text background color, text alignment, underlining, striking-through, text shadow, kerning (space between letters), paragraph (space between lines), text stroke. It doesn’t just let you generate Objective-C code. It also lets you save current attributed text as an image file. Furthermore, you don’t have to worry about losing progress after quitting the application. You can let the application save text attributes internally. Also, you can save current progress as an application document file so that you can reproduce last progress at any time.
- Use text attributes such as text color, text background color, text alignment, underlining, striking-through, text shadow, kerning, paragraph, text stroke to design an attributed string and generate Objective-C code for it.
- Choose OS X or iOS as a development platform.
- Write Objective-C code to a text file. Or get code by clicking on a disclosure button that opens a popover window.
- Save current attributed text as an image file (BMP, GIF, JPEG, JPEG 2000, PNG, TIFF).
- Send Objective-C code to a printer.
- Let the application save current text attributes internally. Choose Load Settings under attributedCode to load saved settings at any time.
- Save current progress as an application document file. Double-click on an application document file to reproduce last progress.
- Add fonts that you frequently use to your favorite font list.
- Generate Objective-C font functions for OS X and iOS that will return a valid font object when the selected font doesn’t support bold or italic typefaces.
- Define your own NSMutableAttributedString variable name.
- Define your own NSTextField/UILabel name, to which an NSMutableAttributedString object will be set.
- The application supports the retina screen. (tested with 2014 2.6 GHz 13″ MacBook Pro)
- Languages: English and Japanese only
- Application file size: 10.9 MB.
- The application comes with a complete user’s guide written in English. (Choose Help > User’s Guide.)
- The application comes with a 11-page introduction window, giving the user a quick tour over how it works.
- 10.8 (tested with 10.8.4), 10.9 (tested with 10.9.5), 10.10 (tested with 10.10.0)
- 64-bit system
- If an input text string contains one or more line breaks, the user must manually replace the dummy replacement mark with \r\n.
- The text color attribute and the text stroke attribute cannot be used at the same time.
- Not all fonts support bold and italic typefaces. There is no guarantee that the selected font on this application is also available on iPhone Simulator or iOS devices. Moreover, there is no guarantee that bold and italic typefaces are applicable to iPhone Simulator or iOS devices when the same font is also available to them.
1.1.0 (Released on August 10, 2015)
- The user now has options of applying both fill and stroke colors or a stroke color only to the text string. Use radio buttons inside the fill & stroke group box at the bottom for these options.
- Save Settings and Load Settings are revised for the above accordingly.
1.0.7 (Released on July 26, 2015)
- Fix: The printing feature was not compliant with the page size set by Print Setup.
- Minor changes are made to the code shown inside the popover window at the bottom-left corner.
1.0.5 (Released on April 16, 2015)
- Fix: The application could stay open even after the user quits it if the Quick Tour window is still open.
- Fix: A saved image for the current attributed string was not properly created for a Retina display.
1.0.3 (Released on March 28, 2015)
- The application allowed the user to use special characters and non-standard ASCII letters to make a variable name and an NSTextField name (or a UILabel name for iOS).
- The main application now window supports the fullScreen mode.
- The wait period after choosing Save Settings or Load Settings is reduced to 3 seconds.
- Another minor bug is fixed in relation to to Save Settings and Load Settings.
Application user’s guide is available (only in English). Click here to access it online.
Click here to download a trial version. This trial version will remain fully functional for 7 days, starting from the very moment you first launch it.
There is no video tutorial at this time.
attributedCode is a product of MacHouse.
Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. Mac App Store is a service mark of Apple Inc.