Repository: sameersyd/Skailer
Branch: main
Commit: 4620b28d17ac
Files: 53
Total size: 71.7 KB
Directory structure:
gitextract_nnjksv29/
├── .github/
│ └── FUNDING.yml
├── CONTRIBUTION.md
├── LICENSE
├── README.md
├── Skailer/
│ ├── Assets.xcassets/
│ │ ├── AccentColor.colorset/
│ │ │ └── Contents.json
│ │ ├── AppIcon.appiconset/
│ │ │ └── Contents.json
│ │ ├── ColorSet/
│ │ │ ├── 333333_F4F4F4.colorset/
│ │ │ │ └── Contents.json
│ │ │ ├── 657592_C6CBDA.colorset/
│ │ │ │ └── Contents.json
│ │ │ ├── 657592_F4F4F4.colorset/
│ │ │ │ └── Contents.json
│ │ │ ├── 666666_F4F4F4.colorset/
│ │ │ │ └── Contents.json
│ │ │ ├── Contents.json
│ │ │ └── EFF0F9_282C31.colorset/
│ │ │ └── Contents.json
│ │ ├── Contents.json
│ │ ├── CoverImages/
│ │ │ ├── Contents.json
│ │ │ ├── cover1.imageset/
│ │ │ │ └── Contents.json
│ │ │ ├── cover2.imageset/
│ │ │ │ └── Contents.json
│ │ │ ├── cover3.imageset/
│ │ │ │ └── Contents.json
│ │ │ ├── cover4.imageset/
│ │ │ │ └── Contents.json
│ │ │ └── cover5.imageset/
│ │ │ └── Contents.json
│ │ ├── ShadowColor/
│ │ │ ├── Contents.json
│ │ │ ├── neuColor1.colorset/
│ │ │ │ └── Contents.json
│ │ │ ├── neuColor2.colorset/
│ │ │ │ └── Contents.json
│ │ │ ├── neuColor3.colorset/
│ │ │ │ └── Contents.json
│ │ │ └── neuColor4.colorset/
│ │ │ └── Contents.json
│ │ ├── arrow_down.imageset/
│ │ │ └── Contents.json
│ │ ├── heart-filled_icon.imageset/
│ │ │ └── Contents.json
│ │ ├── heart_icon.imageset/
│ │ │ └── Contents.json
│ │ ├── next_icon.imageset/
│ │ │ └── Contents.json
│ │ ├── options_icon.imageset/
│ │ │ └── Contents.json
│ │ ├── pause_icon.imageset/
│ │ │ └── Contents.json
│ │ ├── play_icon.imageset/
│ │ │ └── Contents.json
│ │ ├── profile_pic.imageset/
│ │ │ └── Contents.json
│ │ └── search_icon.imageset/
│ │ └── Contents.json
│ ├── Data.swift
│ ├── Helpers/
│ │ ├── ColorExtension.swift
│ │ ├── FontModifier.swift
│ │ ├── ImageExtension.swift
│ │ └── NeuShadow.swift
│ ├── Home/
│ │ ├── HomeView.swift
│ │ └── HomeViewModel.swift
│ ├── Info.plist
│ ├── Model/
│ │ └── MusicModel.swift
│ ├── Player/
│ │ ├── PlayerView.swift
│ │ └── PlayerViewModel.swift
│ ├── Preview Content/
│ │ └── Preview Assets.xcassets/
│ │ └── Contents.json
│ ├── SkailerApp.swift
│ └── Views/
│ ├── MadeForView.swift
│ ├── MusicDiscView.swift
│ └── PlaylistView.swift
└── Skailer.xcodeproj/
├── project.pbxproj
├── project.xcworkspace/
│ ├── contents.xcworkspacedata
│ └── xcshareddata/
│ └── IDEWorkspaceChecks.plist
└── xcuserdata/
└── sameernawaz.xcuserdatad/
└── xcschemes/
└── xcschememanagement.plist
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/FUNDING.yml
================================================
custom: ["https://paypal.me/sameernwaz"]
================================================
FILE: CONTRIBUTION.md
================================================
## Welcome Dev!, Thanks for making our Skailer app great.
### What you can do
You can contribute us by filing issues, bugs and PRs.
### Contributing guidelines:
- Open issue regarding proposed change.
- Repo owner will contact you there.
- If your proposed change is approved, Fork this repo and do changes.
- Open PR against latest `dev` branch. Add nice description in PR.
- You're done!
================================================
FILE: LICENSE
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2021 Sameer Nawaz
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================
FILE: README.md
================================================

