Last active
August 29, 2015 14:00
-
-
Save tokorom/11209159 to your computer and use it in GitHub Desktop.
retrive ios keywords
This file contains 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
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/Frameworks | |
find . -name "*.h" | xargs egrep -o '[-+]\s+\([^/]*;' | egrep -o '[-+]\s+.*' | sort | uniq > method_defines.txt |
This file contains 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
cd ~/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.AppleiOS7.0.iOSLibrary.docset/Contents/Resources/Documents/documentation | |
find . -name "*.html" | xargs egrep -o '[a-zA-Z][a-zA-Z0-9_]{3,}[a-zA-Z0-9]' | sed '/\//d' | sort | uniq > keyword.txt | |
find . -name "*.html" | xargs egrep -o '[a-zA-Z][a-zA-Z0-9_:]{3,}:' | sed '/\//d' | sort | uniq > method.txt |
This file contains 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
cat keyword.txt method.txt method_defines.txt > ios.dict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment