OR and AND Syntax in If condition
<p>I want to save all sound files in one array like .caf, .avi ,.mp3.. How can I check OR condition for this.I am confused about syntax.   </p>

<pre><code>#define kSoundFileExtension @"caf"
#define kSoundfileExtnesion @"mp3"

    if ([fileName rangeOfString:kSoundFileExtension].location != NSNotFound) {
                [self.soundFiles addObject:fileName];
    }
</code></pre>
