How does Apple successfully patent software?

How does Apple successfully patent software?

Having handled patent cases for more than 20 years, I have lost count of the number of times clients have asked “How do I patent software?”, or state that “Software is not patentable in the UK or Europe”. My answer has always been…