Apple has $238 billion in cash in it's bank accounts. It was able to do this even if the tax code didn't change.
Apple has already been doing buybacks and dividends by using bonds.
Like the article said, they prepped a certain amount and waited. Saving billions for doing the same thing but waiting a few months is a no brainer.