1

I have two targets (let's say lite and pro) in my project and I want to change the content of settings according to the target. Is it possible to do that? Can I hide some cells from code? Thanks...

Turkdogan Tasdelen
  • 898
  • 1
  • 11
  • 25

1 Answers1

6

Anyway, I found it!

#ifdef PRO_VERSION       
    controller.hiddenKeys = [NSSet setWithObjects:@"Key1", @"Key2", nil];
#endif

So in the "pro" version of the app, Key1 and Key2 cells are hidden.

Ortwin Gentz
  • 52,648
  • 24
  • 135
  • 213
Turkdogan Tasdelen
  • 898
  • 1
  • 11
  • 25