http://developer.apple.com/iphone/terms/registered_iphone_de...
I don't see anything in the iPhone developer agreement that addresses this point.
If all you're sharing is your code, and not any of their headers, documentation, etc., then you're free to do so.
There's a good deal of high-quality open-source iPhone library code out there on github right now.
I have no reason to expect that they will lift that from the TOS.
Did anyone notice if it's still a terms of service violation to do this? It is for the iPhone/iPod as far as I remember.