Will an iPhone 5 work in Iran?

I'm moving to Iran in a few months and i'm thinking about getting a new phone.
I was gonna get a new phone anyways but now that i'm moving I need to decide As soon as possible.
The thing is that many say that iPhones don't work in Iran or apps aren't available so i was wondering whether i'll be able to get apps or update them? Since some pages are blocked there (like Facebook) will i be able to use the apps somehow?
Oh and i'm also getting an Macbook Pro, and i guess this is a pretty obvious question but, would there be any problem connecting my iPhone with my Macbook Pro?

It works! But you might experience some troubles with pages like youtube and Fb etc which you could buy a VPN connection which is easy to find one in iran to sort it out.