property ou declaration

Bonjour, voici un gros débat entre plusieurs développeurs iOS:


 


Est-il mieux d'utiliser des property ?



@interface RRInformation ()
@property (nonatomic, assign) NSInteger idCanaille;
@property (nonatomic, strong) NSDictionary *data;
@end

ou

@interface RRInformation () {
    NSInteger idCanaille;
    NSDictionary *data;
}
@end

Réponses

Connectez-vous ou Inscrivez-vous pour répondre.