Skip to content

Commit

Permalink
Project Foundation #10
Browse files Browse the repository at this point in the history
  • Loading branch information
onl1ner committed Dec 30, 2023
1 parent c249fc2 commit 3f7a0fe
Show file tree
Hide file tree
Showing 69 changed files with 2,149 additions and 108 deletions.
246 changes: 237 additions & 9 deletions mupl.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,51 @@
objects = {

/* Begin PBXBuildFile section */
08415CCC2B321B4100764CD6 /* Sidebar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CCB2B321B4100764CD6 /* Sidebar.swift */; };
08415CD02B321C9800764CD6 /* CGFloat + LayoutSize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CCF2B321C9800764CD6 /* CGFloat + LayoutSize.swift */; };
08415CD42B32225600764CD6 /* SidebarItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CD32B32225600764CD6 /* SidebarItem.swift */; };
08415CD72B32267F00764CD6 /* View + Border.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CD62B32267F00764CD6 /* View + Border.swift */; };
08415CDC2B3C901B00764CD6 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CDB2B3C901B00764CD6 /* HomeView.swift */; };
08415CE22B3C973F00764CD6 /* SidebarSection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CE12B3C973F00764CD6 /* SidebarSection.swift */; };
08415CE62B3CC07000764CD6 /* SearchView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CE52B3CC07000764CD6 /* SearchView.swift */; };
08415CEA2B3CC09900764CD6 /* LibraryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CE92B3CC09900764CD6 /* LibraryView.swift */; };
08415CF42B3DBCB600764CD6 /* Playbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CF32B3DBCB600764CD6 /* Playbar.swift */; };
08415CF62B3DBCD500764CD6 /* PlaybarSongPreview.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CF52B3DBCD500764CD6 /* PlaybarSongPreview.swift */; };
08415CF82B3DBE5E00764CD6 /* PlaybarSongControls.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CF72B3DBE5E00764CD6 /* PlaybarSongControls.swift */; };
08415CFB2B3DC1FA00764CD6 /* Slider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CFA2B3DC1FA00764CD6 /* Slider.swift */; };
08415CFD2B3DD03A00764CD6 /* View + Size.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CFC2B3DD03A00764CD6 /* View + Size.swift */; };
08415CFF2B3DF25700764CD6 /* SliderDimension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415CFE2B3DF25700764CD6 /* SliderDimension.swift */; };
08415D012B3DF65C00764CD6 /* PlaybarVolumeControls.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415D002B3DF65C00764CD6 /* PlaybarVolumeControls.swift */; };
08415D072B3E00B300764CD6 /* View + IfCondition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415D062B3E00B300764CD6 /* View + IfCondition.swift */; };
08415D0A2B3F550A00764CD6 /* View + Tappable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415D092B3F550A00764CD6 /* View + Tappable.swift */; };
08415D0C2B3F5D4700764CD6 /* Color + Palette.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415D0B2B3F5D4700764CD6 /* Color + Palette.swift */; };
08415D142B40BA6600764CD6 /* QueueBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08415D132B40BA6600764CD6 /* QueueBar.swift */; };
08B77F452B20F9D2004B6D8D /* muplApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08B77F442B20F9D2004B6D8D /* muplApp.swift */; };
08B77F472B20F9D3004B6D8D /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08B77F462B20F9D3004B6D8D /* ContentView.swift */; };
08B77F492B20F9D3004B6D8D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 08B77F482B20F9D3004B6D8D /* Assets.xcassets */; };
08B77F4C2B20F9D3004B6D8D /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 08B77F4B2B20F9D3004B6D8D /* Preview Assets.xcassets */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
08415CCB2B321B4100764CD6 /* Sidebar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Sidebar.swift; sourceTree = "<group>"; };
08415CCF2B321C9800764CD6 /* CGFloat + LayoutSize.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CGFloat + LayoutSize.swift"; sourceTree = "<group>"; };
08415CD32B32225600764CD6 /* SidebarItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SidebarItem.swift; sourceTree = "<group>"; };
08415CD62B32267F00764CD6 /* View + Border.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View + Border.swift"; sourceTree = "<group>"; };
08415CDB2B3C901B00764CD6 /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = "<group>"; };
08415CE12B3C973F00764CD6 /* SidebarSection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SidebarSection.swift; sourceTree = "<group>"; };
08415CE52B3CC07000764CD6 /* SearchView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchView.swift; sourceTree = "<group>"; };
08415CE92B3CC09900764CD6 /* LibraryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LibraryView.swift; sourceTree = "<group>"; };
08415CF32B3DBCB600764CD6 /* Playbar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Playbar.swift; sourceTree = "<group>"; };
08415CF52B3DBCD500764CD6 /* PlaybarSongPreview.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaybarSongPreview.swift; sourceTree = "<group>"; };
08415CF72B3DBE5E00764CD6 /* PlaybarSongControls.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaybarSongControls.swift; sourceTree = "<group>"; };
08415CFA2B3DC1FA00764CD6 /* Slider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Slider.swift; sourceTree = "<group>"; };
08415CFC2B3DD03A00764CD6 /* View + Size.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View + Size.swift"; sourceTree = "<group>"; };
08415CFE2B3DF25700764CD6 /* SliderDimension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SliderDimension.swift; sourceTree = "<group>"; };
08415D002B3DF65C00764CD6 /* PlaybarVolumeControls.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaybarVolumeControls.swift; sourceTree = "<group>"; };
08415D062B3E00B300764CD6 /* View + IfCondition.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View + IfCondition.swift"; sourceTree = "<group>"; };
08415D092B3F550A00764CD6 /* View + Tappable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "View + Tappable.swift"; sourceTree = "<group>"; };
08415D0B2B3F5D4700764CD6 /* Color + Palette.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Color + Palette.swift"; sourceTree = "<group>"; };
08415D132B40BA6600764CD6 /* QueueBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QueueBar.swift; sourceTree = "<group>"; };
08B77F412B20F9D2004B6D8D /* mupl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = mupl.app; sourceTree = BUILT_PRODUCTS_DIR; };
08B77F442B20F9D2004B6D8D /* muplApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = muplApp.swift; sourceTree = "<group>"; };
08B77F462B20F9D3004B6D8D /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
Expand All @@ -33,6 +71,179 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
08415CC62B321B1E00764CD6 /* Supporting Files */ = {
isa = PBXGroup;
children = (
08415CEB2B3CC12400764CD6 /* App */,
08415CEC2B3CC13800764CD6 /* Resources */,
);
path = "Supporting Files";
sourceTree = "<group>";
};
08415CC72B321B2700764CD6 /* Modules */ = {
isa = PBXGroup;
children = (
08415CDA2B3C901500764CD6 /* Home */,
08415CE32B3CC06400764CD6 /* Search */,
08415CE72B3CC08200764CD6 /* Library */,
);
path = Modules;
sourceTree = "<group>";
};
08415CC82B321B3000764CD6 /* Common */ = {
isa = PBXGroup;
children = (
08415CCD2B321C3800764CD6 /* Extensions */,
08415CC92B321B3400764CD6 /* Components */,
);
path = Common;
sourceTree = "<group>";
};
08415CC92B321B3400764CD6 /* Components */ = {
isa = PBXGroup;
children = (
08415D112B40BA5700764CD6 /* QueueBar */,
08415CF92B3DC1F400764CD6 /* Slider */,
08415CF22B3DBCAE00764CD6 /* Playbar */,
08415CCA2B321B3A00764CD6 /* Sidebar */,
);
path = Components;
sourceTree = "<group>";
};
08415CCA2B321B3A00764CD6 /* Sidebar */ = {
isa = PBXGroup;
children = (
08415CCB2B321B4100764CD6 /* Sidebar.swift */,
08415CD32B32225600764CD6 /* SidebarItem.swift */,
08415CE12B3C973F00764CD6 /* SidebarSection.swift */,
);
path = Sidebar;
sourceTree = "<group>";
};
08415CCD2B321C3800764CD6 /* Extensions */ = {
isa = PBXGroup;
children = (
08415CD52B32266800764CD6 /* UI */,
08415CCE2B321C4300764CD6 /* Constants */,
);
path = Extensions;
sourceTree = "<group>";
};
08415CCE2B321C4300764CD6 /* Constants */ = {
isa = PBXGroup;
children = (
08415CCF2B321C9800764CD6 /* CGFloat + LayoutSize.swift */,
08415D0B2B3F5D4700764CD6 /* Color + Palette.swift */,
);
path = Constants;
sourceTree = "<group>";
};
08415CD52B32266800764CD6 /* UI */ = {
isa = PBXGroup;
children = (
08415CD62B32267F00764CD6 /* View + Border.swift */,
08415CFC2B3DD03A00764CD6 /* View + Size.swift */,
08415D062B3E00B300764CD6 /* View + IfCondition.swift */,
08415D092B3F550A00764CD6 /* View + Tappable.swift */,
);
path = UI;
sourceTree = "<group>";
};
08415CDA2B3C901500764CD6 /* Home */ = {
isa = PBXGroup;
children = (
08415CDD2B3C90B700764CD6 /* View */,
);
path = Home;
sourceTree = "<group>";
};
08415CDD2B3C90B700764CD6 /* View */ = {
isa = PBXGroup;
children = (
08415CDB2B3C901B00764CD6 /* HomeView.swift */,
);
path = View;
sourceTree = "<group>";
};
08415CE32B3CC06400764CD6 /* Search */ = {
isa = PBXGroup;
children = (
08415CE42B3CC06A00764CD6 /* View */,
);
path = Search;
sourceTree = "<group>";
};
08415CE42B3CC06A00764CD6 /* View */ = {
isa = PBXGroup;
children = (
08415CE52B3CC07000764CD6 /* SearchView.swift */,
);
path = View;
sourceTree = "<group>";
};
08415CE72B3CC08200764CD6 /* Library */ = {
isa = PBXGroup;
children = (
08415CE82B3CC09200764CD6 /* View */,
);
path = Library;
sourceTree = "<group>";
};
08415CE82B3CC09200764CD6 /* View */ = {
isa = PBXGroup;
children = (
08415CE92B3CC09900764CD6 /* LibraryView.swift */,
);
path = View;
sourceTree = "<group>";
};
08415CEB2B3CC12400764CD6 /* App */ = {
isa = PBXGroup;
children = (
08B77F442B20F9D2004B6D8D /* muplApp.swift */,
08B77F462B20F9D3004B6D8D /* ContentView.swift */,
);
path = App;
sourceTree = "<group>";
};
08415CEC2B3CC13800764CD6 /* Resources */ = {
isa = PBXGroup;
children = (
08B77F482B20F9D3004B6D8D /* Assets.xcassets */,
08B77F4D2B20F9D3004B6D8D /* mupl.entitlements */,
08B77F4A2B20F9D3004B6D8D /* Preview Content */,
);
path = Resources;
sourceTree = "<group>";
};
08415CF22B3DBCAE00764CD6 /* Playbar */ = {
isa = PBXGroup;
children = (
08415CF32B3DBCB600764CD6 /* Playbar.swift */,
08415CF52B3DBCD500764CD6 /* PlaybarSongPreview.swift */,
08415CF72B3DBE5E00764CD6 /* PlaybarSongControls.swift */,
08415D002B3DF65C00764CD6 /* PlaybarVolumeControls.swift */,
);
path = Playbar;
sourceTree = "<group>";
};
08415CF92B3DC1F400764CD6 /* Slider */ = {
isa = PBXGroup;
children = (
08415CFA2B3DC1FA00764CD6 /* Slider.swift */,
08415CFE2B3DF25700764CD6 /* SliderDimension.swift */,
);
path = Slider;
sourceTree = "<group>";
};
08415D112B40BA5700764CD6 /* QueueBar */ = {
isa = PBXGroup;
children = (
08415D132B40BA6600764CD6 /* QueueBar.swift */,
);
path = QueueBar;
sourceTree = "<group>";
};
08B77F382B20F9D2004B6D8D = {
isa = PBXGroup;
children = (
Expand All @@ -52,11 +263,9 @@
08B77F432B20F9D2004B6D8D /* mupl */ = {
isa = PBXGroup;
children = (
08B77F442B20F9D2004B6D8D /* muplApp.swift */,
08B77F462B20F9D3004B6D8D /* ContentView.swift */,
08B77F482B20F9D3004B6D8D /* Assets.xcassets */,
08B77F4D2B20F9D3004B6D8D /* mupl.entitlements */,
08B77F4A2B20F9D3004B6D8D /* Preview Content */,
08415CC82B321B3000764CD6 /* Common */,
08415CC72B321B2700764CD6 /* Modules */,
08415CC62B321B1E00764CD6 /* Supporting Files */,
);
path = mupl;
sourceTree = "<group>";
Expand Down Expand Up @@ -139,8 +348,27 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
08415CF82B3DBE5E00764CD6 /* PlaybarSongControls.swift in Sources */,
08B77F472B20F9D3004B6D8D /* ContentView.swift in Sources */,
08415CE62B3CC07000764CD6 /* SearchView.swift in Sources */,
08415D0A2B3F550A00764CD6 /* View + Tappable.swift in Sources */,
08415CE22B3C973F00764CD6 /* SidebarSection.swift in Sources */,
08415D072B3E00B300764CD6 /* View + IfCondition.swift in Sources */,
08415CD02B321C9800764CD6 /* CGFloat + LayoutSize.swift in Sources */,
08415CD42B32225600764CD6 /* SidebarItem.swift in Sources */,
08415D0C2B3F5D4700764CD6 /* Color + Palette.swift in Sources */,
08415CFB2B3DC1FA00764CD6 /* Slider.swift in Sources */,
08415D012B3DF65C00764CD6 /* PlaybarVolumeControls.swift in Sources */,
08415CCC2B321B4100764CD6 /* Sidebar.swift in Sources */,
08415CDC2B3C901B00764CD6 /* HomeView.swift in Sources */,
08415CFF2B3DF25700764CD6 /* SliderDimension.swift in Sources */,
08415D142B40BA6600764CD6 /* QueueBar.swift in Sources */,
08415CF62B3DBCD500764CD6 /* PlaybarSongPreview.swift in Sources */,
08B77F452B20F9D2004B6D8D /* muplApp.swift in Sources */,
08415CF42B3DBCB600764CD6 /* Playbar.swift in Sources */,
08415CEA2B3CC09900764CD6 /* LibraryView.swift in Sources */,
08415CFD2B3DD03A00764CD6 /* View + Size.swift in Sources */,
08415CD72B32267F00764CD6 /* View + Border.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -270,11 +498,11 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = mupl/mupl.entitlements;
CODE_SIGN_ENTITLEMENTS = "mupl/Supporting Files/Resources/mupl.entitlements";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"mupl/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "\"mupl/Supporting Files/Resources/Preview Content\"";
DEVELOPMENT_TEAM = H72YUS24CN;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
Expand All @@ -298,11 +526,11 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = mupl/mupl.entitlements;
CODE_SIGN_ENTITLEMENTS = "mupl/Supporting Files/Resources/mupl.entitlements";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"mupl/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "\"mupl/Supporting Files/Resources/Preview Content\"";
DEVELOPMENT_TEAM = H72YUS24CN;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
Expand Down
58 changes: 0 additions & 58 deletions mupl/Assets.xcassets/AppIcon.appiconset/Contents.json

This file was deleted.

36 changes: 36 additions & 0 deletions mupl/Common/Components/Playbar/Playbar.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
//
// Playbar.swift
// mupl
//
// Created by Tamerlan Satualdypov on 28.12.2023.
//

import SwiftUI

struct Playbar: View {
var body: some View {
VStack(spacing: 0.0) {
Divider()

HStack(spacing: .zero) {
PlaybarSongPreview()
.frame(maxWidth: .infinity)

PlaybarSongControls()
.frame(maxWidth: .infinity)

PlaybarVolumeControls()
.frame(maxWidth: .infinity)
}
.frame(height: 70.0)
.frame(maxWidth: .infinity)
.background(.ultraThickMaterial)
}
}
}

#Preview {
Playbar()
.frame(width: 800.0)
.padding()
}
Loading

0 comments on commit 3f7a0fe

Please sign in to comment.