Develop a Swift mobile application that has the ability to detect shaking gestures using the device's accelerometer. The app should provide visual feedback or perform a specific action upon detecting a shake event. The design of the user interface should be intuitive and user-friendly. Additionally, the app should be optimized for performance and adhere to best coding practices.
This prompt doesn't seem malicious.