Apple makes fantastic mobile products, but its flimsy USB lightning cable deteriorates too quickly. One of the most common problems faced by iPhone and iPad owners is a frayed Lightning connector. Surely there must be tougher, more rugged options?
The obvious solution is to go back to the Apple store and claim the warranty (or AppleCare if you have it). Another options is to ditch Apple's cable altogether and get something better made by a third party.