Swiftpack.co -  xnth97/TrophyKit as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
An animated trophy banner that looks like Xbox achievement πŸ†
.package(url: "https://github.com/xnth97/TrophyKit.git", from: "0.2.1")


An animated trophy banner that looks like Xbox achievement.

Version License Platform





  • iOS 14.0+
  • tvOS 14.0+
  • Swift 5.3+


TrophyKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'TrophyKit'


To run the example project, clone the repo, and run pod install from the Example directory first.


/// Create a trophy instance with a configuration. It is efficient to retain a trophy instance
/// and call `show` with different parameters.
let trophy = Trophy(configuration: TrophyConfiguration(size: .medium))
/// Show the trophy in view controller.
trophy.show(from: self,
            title: "Achievement Unlocked",
            subtitle: "You have added a new skill!",
            iconSymbol: "gamecontroller.fill",
            trophyIconSymbol: "rosette")


  • β˜‘ Performance optimization and support reuse
  • β˜‘ tvOS support
  • ☐ More customization APIs
  • ☐ Tweak animation and visual
  • ☐ Sound and haptic support
  • β˜‘ Swift Package Manager
  • ☐ Queue for multiple trophies
  • ☐ Position for display trophy banner
  • ☐ Manually hide banner
  • ☐ Support anchor view like toolbar or tab bar
  • ☐ Interactions like tap target and completion block


TrophyKit is available under the MIT license. See the LICENSE file for more info.


Stars: 4
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

5 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API