Skip to content

Commit

Permalink
EA-1427 - Build a test application that uses the swift sdk
Browse files Browse the repository at this point in the history
* added a default sample project that calls the sdk hello method to put data on the screen.
  • Loading branch information
Deric Kramer committed Jul 9, 2024
1 parent bd65c65 commit c49aa6b
Show file tree
Hide file tree
Showing 8 changed files with 526 additions and 0 deletions.
388 changes: 388 additions & 0 deletions bwell-swift-iOS/bwell-swift-iOS.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
6 changes: 6 additions & 0 deletions bwell-swift-iOS/bwell-swift-iOS/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
25 changes: 25 additions & 0 deletions bwell-swift-iOS/bwell-swift-iOS/ContentView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// ContentView.swift
// bwell-swift-iOS
//
// Created by deric kramer on 7/9/24.
//

import SwiftUI
import bwell_sdk_swift

struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text(BWellSdk().hello())
}
.padding()
}
}

#Preview {
ContentView()
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
10 changes: 10 additions & 0 deletions bwell-swift-iOS/bwell-swift-iOS/bwell_swift_iOS.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
</dict>
</plist>
17 changes: 17 additions & 0 deletions bwell-swift-iOS/bwell-swift-iOS/bwell_swift_iOSApp.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// bwell_swift_iOSApp.swift
// bwell-swift-iOS
//
// Created by deric kramer on 7/9/24.
//

import SwiftUI

@main
struct bwell_swift_iOSApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}

0 comments on commit c49aa6b

Please sign in to comment.