# Skailer 🎧
Beautiful Music Player app built using SwiftUI to demonstrate Neumorphic design pattern 🎨 and MVVM architecture 🏗. *Made with love ❤️ by [Sameer Nawaz](https://github.com/sameersyd)*
## Light Mode 🌞
Home | Player |
--- | --- |
 |  |
## Dark Mode 🌚
Home | Player |
--- | --- |
 |  |
## Built With 🛠
- [SwiftUI](https://developer.apple.com/documentation/swiftui/) - SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift.
- [Figma](https://figma.com/) - Figma is a vector graphics editor and prototyping tool which is primarily web-based.
## Contribute 🤝
If you want to contribute to this app, you're always welcome!
See [Contributing Guidelines](https://github.com/sameersyd/Skailer/blob/main/CONTRIBUTION.md).
## Donation 💰
If this project helped you reduce time to develop, you can buy me a cup of coffee :)
## License 🔖
```
Apache 2.0 License
Copyright 2021 Sameer Nawaz
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
================================================
FILE: Skailer/Assets.xcassets/AccentColor.colorset/Contents.json
================================================
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/AppIcon.appiconset/Contents.json
================================================
{
"images" : [
{
"filename" : "Icon-42.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "Icon-60.png",
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"filename" : "Icon-59.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "Icon-87.png",
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"filename" : "Icon-81.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "Icon-120.png",
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"filename" : "Icon-121.png",
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"filename" : "Icon-180.png",
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"filename" : "Icon-20.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"filename" : "Icon-41.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "Icon-29.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"filename" : "Icon-58.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "Icon-40.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"filename" : "Icon-80.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "Icon-76.png",
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"filename" : "Icon-152.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"filename" : "Icon-167.png",
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"filename" : "Icon-1024.png",
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ColorSet/333333_F4F4F4.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x33",
"green" : "0x33",
"red" : "0x33"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF4",
"green" : "0xF4",
"red" : "0xF4"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ColorSet/657592_C6CBDA.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x92",
"green" : "0x75",
"red" : "0x65"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xDA",
"green" : "0xCB",
"red" : "0xC6"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ColorSet/657592_F4F4F4.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x92",
"green" : "0x75",
"red" : "0x65"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF4",
"green" : "0xF4",
"red" : "0xF4"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ColorSet/666666_F4F4F4.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x66",
"green" : "0x66",
"red" : "0x66"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF4",
"green" : "0xF4",
"red" : "0xF4"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ColorSet/Contents.json
================================================
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ColorSet/EFF0F9_282C31.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF9",
"green" : "0xF0",
"red" : "0xEF"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x31",
"green" : "0x2C",
"red" : "0x28"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/Contents.json
================================================
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/CoverImages/Contents.json
================================================
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/CoverImages/cover1.imageset/Contents.json
================================================
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "jamie-street-hBzrr6m6-pc-unsplash.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/CoverImages/cover2.imageset/Contents.json
================================================
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "casey-horner-JIdmuiF9luY-unsplash.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/CoverImages/cover3.imageset/Contents.json
================================================
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "alexander-krivitskiy-94TZ38WDCKA-unsplash.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/CoverImages/cover4.imageset/Contents.json
================================================
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "james-barr-oRsSeYqJUgY-unsplash.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/CoverImages/cover5.imageset/Contents.json
================================================
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "melanie-van-leeuwen-QA-qQfWJM0E-unsplash.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ShadowColor/Contents.json
================================================
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ShadowColor/neuColor1.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.200",
"blue" : "0xFF",
"green" : "0xFF",
"red" : "0xFF"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.200",
"blue" : "0x35",
"green" : "0x35",
"red" : "0x35"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ShadowColor/neuColor2.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.700",
"blue" : "0xFF",
"green" : "0xFB",
"red" : "0xF6"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.700",
"blue" : "0x35",
"green" : "0x35",
"red" : "0x35"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ShadowColor/neuColor3.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.300",
"blue" : "0xFB",
"green" : "0xF8",
"red" : "0xF4"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.300",
"blue" : "0x00",
"green" : "0x00",
"red" : "0x00"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/ShadowColor/neuColor4.colorset/Contents.json
================================================
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.800",
"blue" : "0xC9",
"green" : "0xBB",
"red" : "0xAA"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "0.800",
"blue" : "0x00",
"green" : "0x00",
"red" : "0x00"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/arrow_down.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "Left 24px 2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Left 24px 2-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Left 24px 2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Left 24px 2@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Left 24px 2@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Left 24px 2@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/heart-filled_icon.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "like 2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "like 2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "like 2@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/heart_icon.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "heart 1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "heart 1-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "heart 1@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "heart 1@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "heart 1@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "heart 1@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/next_icon.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "play-and-pause-button 2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "play-and-pause-button 2-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "play-and-pause-button 2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "play-and-pause-button 2@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "play-and-pause-button 2@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "play-and-pause-button 2@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/options_icon.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "equalizer 2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "equalizer 2-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "equalizer 2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "equalizer 2@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "equalizer 2@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "equalizer 2@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/pause_icon.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "Frame 12.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Frame 12-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Frame 12@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Frame 12@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Frame 12@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Frame 12@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/play_icon.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "play 2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "play 2-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "play 2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "play 2@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "play 2@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "play 2@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/profile_pic.imageset/Contents.json
================================================
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "elijah-hiett-umfpFoKxIVg-unsplash.jpg",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Assets.xcassets/search_icon.imageset/Contents.json
================================================
{
"images" : [
{
"filename" : "Union.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Union-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Union@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Union@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Union@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Union@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/Data.swift
================================================
//
// Data.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
struct Data {
static let MADE_FOR_YOU = MusicModel(name: "Bad Liar", artistName: "Anna Hamilton", coverImage: Image.cover3)
static func getPlaylists() -> [MusicModel] {
return [
MusicModel(name: "You & Me", artistName: "Imagine Dragons", coverImage: Image.cover5),
MusicModel(name: "Heart Beats", artistName: "The Chainsmokers", coverImage: Image.cover1),
MusicModel(name: "Young Love", artistName: "Selena Gomez", coverImage: Image.cover2),
MusicModel(name: "Falling", artistName: "Harry Styles", coverImage: Image.cover4),
MusicModel(name: "Bad Liar", artistName: "Anna Hamilton", coverImage: Image.cover3)
]
}
static func getRecentlyPlayed() -> [MusicModel] {
return [
MusicModel(name: "Falling", artistName: "Harry Styles", coverImage: Image.cover4),
MusicModel(name: "Bad Liar", artistName: "Anna Hamilton", coverImage: Image.cover3),
MusicModel(name: "Young Love", artistName: "Selena Gomez", coverImage: Image.cover2),
MusicModel(name: "You & Me", artistName: "Imagine Dragons", coverImage: Image.cover5),
MusicModel(name: "Heart Beats", artistName: "The Chainsmokers", coverImage: Image.cover1)
]
}
}
================================================
FILE: Skailer/Helpers/ColorExtension.swift
================================================
//
// ColorExtension.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
extension Color {
static let primary_color = Color("EFF0F9_282C31")
static let main_color = Color(hex: "657592")
static let main_white = Color("657592_F4F4F4")
static let text_header = Color("333333_F4F4F4")
static let text_primary = Color("657592_C6CBDA")
static let text_primary_f1 = Color.text_primary.opacity(0.8)
static let disc_line = Color("666666_F4F4F4")
init(hex: String, alpha: Double = 1) {
var cString: String = hex.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
if (cString.hasPrefix("#")) { cString.remove(at: cString.startIndex) }
let scanner = Scanner(string: cString)
scanner.currentIndex = scanner.string.startIndex
var rgbValue: UInt64 = 0
scanner.scanHexInt64(&rgbValue)
let r = (rgbValue & 0xff0000) >> 16
let g = (rgbValue & 0xff00) >> 8
let b = rgbValue & 0xff
self.init(.sRGB, red: Double(r) / 0xff, green: Double(g) / 0xff, blue: Double(b) / 0xff, opacity: alpha)
}
}
================================================
FILE: Skailer/Helpers/FontModifier.swift
================================================
//
// FontModifier.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
enum LatoFontType: String {
case regular = "Lato-Regular"
case semibold = "Lato-Semibold"
case bold = "Lato-Bold"
case black = "Lato-Black"
}
struct FontModifier: ViewModifier {
var type: LatoFontType, size: CGFloat
init(_ type: LatoFontType = .regular, size: CGFloat = 16) {
self.type = type
self.size = size
}
func body(content: Content) -> some View {
content.font(Font.custom(type.rawValue, size: size))
}
}
================================================
FILE: Skailer/Helpers/ImageExtension.swift
================================================
//
// ImageExtension.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
extension Image {
// icons
static let close = Image("arrow_down")
static let options = Image("options_icon")
static let search = Image("search_icon")
static let play = Image("play_icon")
static let pause = Image("pause_icon")
static let heart = Image("heart_icon")
static let heart_filled = Image("heart-filled_icon")
static let next = Image("next_icon")
// Profile Pic
static let profile_pic = Image("profile_pic")
// cover images
static let cover1 = Image("cover1")
static let cover2 = Image("cover2")
static let cover3 = Image("cover3")
static let cover4 = Image("cover4")
static let cover5 = Image("cover5")
}
================================================
FILE: Skailer/Helpers/NeuShadow.swift
================================================
//
// NeuShadow.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
struct NeuShadow: ViewModifier {
func body(content: Content) -> some View {
content
.shadow(color: Color("neuColor1"), radius: 1, x: -7, y: -7)
.shadow(color: Color("neuColor2"), radius: 4, x: -13, y: -7)
.shadow(color: Color("neuColor3"), radius: 10, x: -8, y: 5)
.shadow(color: Color("neuColor4"), radius: 10, x: 10, y: 9)
}
}
================================================
FILE: Skailer/Home/HomeView.swift
================================================
//
// HomeView.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
fileprivate let HORIZONTAL_SPACING: CGFloat = 24
struct HomeView: View {
@StateObject private var viewModel = HomeViewModel()
var body: some View {
ZStack {
Color.primary_color.edgesIgnoringSafeArea(.all)
ScrollView(.vertical, showsIndicators: false) {
VStack(alignment: .leading, spacing: 0) {
// Header
HomeHeaderView(headerStr: viewModel.headerStr)
// Playlists
HomePlaylistView(playlists: viewModel.playlists, onSelect: viewModel.selectMusic(music:))
// Recently Played
HomeRecentlyPlayedView(recentlyPlayed: viewModel.recentlyPlayed, onSelect: viewModel.selectMusic(music:))
// Made for You
HomeMadeForView(onSelect: viewModel.selectMusic(music:))
Spacer().frame(height: 150)
Spacer()
}
.fullScreenCover(isPresented: $viewModel.displayPlayer) {
if let model = viewModel.selectedMusic {
PlayerView(viewModel: PlayerViewModel(model: model))
}
}
}.animation(.spring()).edgesIgnoringSafeArea([.horizontal, .bottom])
}
}
}
fileprivate struct HomeHeaderView: View {
let headerStr: String
var body: some View {
HStack(alignment: .center) {
Text(headerStr).foregroundColor(.text_header)
.modifier(FontModifier(.black, size: 28))
Spacer()
Button(action: { }) {
Image.search.resizable().frame(width: 16, height: 16)
.padding(12).background(Color.primary_color)
.cornerRadius(20).modifier(NeuShadow())
}
}.padding(.top, 12).padding(.horizontal, HORIZONTAL_SPACING)
}
}
fileprivate struct HomePlaylistView: View {
let playlists: [MusicModel], onSelect: (MusicModel) -> ()
var body: some View {
VStack(alignment: .leading, spacing: 0) {
Text("Your Playlist").foregroundColor(.text_header)
.modifier(FontModifier(.bold, size: 20)).padding(.leading, HORIZONTAL_SPACING)
ScrollView(.horizontal, showsIndicators: false) {
HStack {
ForEach(0.. ()
var body: some View {
VStack(alignment: .leading, spacing: 0) {
Text("Recently Played").foregroundColor(.text_header)
.modifier(FontModifier(.bold, size: 20))
.padding(.leading, HORIZONTAL_SPACING)
ScrollView(.horizontal, showsIndicators: false) {
HStack {
ForEach(0.. ()
var body: some View {
VStack(alignment: .leading, spacing: 0) {
Text("Made for You").foregroundColor(.text_header)
.modifier(FontModifier(.bold, size: 20))
.padding(.leading, HORIZONTAL_SPACING)
Button(action: { onSelect(Data.MADE_FOR_YOU) }, label: {
MadeForView()
}).padding([.horizontal, .top], HORIZONTAL_SPACING).padding(.bottom, 40)
}
}
}
================================================
FILE: Skailer/Home/HomeViewModel.swift
================================================
//
// HomeViewModel.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import Foundation
class HomeViewModel: ObservableObject {
@Published private(set) var headerStr = "Hello Sameer 👋🏻"
@Published private(set) var playlists = [MusicModel]()
@Published private(set) var recentlyPlayed = [MusicModel]()
@Published private(set) var selectedMusic: MusicModel? = nil
@Published var displayPlayer = false
init() {
fetchPlaylist()
fetchRecentlyPlayed()
}
private func fetchPlaylist() {
playlists = Data.getPlaylists()
}
private func fetchRecentlyPlayed() {
recentlyPlayed = Data.getRecentlyPlayed()
}
func selectMusic(music: MusicModel) {
selectedMusic = music
displayPlayer = true
}
}
================================================
FILE: Skailer/Info.plist
================================================
UIAppFonts
Lato-Regular.ttf
Lato-Semibold.ttf
Lato-Bold.ttf
Lato-Black.ttf
CFBundleDevelopmentRegion
$(DEVELOPMENT_LANGUAGE)
CFBundleExecutable
$(EXECUTABLE_NAME)
CFBundleIdentifier
$(PRODUCT_BUNDLE_IDENTIFIER)
CFBundleInfoDictionaryVersion
6.0
CFBundleName
$(PRODUCT_NAME)
CFBundlePackageType
$(PRODUCT_BUNDLE_PACKAGE_TYPE)
CFBundleShortVersionString
1.0
CFBundleVersion
1
LSRequiresIPhoneOS
UIApplicationSceneManifest
UIApplicationSupportsMultipleScenes
UIApplicationSupportsIndirectInputEvents
UILaunchScreen
UIRequiredDeviceCapabilities
armv7
UISupportedInterfaceOrientations
UIInterfaceOrientationPortrait
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations~ipad
UIInterfaceOrientationPortrait
UIInterfaceOrientationPortraitUpsideDown
UIInterfaceOrientationLandscapeLeft
UIInterfaceOrientationLandscapeRight
================================================
FILE: Skailer/Model/MusicModel.swift
================================================
//
// MusicModel.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
struct MusicModel {
let name: String
let artistName: String
let coverImage: Image
}
================================================
FILE: Skailer/Player/PlayerView.swift
================================================
//
// PlayerView.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
fileprivate let HORIZONTAL_SPACING: CGFloat = 24
struct PlayerView: View {
@Environment(\.presentationMode) var presentationMode: Binding
@StateObject var viewModel: PlayerViewModel
var body: some View {
ZStack {
Color.primary_color.edgesIgnoringSafeArea(.all)
VStack(alignment: .center, spacing: 0) {
HStack(alignment: .center) {
Button(action: { self.presentationMode.wrappedValue.dismiss() }) {
Image.close.resizable().frame(width: 20, height: 20)
.padding(8).background(Color.primary_color)
.cornerRadius(20).modifier(NeuShadow())
}
Spacer()
Button(action: { }) {
Image.options.resizable().frame(width: 16, height: 16)
.padding(12).background(Color.primary_color)
.cornerRadius(20).modifier(NeuShadow())
}
}.padding(.horizontal, HORIZONTAL_SPACING).padding(.top, 12)
PlayerDiscView(coverImage: viewModel.model.coverImage)
Text(viewModel.model.name).foregroundColor(.text_primary)
.modifier(FontModifier(.black, size: 30))
.padding(.top, 12)
Text(viewModel.model.artistName).foregroundColor(.text_primary_f1)
.modifier(FontModifier(.semibold, size: 18))
.padding(.top, 12)
Spacer()
HStack(alignment: .center, spacing: 12) {
Text("01:34").foregroundColor(.text_primary)
.modifier(FontModifier(.bold, size: 12))
Slider(value: $viewModel.slider, in: 0...100)
.accentColor(.main_white)
Button(action: { viewModel.liked.toggle() }) {
(viewModel.liked ? Image.heart_filled : Image.heart)
.resizable().frame(width: 20, height: 20)
}
}.padding(.horizontal, 45)
Spacer()
HStack(alignment: .center) {
Button(action: { }) {
Image.next.resizable().frame(width: 18, height: 18)
.rotationEffect(Angle(degrees: 180))
.padding(24).background(Color.primary_color)
.cornerRadius(40).modifier(NeuShadow())
}
Spacer()
Button(action: { viewModel.isPlaying.toggle() }) {
(viewModel.isPlaying ? Image.pause : Image.play)
.resizable().frame(width: 28, height: 28)
.padding(50).background(Color.main_color)
.cornerRadius(70).modifier(NeuShadow())
}
Spacer()
Button(action: { }) {
Image.next.resizable().frame(width: 18, height: 18)
.padding(24).background(Color.primary_color)
.cornerRadius(40).modifier(NeuShadow())
}
}.padding(.horizontal, 32)
}.padding(.bottom, HORIZONTAL_SPACING).animation(.spring())
}
}
}
fileprivate struct PlayerDiscView: View {
let coverImage: Image
var body: some View {
ZStack {
Circle().foregroundColor(.primary_color)
.frame(width: 300, height: 300).modifier(NeuShadow())
ForEach(0..<15, id: \.self) { i in
RoundedRectangle(cornerRadius: (150 + CGFloat((8 * i))) / 2)
.stroke(lineWidth: 0.25)
.foregroundColor(.disc_line)
.frame(width: 150 + CGFloat((8 * i)),
height: 150 + CGFloat((8 * i)))
}
coverImage.resizable().scaledToFill()
.frame(width: 120, height: 120).cornerRadius(60)
}
}
}
================================================
FILE: Skailer/Player/PlayerViewModel.swift
================================================
//
// PlayerViewModel.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import Foundation
class PlayerViewModel: ObservableObject {
let model: MusicModel
@Published var liked = true
@Published var slider: Double = 30
@Published var isPlaying = true
init(model: MusicModel) {
self.model = model
}
}
================================================
FILE: Skailer/Preview Content/Preview Assets.xcassets/Contents.json
================================================
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
================================================
FILE: Skailer/SkailerApp.swift
================================================
//
// SkailerApp.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
@main
struct SkailerApp: App {
var body: some Scene {
WindowGroup {
HomeView()
}
}
}
================================================
FILE: Skailer/Views/MadeForView.swift
================================================
//
// MadeForView.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
struct MadeForView: View {
var body: some View {
HStack(alignment: .center, spacing: 0) {
Image.profile_pic.resizable().scaledToFill()
.frame(width: 114, height: 140).cornerRadius(16)
VStack(alignment: .leading, spacing: 8) {
Text("Discover Weekly").foregroundColor(.text_primary)
.modifier(FontModifier(.bold, size: 18))
Text("Your weekly mixtape of fresh music. Enjoy new music and deep cuts picked for you.")
.foregroundColor(.text_primary_f1)
.modifier(FontModifier(.regular, size: 13))
}.padding(.leading, 12)
Spacer()
}
.padding(12).background(Color.primary_color)
.cornerRadius(24).modifier(NeuShadow())
}
}
================================================
FILE: Skailer/Views/MusicDiscView.swift
================================================
//
// MusicDiscView.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
struct MusicDiscView: View {
let name: String, artistName: String, coverImage: Image
var body: some View {
VStack(alignment: .center, spacing: 0) {
ZStack {
Circle().foregroundColor(.primary_color)
.frame(width: 180, height: 180).modifier(NeuShadow())
ForEach(0..<10, id: \.self) { i in
RoundedRectangle(cornerRadius: (80 + CGFloat((6 * i))) / 2)
.stroke(lineWidth: 0.25)
.foregroundColor(.disc_line)
.frame(width: 80 + CGFloat((6 * i)),
height: 80 + CGFloat((6 * i)))
}
coverImage.resizable().scaledToFill()
.frame(width: 70, height: 70).cornerRadius(35)
}
Text(name).foregroundColor(.text_primary)
.modifier(FontModifier(.bold, size: 16))
.padding(.top, 12).padding(.bottom, 6)
Text(artistName).foregroundColor(.text_primary_f1)
.modifier(FontModifier(.regular, size: 12))
.padding(.bottom, 8)
}
}
}
//struct MusicDiscView_Previews: PreviewProvider {
// static var previews: some View {
// MusicDiscView()
// }
//}
================================================
FILE: Skailer/Views/PlaylistView.swift
================================================
//
// PlaylistView.swift
// Skailer
//
// Created by Sameer Nawaz on 22/05/21.
//
import SwiftUI
struct PlaylistView: View {
let name: String, artistName: String, coverImage: Image
var body: some View {
VStack(alignment: .center, spacing: 0) {
coverImage.resizable().scaledToFill()
.frame(width: 114, height: 88).cornerRadius(16)
Text(name).foregroundColor(.text_primary)
.modifier(FontModifier(.bold, size: 16))
.padding(.top, 12).padding(.bottom, 6)
Text(artistName).foregroundColor(.text_primary_f1)
.modifier(FontModifier(.regular, size: 12))
.padding(.bottom, 8)
}
.padding(12).background(Color.primary_color)
.cornerRadius(24).modifier(NeuShadow())
}
}
================================================
FILE: Skailer.xcodeproj/project.pbxproj
================================================
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {
/* Begin PBXBuildFile section */
73CDECD32658F5F7006C1B23 /* SkailerApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECD22658F5F7006C1B23 /* SkailerApp.swift */; };
73CDECD72658F5FA006C1B23 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 73CDECD62658F5FA006C1B23 /* Assets.xcassets */; };
73CDECDA2658F5FA006C1B23 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 73CDECD92658F5FA006C1B23 /* Preview Assets.xcassets */; };
73CDECE52658F6C1006C1B23 /* ColorExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECE42658F6C1006C1B23 /* ColorExtension.swift */; };
73CDECE72658F6E7006C1B23 /* FontModifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECE62658F6E7006C1B23 /* FontModifier.swift */; };
73CDECE92658F703006C1B23 /* ImageExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECE82658F703006C1B23 /* ImageExtension.swift */; };
73CDECEF2658F833006C1B23 /* Lato-Semibold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 73CDECEB2658F833006C1B23 /* Lato-Semibold.ttf */; };
73CDECF02658F833006C1B23 /* Lato-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 73CDECEC2658F833006C1B23 /* Lato-Bold.ttf */; };
73CDECF12658F833006C1B23 /* Lato-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 73CDECED2658F833006C1B23 /* Lato-Regular.ttf */; };
73CDECF22658F833006C1B23 /* Lato-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 73CDECEE2658F833006C1B23 /* Lato-Black.ttf */; };
73CDECF42659050D006C1B23 /* NeuShadow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECF32659050D006C1B23 /* NeuShadow.swift */; };
73CDECF7265906BD006C1B23 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECF6265906BD006C1B23 /* HomeView.swift */; };
73CDECF9265906CC006C1B23 /* HomeViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECF8265906CC006C1B23 /* HomeViewModel.swift */; };
73CDECFE2659089C006C1B23 /* MusicModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECFD2659089C006C1B23 /* MusicModel.swift */; };
73CDED0026590914006C1B23 /* Data.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDECFF26590914006C1B23 /* Data.swift */; };
73CDED0326591700006C1B23 /* PlaylistView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDED0226591700006C1B23 /* PlaylistView.swift */; };
73CDED0526591760006C1B23 /* MusicDiscView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDED0426591760006C1B23 /* MusicDiscView.swift */; };
73CDED0726592124006C1B23 /* MadeForView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDED0626592124006C1B23 /* MadeForView.swift */; };
73CDED0A26592BD7006C1B23 /* PlayerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDED0926592BD7006C1B23 /* PlayerView.swift */; };
73CDED0C26593F6F006C1B23 /* PlayerViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CDED0B26593F6F006C1B23 /* PlayerViewModel.swift */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
73CDECCF2658F5F7006C1B23 /* Skailer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Skailer.app; sourceTree = BUILT_PRODUCTS_DIR; };
73CDECD22658F5F7006C1B23 /* SkailerApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SkailerApp.swift; sourceTree = ""; };
73CDECD62658F5FA006C1B23 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
73CDECD92658F5FA006C1B23 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; };
73CDECDB2658F5FA006C1B23 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
73CDECE42658F6C1006C1B23 /* ColorExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ColorExtension.swift; sourceTree = ""; };
73CDECE62658F6E7006C1B23 /* FontModifier.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FontModifier.swift; sourceTree = ""; };
73CDECE82658F703006C1B23 /* ImageExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageExtension.swift; sourceTree = ""; };
73CDECEB2658F833006C1B23 /* Lato-Semibold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Lato-Semibold.ttf"; sourceTree = ""; };
73CDECEC2658F833006C1B23 /* Lato-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Lato-Bold.ttf"; sourceTree = ""; };
73CDECED2658F833006C1B23 /* Lato-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Lato-Regular.ttf"; sourceTree = ""; };
73CDECEE2658F833006C1B23 /* Lato-Black.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Lato-Black.ttf"; sourceTree = ""; };
73CDECF32659050D006C1B23 /* NeuShadow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NeuShadow.swift; sourceTree = ""; };
73CDECF6265906BD006C1B23 /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = ""; };
73CDECF8265906CC006C1B23 /* HomeViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeViewModel.swift; sourceTree = ""; };
73CDECFD2659089C006C1B23 /* MusicModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MusicModel.swift; sourceTree = ""; };
73CDECFF26590914006C1B23 /* Data.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Data.swift; sourceTree = ""; };
73CDED0226591700006C1B23 /* PlaylistView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaylistView.swift; sourceTree = ""; };
73CDED0426591760006C1B23 /* MusicDiscView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MusicDiscView.swift; sourceTree = ""; };
73CDED0626592124006C1B23 /* MadeForView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MadeForView.swift; sourceTree = ""; };
73CDED0926592BD7006C1B23 /* PlayerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlayerView.swift; sourceTree = ""; };
73CDED0B26593F6F006C1B23 /* PlayerViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlayerViewModel.swift; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
73CDECCC2658F5F7006C1B23 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
73CDECC62658F5F7006C1B23 = {
isa = PBXGroup;
children = (
73CDECD12658F5F7006C1B23 /* Skailer */,
73CDECD02658F5F7006C1B23 /* Products */,
);
sourceTree = "";
};
73CDECD02658F5F7006C1B23 /* Products */ = {
isa = PBXGroup;
children = (
73CDECCF2658F5F7006C1B23 /* Skailer.app */,
);
name = Products;
sourceTree = "";
};
73CDECD12658F5F7006C1B23 /* Skailer */ = {
isa = PBXGroup;
children = (
73CDED0826592BBE006C1B23 /* Player */,
73CDED01265916EA006C1B23 /* Views */,
73CDECFA26590845006C1B23 /* Model */,
73CDECF526590698006C1B23 /* Home */,
73CDECEA2658F7DC006C1B23 /* Lato */,
73CDECE32658F6A1006C1B23 /* Helpers */,
73CDECD22658F5F7006C1B23 /* SkailerApp.swift */,
73CDECD62658F5FA006C1B23 /* Assets.xcassets */,
73CDECDB2658F5FA006C1B23 /* Info.plist */,
73CDECD82658F5FA006C1B23 /* Preview Content */,
73CDECFF26590914006C1B23 /* Data.swift */,
);
path = Skailer;
sourceTree = "";
};
73CDECD82658F5FA006C1B23 /* Preview Content */ = {
isa = PBXGroup;
children = (
73CDECD92658F5FA006C1B23 /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "";
};
73CDECE32658F6A1006C1B23 /* Helpers */ = {
isa = PBXGroup;
children = (
73CDECE42658F6C1006C1B23 /* ColorExtension.swift */,
73CDECE62658F6E7006C1B23 /* FontModifier.swift */,
73CDECE82658F703006C1B23 /* ImageExtension.swift */,
73CDECF32659050D006C1B23 /* NeuShadow.swift */,
);
path = Helpers;
sourceTree = "";
};
73CDECEA2658F7DC006C1B23 /* Lato */ = {
isa = PBXGroup;
children = (
73CDECEE2658F833006C1B23 /* Lato-Black.ttf */,
73CDECEC2658F833006C1B23 /* Lato-Bold.ttf */,
73CDECED2658F833006C1B23 /* Lato-Regular.ttf */,
73CDECEB2658F833006C1B23 /* Lato-Semibold.ttf */,
);
path = Lato;
sourceTree = "";
};
73CDECF526590698006C1B23 /* Home */ = {
isa = PBXGroup;
children = (
73CDECF6265906BD006C1B23 /* HomeView.swift */,
73CDECF8265906CC006C1B23 /* HomeViewModel.swift */,
);
path = Home;
sourceTree = "";
};
73CDECFA26590845006C1B23 /* Model */ = {
isa = PBXGroup;
children = (
73CDECFD2659089C006C1B23 /* MusicModel.swift */,
);
path = Model;
sourceTree = "";
};
73CDED01265916EA006C1B23 /* Views */ = {
isa = PBXGroup;
children = (
73CDED0226591700006C1B23 /* PlaylistView.swift */,
73CDED0426591760006C1B23 /* MusicDiscView.swift */,
73CDED0626592124006C1B23 /* MadeForView.swift */,
);
path = Views;
sourceTree = "";
};
73CDED0826592BBE006C1B23 /* Player */ = {
isa = PBXGroup;
children = (
73CDED0926592BD7006C1B23 /* PlayerView.swift */,
73CDED0B26593F6F006C1B23 /* PlayerViewModel.swift */,
);
path = Player;
sourceTree = "";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
73CDECCE2658F5F7006C1B23 /* Skailer */ = {
isa = PBXNativeTarget;
buildConfigurationList = 73CDECDE2658F5FA006C1B23 /* Build configuration list for PBXNativeTarget "Skailer" */;
buildPhases = (
73CDECCB2658F5F7006C1B23 /* Sources */,
73CDECCC2658F5F7006C1B23 /* Frameworks */,
73CDECCD2658F5F7006C1B23 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Skailer;
productName = Skailer;
productReference = 73CDECCF2658F5F7006C1B23 /* Skailer.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
73CDECC72658F5F7006C1B23 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1250;
LastUpgradeCheck = 1250;
TargetAttributes = {
73CDECCE2658F5F7006C1B23 = {
CreatedOnToolsVersion = 12.5;
};
};
};
buildConfigurationList = 73CDECCA2658F5F7006C1B23 /* Build configuration list for PBXProject "Skailer" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 73CDECC62658F5F7006C1B23;
productRefGroup = 73CDECD02658F5F7006C1B23 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
73CDECCE2658F5F7006C1B23 /* Skailer */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
73CDECCD2658F5F7006C1B23 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
73CDECDA2658F5FA006C1B23 /* Preview Assets.xcassets in Resources */,
73CDECD72658F5FA006C1B23 /* Assets.xcassets in Resources */,
73CDECF12658F833006C1B23 /* Lato-Regular.ttf in Resources */,
73CDECEF2658F833006C1B23 /* Lato-Semibold.ttf in Resources */,
73CDECF22658F833006C1B23 /* Lato-Black.ttf in Resources */,
73CDECF02658F833006C1B23 /* Lato-Bold.ttf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
73CDECCB2658F5F7006C1B23 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
73CDECE52658F6C1006C1B23 /* ColorExtension.swift in Sources */,
73CDED0726592124006C1B23 /* MadeForView.swift in Sources */,
73CDECF42659050D006C1B23 /* NeuShadow.swift in Sources */,
73CDECF9265906CC006C1B23 /* HomeViewModel.swift in Sources */,
73CDED0526591760006C1B23 /* MusicDiscView.swift in Sources */,
73CDED0C26593F6F006C1B23 /* PlayerViewModel.swift in Sources */,
73CDECD32658F5F7006C1B23 /* SkailerApp.swift in Sources */,
73CDED0326591700006C1B23 /* PlaylistView.swift in Sources */,
73CDED0A26592BD7006C1B23 /* PlayerView.swift in Sources */,
73CDECF7265906BD006C1B23 /* HomeView.swift in Sources */,
73CDECFE2659089C006C1B23 /* MusicModel.swift in Sources */,
73CDECE92658F703006C1B23 /* ImageExtension.swift in Sources */,
73CDED0026590914006C1B23 /* Data.swift in Sources */,
73CDECE72658F6E7006C1B23 /* FontModifier.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
73CDECDC2658F5FA006C1B23 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.5;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
73CDECDD2658F5FA006C1B23 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.5;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
};
73CDECDF2658F5FA006C1B23 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"Skailer/Preview Content\"";
DEVELOPMENT_TEAM = GY8LXNR38D;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = Skailer/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.femargent.Skailer;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
73CDECE02658F5FA006C1B23 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"Skailer/Preview Content\"";
DEVELOPMENT_TEAM = GY8LXNR38D;
ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = Skailer/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.femargent.Skailer;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
73CDECCA2658F5F7006C1B23 /* Build configuration list for PBXProject "Skailer" */ = {
isa = XCConfigurationList;
buildConfigurations = (
73CDECDC2658F5FA006C1B23 /* Debug */,
73CDECDD2658F5FA006C1B23 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
73CDECDE2658F5FA006C1B23 /* Build configuration list for PBXNativeTarget "Skailer" */ = {
isa = XCConfigurationList;
buildConfigurations = (
73CDECDF2658F5FA006C1B23 /* Debug */,
73CDECE02658F5FA006C1B23 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 73CDECC72658F5F7006C1B23 /* Project object */;
}
================================================
FILE: Skailer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
================================================
================================================
FILE: Skailer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
================================================
IDEDidComputeMac32BitWarning
================================================
FILE: Skailer.xcodeproj/xcuserdata/sameernawaz.xcuserdatad/xcschemes/xcschememanagement.plist
================================================
SchemeUserState
Skailer.xcscheme_^#shared#^_
orderHint
0