If you don't understand the title of this post, don't bother reading any further. If you do, here's a nice regular expression that will, given an Obj-C source file (.h or .m), give you all of the method signatures. It should work in every case that I can think of, but if you're doing anything involving weird types or preprocessor macros it should work.
(\-|\+)\s*\([\w\s]+(\s*\*)?\)\w+(:\([\w\s]+(\s*\*)?\)\w+\s?)?(\w+:\([\w\s]+(\s*\*)?\)\w+\s?)*
About
Technology, design, and bacon lover. Software engineer in San Francisco, CA.
Latest update
Tags
Software
32
Interesting
29
Technology
21
Apple
20
Programming
19
iPhone
16
Internet
14
Video
13
Politics
13
Mobile
12
Mac OS X
12
Funny
11
Web
8
Hacking
8
Music
6
Obama
6
Twitter
6
Photos
5
Design
5
Thoughts
5
Science
4
Mac
4
Palm Pre
4
Bush
3
Ideas
3
Google
2
UI
2
Awesome
2
Weird
2
Games
1
Reviews
1
Apps
1
Equality
1
Women
1
Patents
1
Android
1
Football
1
Pixar
1
Icons
1
Idiocy
1
Bacon
1
Movies
1
HDTV
1
Hardware
1
iTunes
1
DRM
1
Food
1
Archives
May 2011
2
May 2010
1
January 2010
15
January 2009
51
May 2006
2
October 2005
13
May 2005
5
March 2005
12
October 2004
17
August 2004
15