LG G2 or Iphone 5

my phone recently broke and i am on a contract but i was thinking of buying a phone sim free.

i will use it for mainly twitter, some photos, and lots of music however the only thing preventing me from getting the G2 would be that i have a mac book air and with ios 8 and yosemite supposedly linking up really well then i'd want to get an iphone?