NEW YORK (TheStreet) -- Apple (AAPL) announced it repurchased $14 billion worth of shares in the previous two weeks, and that made TheStreet's Jim Cramer, co-manager of the Action Alerts PLUS portfolio, very happy.

Cramer, whose portfolio has AAPL as a holding, said the buyback "is exactly what is necessary." He pointed out that Apple was the best-performing stock of the ones he follows in the S&P 500 during the recent selloff. The strength was most likely helped along by Apple's opportunistic buying, where it used the emotional weakness seen in the stock price to scoop up more shares at a discount. 

Cramer also said the company has been buying back stock much more aggressively from what had been viewed as a somewhat lackadaisical purchasing plan. He said this move proves CEO Tim Cook is not oblivious to Apple's share price.

The buyback will save the company a lot of money in dividend payments since the shares it purchased will be retired. The buyback also works well in Apple's favor because the company financed the debt at very low interest rates. 

"This was perfect. Bravo, Tim Cook," he enthused.

-- Written by Bret Kenwell in Petoskey, Mich.

Bret Kenwell currently writes, blogs and also contributes to Robert Weinstein's Weekly Options Newsletter. Focuses on short-to-intermediate-term trading opportunities that can be exposed via options. He prefers to use debit trades on momentum setups and credit trades on support/resistance setups. He also focuses on building long-term wealth by searching for consistent, quality dividend paying companies and long-term growth companies. He considers himself the surfer, not the wave, in relation to the market and himself. He has no allegiance to either the bull side or the bear side.

More from Opinion

Throwback Thursday: Intel Edition

Throwback Thursday: Intel Edition

Intel's Next CEO Should Try Harder to Protect Its Flanks Against AMD and Others

Intel's Next CEO Should Try Harder to Protect Its Flanks Against AMD and Others

3 Warren Buffett Stock Picks That Could Be Perfect for Your Retirement Portfolio

3 Warren Buffett Stock Picks That Could Be Perfect for Your Retirement Portfolio

Wednesday Wrap-Up: GE and Facebook

Wednesday Wrap-Up: GE and Facebook

PayPal Strikes Again, Facebook, and AT&T -- 3 Tech Stories You Must Know

PayPal Strikes Again, Facebook, and AT&T -- 3 Tech Stories You Must Know