Attribute "inheritance"

Are there times when an attribute would not be “inherited” (class or protocol)?

@objc seems to always be inherited but is that always the case for any type of attribute?

I did a quick search on these but could not find any documentation that is relevant.

Thanks!