General Tab
With Put results on pasteboard ON, the code generated by Accessorizer is automatically placed on the pasteboard. You can then paste your results where you need.
Check for updates is in the eSellerate, licensed version. The Mac App Store version has update notifications via the App Store.
Miniaturize main window at launch automatically puts Accessorizer in the Dock upon launch. After you’ve set up your coding style and general preferences, you most likely will want to miniaturize Accessorizer to the Dock to get it out of your way. Doing so has the advantage of keeping Accessorizer’s main interface hidden while you work in Xcode and leverage Accessorizer’s services.
Accessorizer has special support for Xcode and TextMate.
With Activate editor after Service or Action turned on, after Accessorizer generates code via a Service or an Action, your editor will become the active application. Generally, minimizing Accessorizer to the Dock will keep the main interface from appearing. If Xcode is in Full Screen mode, Accessorizer services and auto-activation continue to work and your Xcode workspace stays current.
You can have the Action Menu open under your current mouse location. You can also have it appear as a status item (menubar item). Both can be ON at the same time. However, if both are on, invoking the Action Menu via the global hotkey:
shift-ctrl-cmd-0
(shift control command zero) will default to under the mouse. You can still open the status item by clicking on the menubar.
The Action Panel differs from the Action Menu in that the Action Panel is a floating panel that always stays open, even after making a selection from the buttons in the panel. While the Action Panel can be driven by the keyboard provided you have all controls turned on in the System Preferences...Keyboard Shortcuts turned ON, the Action Panel is intended generally for mouse users or for those who want to keep Accessorizer actions always in view.
Automatically paste at editor insertion point, which requires Xcode activation to be turned ON, and then invoking an action via the Action Menu or by simply invoking cmd-v is a key feature that makes working with Xcode a seamless process. It’s important to understand that once you generate an action from the Action Menu or Action Panel, Accessorizer will insert the results wherever your Xcode’s insertion point is located in your file. Be cognizant of where that insertion point is. It’s important to move your insertion point to where you want your code to go before you generate an action.
Sometimes, however, you want to select some code, request an action, and paste the results on TOP of the selected code thereby replacing the selected code. For example, when writing @property statements, you could type out temporary ivar declarations such as:
@interface MyClass.h
@end
id delegate;
NSString *name;
float frequency;
NSArray *array;
IBOutletCollection(UIImageView) NSArray *imageViews;
1)select the temporary ivar declarations and invoke the Accessorizer Action Panel Service
2)then just cmd-v
and those temporary ivar declarations now will be replaced with:
@property (nonatomic, weak) id delegate;
@property (nonatomic, copy) NSString *name;
@property (nonatomic) float frequency;
@property (nonatomic, strong) NSArray *array;
@property (nonatomic, strong) IBOutletCollection(UIImageView) NSArray *imageViews;
Wait! I didn’t select an action from the Action Menu, how did Accessorizer know to generate my properties? At the bottom of the General Tab panel is an important NSPopup where you can select a Default action for panel. This action is a default choice whenever you invoke the Accessorizer Action Panel service.
If you have a selection such as Declaration or Implementation, just invoking the Accessorizer Action Panel service will also behind the scenes, generate Declaration or Implementation. Note, just invoking the service will not automatically paste at insertion point. This is because doing so would paste over the code you selected to be serviced and usually you do not want that to happen. The Default action is a convenience so you don’t have to choose an action from the Action Menu or Action Panel.
But while the invoking a Default action via the Accessorizer Action Panel service won’t automatically paste into Xcode, the results are still on the pasteboard, so you can paste your declaration results where you want using cmd-v.