Our great sponsors
-
In the new dialog that appears, tap the top right search icon and type the GitHub URL for the SDK https://github.com/appwrite/sdk-for-apple and hit Enter. You should see the sdk-for-apple package listed.
-
We've built a complete app that interacts with Appwrite's account and database APIs with our SDK for Apple and SwiftUI, which you can find over at our GitHub Repo.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
playground-for-apple-swiftui
Simple examples that help you get started with Appwrite + Apple with SwiftUI (=❤️)
Swift Playground
-
import SwiftUI import Kingfisher struct JobItemView: View { let job: Job init(_ job: Job) { self.job = job } var body: some View { ZStack { RoundedRectangle(cornerRadius: 16, style: .continuous) .fill(.blue.opacity(0.2)) VStack (alignment: .leading) { ZStack(alignment: .center) { RoundedRectangle(cornerRadius: 14, style: .continuous) .fill(.gray.opacity(0.5)) KFImage.url(URL(string: job.logo)) .resizable() .scaledToFit() .frame(height: 50) } .frame(width: 86, height: 82) Text(job.title) .font(.largeTitle) .padding(.top, 24) HStack (spacing: 20) { Text(job.company) .fontWeight(.semibold) Text(job.location) .fontWeight(.semibold) } .padding(.bottom, 24) Text(job.description) } .padding(.all, 26) } } } struct JobItemView_Previews: PreviewProvider { static var previews: some View { JobItemView( Job( id: "1", title: "Swift Developer", link: "https://appwrite.io", logo: "https://demo.appwrite.io/v1/storage/files/61667e8e6cb16/preview?project=615d75f94461f", company: "Google", description: "Swift Developer", location: "Tel Aviv" ) ) .preferredColorScheme(.dark) } }