Skip to content

Commit 38e7527

Browse files
committed
Merge branch 'release/0.2.5'
2 parents 0be765a + 36b1a2c commit 38e7527

File tree

4 files changed

+148
-4
lines changed

4 files changed

+148
-4
lines changed

Examples/ControllingLight/ControllingLight.xcodeproj/project.pbxproj

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@
127127
Base,
128128
);
129129
mainGroup = 40185C352B1894200089E088;
130+
packageReferences = (
131+
40B6E2C32B1BA51300E6A3A3 /* XCRemoteSwiftPackageReference "light-controls" */,
132+
);
130133
productRefGroup = 40185C3F2B1894200089E088 /* Products */;
131134
projectDirPath = "";
132135
projectRoot = "";
@@ -366,6 +369,17 @@
366369
};
367370
/* End XCConfigurationList section */
368371

372+
/* Begin XCRemoteSwiftPackageReference section */
373+
40B6E2C32B1BA51300E6A3A3 /* XCRemoteSwiftPackageReference "light-controls" */ = {
374+
isa = XCRemoteSwiftPackageReference;
375+
repositoryURL = "https://github.com/monstar-lab-oss/light-controls";
376+
requirement = {
377+
branch = main;
378+
kind = branch;
379+
};
380+
};
381+
/* End XCRemoteSwiftPackageReference section */
382+
369383
/* Begin XCSwiftPackageProductDependency section */
370384
40EBD2A12B1B3CF800722B42 /* LightControls */ = {
371385
isa = XCSwiftPackageProductDependency;

Examples/ControllingLight/ControllingLight.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 122 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/ControllingLight/ControllingLight/ContentView.swift

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,34 @@ struct ContentView: View {
2020
.sheet(isPresented: $isSheetPresented) {
2121
NavigationStack {
2222
List {
23-
NavigationLink("DirectionalLight") {
23+
NavigationLink {
2424
DirectionalLightControl(
2525
light: arViewContainer.directionalLight
2626
)
2727
.navigationTitle("DirectionalLight")
2828
.navigationBarTitleDisplayMode(.inline)
29+
} label: {
30+
Label("DirectionalLight", systemImage: "sun.max")
2931
}
30-
NavigationLink("PointLight") {
32+
33+
NavigationLink {
3134
PointLightControl(
3235
light: arViewContainer.pointLight
3336
)
3437
.navigationTitle("PointLight")
3538
.navigationBarTitleDisplayMode(.inline)
39+
} label: {
40+
Label("PointLight", systemImage: "lightbulb.min")
3641
}
37-
NavigationLink("SpotLight") {
42+
43+
NavigationLink {
3844
SpotLightControl(
3945
light: arViewContainer.spotLight
4046
)
4147
.navigationTitle("SpotLight")
4248
.navigationBarTitleDisplayMode(.inline)
49+
} label: {
50+
Label("SpotLight", systemImage: "lamp.desk")
4351
}
4452
}
4553
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# LightControls
2-
Control RealityKit iOS/macOS dynamic light controls
2+
A suite of SwiftUI components that expose RealityKits light properties for runtime customization.
33

44
[![Example](https://img.youtube.com/vi/jC6ehrGX7gE/hqdefault.jpg)](https://www.youtube.com/embed/jC6ehrGX7gE)

0 commit comments

Comments
 (0)