Skip to content

Instantly share code, notes, and snippets.

@kasperkronborg
Last active March 5, 2023 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kasperkronborg/8864283 to your computer and use it in GitHub Desktop.
Save kasperkronborg/8864283 to your computer and use it in GitHub Desktop.
Tip of the day: AppCode live template private interface decleration

Want a smart way to declare a private interface for your Objective-C class and don't want to go through the tedious assignment of doing it yourself? Here's a smart Live Template for you and your AppCode.

@interface $FWE$ ()
$END$
@end

Click 'Edit variables' and in the 'Expression' column you type in fileNameWithoutExtension() and enables the checkmark in 'Skip if defined'.

Happy hacking!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment