Skip to content

Swift Framework for converting WordPress Websites into Native iOS App.

License

Notifications You must be signed in to change notification settings

kazi-mifta/SwiftifyWordpress

Repository files navigation

Swift Version License Platform SwiftPM compatible PRs Welcome

SwiftifyWordPress


Logo

Turn Your WordPress Website into a Native iOS App. Just Simply add the framework through swift package manager.

Features

  • Show all posts of a website through pagination
  • In-App browser
  • Search posts(iOS 15 or up)
  • iPad Support
  • Categorize Posts According to tags

Techonologies Used

  • Swift, SwiftUI
  • MVVM
  • URLSession(Network Layer)
  • Codable(JSON Parsing)

Requirements

  • iOS 13.0+
  • Xcode 12.0+

Installation

  1. On XCode goto File > Add Packages.
  2. On the search bar paste the link: https://github.com/kazi-mifta/SwiftifyWordpress
  3. Select "Up to Next Major" with "1.0.0".

Manually

Download the files in Sources\SwiftifyWordPress and use the PostListView with your site's URL. Don't forget to add the dependencies. This project requires SDWebImageSwiftUI.

struct ContentView: View {
    var body: some View {
        // PostsListView(with: PostsData(url: "Your Website's Base URL"))
        PostsListView(with: PostsData(url: "gadgetanalysis.com"))
    }
}

Usage example

After importing the package you can add the list view of Posts using a single line in your View's Body.

import SwiftifyWordPress

struct ContentView: View {
    var body: some View {
        //PostsListView(with: PostsData(url: "Your Website's Base URL"))
        PostsListView(with: PostsData(url: "gadgetanalysis.com"))
    }
}

Contribute

I would really appreciate your contribution to SwiftifyWordPress. Feel Free to contact with me if you want to contribute or just send a pull request.

Contact

Kazi Miftahul Hoque – [email protected]

License

SwiftifyWordPress is available under the GPLv3 license. See LICENSE for more information.

About

Swift Framework for converting WordPress Websites into Native iOS App.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages