Fixed iOS Ref counting template that could become “nil”
Fixed ARC support, and think I cleaned some items where only the last subs where saved.