How do I analyze audio samples to get frequency range?

Is there a way that I can analyze audio samples to get frequency range? For example, high and low frequencies. I prefer using swift in Xcode!

How do I analyze audio samples to get frequency range?
 
 
Q