The first one is the declaration of a property, whereas the second is only a ivar.
A property is the automatic declaration of a getter and a setter for an ivar, but if there is not ivar (like in your first example) the property will create the ivar too.