Skip to content
/ yasobjc Public
forked from zhaovinc/yasobjc

yasnippet snippets generator for cocoa/iphone SDK

Notifications You must be signed in to change notification settings

sraj/yasobjc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Yasobjc is a tool for yasnippet snippet generation for objective-c library (cocoa/iphone SDK).

Basic Usage: yasobjc.rb -o DIR file1 file2 ...

-o DIR: The output directory for the snippets generated

Example: find /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/Frameworks -name "*.h" | xargs yasobjc.rb -o ~/.emacs.d/yasnippet/text-mode/cc-mode/objc-mode

which will generate all snippets into standard yasnippet directory.

One snippet is generated per objective-c function, and the snippets are categoried by header file name. For example, all functions inside "NSString.h" will be in "NSString" category.

It's recommended to use ETAGS plus auto-complete library for better completion experience.

About

yasnippet snippets generator for cocoa/iphone SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published