import podspec
handle the case when one of the superviews is nil (i.e. we're working on the top view)