Most of us think that Mac laptops wont get affected by any viruses. No you is completely wrong about it. Mac Laptops will get affected by viruses. Here is a general reason for mac to be affected by viruses.
Its not about the hardware to be affected, Its about the operating system to be affected by the virus. Few years back Mac laptops are very few in numbers and it is less than 10% of the laptops and PC's to be operated in mac. So hackers not interested to waste their time in creating virus and spywares.
Now Mac's popularity will increasing and hackers are spending time to create virus and spywares. Now lot of spywares and viruses are in online that can harm your laptops. It may enter your system during surfing in internet. Using real time production programs will protect your laptops from virus and spywares. I Hope this information is useful for you.