I would appreciate any suggestions for how one can apply this 'Pyramid method' to the field of programming. What should be the pyramid here - Github? StackOverflow?
Or is there another way to approach this quest?
As far as a specific tip for the Pyramid method, get involved in your local mobile development SIG. For iOS, it is Cocoaheads (weird name, I know but Cocoa programmers are an interesting bunch). Once you get involved (or better yet, start one up), start presenting topics. By presenting, you will be pushed out of your comfort zone. Don't know AVFoundation? Volunteer to present on this topic and then build your first AVFoundation based app. As another comment in this thread pointed out, hackathons are a great way to meet other developers and improve your coding production. Seek out the good developers in your local area, nothing beats buying someone a beer or coffee and listening to their experience and advice. Do a pro-bono project, ideally one with a deadline (and one that would be difficult to back out of - e.g.one with personal commitment)
StackOverflow is a good practice area. If you have free time, go find some questions you don't know how to answer and answer them.
One last thing, buy a lot of apps. Use them, try to reverse engineer them (not from object code but from the app itself). Money well spent.