Swiftpack.co -  codewpf/WPFoundation as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A foundation for iOS development
.package(url: "https://github.com/codewpf/WPFoundation.git", from: "0.6.8")



WPFoundation is support library.


  • iOS 12.0+
  • Swift 5.0+


There are three ways to use WPFoundation in your project, or directly drag the WPFoundation.swift file into your project:

  • using Swift Package Manager
  • using CocoaPods
  • using Carthage

Installation with Swift Package Manager

The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

The Package Manager is included in Swift 3.0 and above.


Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.


platform :ios, '12.0'

target 'target’ do
pod 'WPFoundation'

Installation with Carthage (iOS 12.0 +)

Carthage is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods.

To install with carthage, follow the instruction on Carthage


github "codewpf/WPFoundation"

Import headers in your source files

In the source files where you need to use the library, import the header file:

import WPFoundation


Follow and contact me on Twitter or Sina Weibo. If you find an issue, just open a ticket. Pull requests are warmly welcome as well.


WPFoundation is released under the MIT license. See LICENSE for details.


Stars: 0
Last commit: 3 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.

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