NEW YORK (AP) - Apple CEO Tim Cook says that so-called "religious objection" legislation being introduced in a number states like Indiana and Texas is dangerous.

NEW YORK (AP) Apple CEO Tim Cook says that so-called "religious objection" legislation being introduced in a number states like Indiana and Texas is dangerous.

In an op-ed piece for The Washington Post, Cook said that the bills under consideration "have the potential to undo decades of progress toward greater equality."

He gave several examples, including a bill enacted in Indiana last week and another passed in Arkansas that say business owners can cite their personal religious beliefs to refuse service to a customer or resist a state nondiscrimination law.

Cook said he was opposing the new wave of legislation on behalf of Apple, a company that he said strives to conduct its business "in a way that is just and fair."