PlanetStarVC开发

This commit is contained in:
liyuhua
2024-02-28 19:01:10 +08:00
parent 166f2bde57
commit 4304c3cad8
80 changed files with 6003 additions and 2586 deletions

View File

@@ -9,6 +9,7 @@ target 'yinmeng-ios' do
pod 'HandyJSON'
pod 'Moya'
pod 'MBProgressHUD'
pod 'SVGAPlayer'
#加载图片
pod 'Kingfisher'
#cell
@@ -17,7 +18,7 @@ target 'yinmeng-ios' do
pod 'SnapKit', '~> 5.6.0'
#获取设备信息
pod 'DeviceKit', '~> 4.0'
pod 'Nuke'
pod "NSObject+Rx"
pod 'NIMSDK_LITE', '9.6.1'

View File

@@ -8,11 +8,10 @@ PODS:
- Moya/Core (= 15.0.0)
- Moya/Core (15.0.0):
- Alamofire (~> 5.0)
- NIMSDK_LITE (9.6.1):
- NIMSDK_LITE/NOS (= 9.6.1)
- NIMSDK_LITE/NOS (9.6.1)
- "NSObject+Rx (5.2.2)":
- RxSwift (~> 6.2)
- Nuke (10.7.1)
- Protobuf (3.25.3)
- Reusable (4.1.2):
- Reusable/Storyboard (= 4.1.2)
- Reusable/View (= 4.1.2)
@@ -25,6 +24,15 @@ PODS:
- RxSwift (= 6.5.0)
- RxSwift (6.5.0)
- SnapKit (5.6.0)
- SSZipArchive (2.4.3)
- SVGAPlayer (2.5.7):
- SVGAPlayer/Core (= 2.5.7)
- SVGAPlayer/ProtoFiles (= 2.5.7)
- SVGAPlayer/Core (2.5.7):
- SSZipArchive (>= 1.8.1)
- SVGAPlayer/ProtoFiles
- SVGAPlayer/ProtoFiles (2.5.7):
- Protobuf (~> 3.4)
DEPENDENCIES:
- DeviceKit (~> 4.0)
@@ -32,12 +40,13 @@ DEPENDENCIES:
- Kingfisher
- MBProgressHUD
- Moya
- NIMSDK_LITE (= 9.6.1)
- "NSObject+Rx"
- Nuke
- Reusable
- RxCocoa
- RxSwift
- SnapKit (~> 5.6.0)
- SVGAPlayer
SPEC REPOS:
https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git:
@@ -47,13 +56,16 @@ SPEC REPOS:
- Kingfisher
- MBProgressHUD
- Moya
- NIMSDK_LITE
- "NSObject+Rx"
- Nuke
- Protobuf
- Reusable
- RxCocoa
- RxRelay
- RxSwift
- SnapKit
- SSZipArchive
- SVGAPlayer
SPEC CHECKSUMS:
Alamofire: 3ca42e259043ee0dc5c0cdd76c4bc568b8e42af7
@@ -62,14 +74,17 @@ SPEC CHECKSUMS:
Kingfisher: 99edc495d3b7607e6425f0d6f6847b2abd6d716d
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406
Moya: 138f0573e53411fb3dc17016add0b748dfbd78ee
NIMSDK_LITE: b020e3dbbc9f53934609bc35ecba7798be503e1a
"NSObject+Rx": 61cf1f7306a73dcef8b36649198af0813ec18dfd
Nuke: 279f17a599fd1c83cf51de5e0e1f2db143a287b0
Protobuf: 8e9074797a13c484a79959fdb819ef4ae6da7dbe
Reusable: 6bae6a5e8aa793c9c441db0213c863a64bce9136
RxCocoa: 94f817b71c07517321eb4f9ad299112ca8af743b
RxRelay: 1de1523e604c72b6c68feadedd1af3b1b4d0ecbd
RxSwift: 5710a9e6b17f3c3d6e40d6e559b9fa1e813b2ef8
SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
SVGAPlayer: 318b85a78b61292d6ae9dfcd651f3f0d1cdadd86
PODFILE CHECKSUM: 7019a59ec100e22a180d47778e7df381509800e8
PODFILE CHECKSUM: 34a476613fc8cf70e90765dce36c6cc360eb4128
COCOAPODS: 1.14.3
COCOAPODS: 1.12.1

31
Pods/Manifest.lock generated
View File

@@ -8,11 +8,10 @@ PODS:
- Moya/Core (= 15.0.0)
- Moya/Core (15.0.0):
- Alamofire (~> 5.0)
- NIMSDK_LITE (9.6.1):
- NIMSDK_LITE/NOS (= 9.6.1)
- NIMSDK_LITE/NOS (9.6.1)
- "NSObject+Rx (5.2.2)":
- RxSwift (~> 6.2)
- Nuke (10.7.1)
- Protobuf (3.25.3)
- Reusable (4.1.2):
- Reusable/Storyboard (= 4.1.2)
- Reusable/View (= 4.1.2)
@@ -25,6 +24,15 @@ PODS:
- RxSwift (= 6.5.0)
- RxSwift (6.5.0)
- SnapKit (5.6.0)
- SSZipArchive (2.4.3)
- SVGAPlayer (2.5.7):
- SVGAPlayer/Core (= 2.5.7)
- SVGAPlayer/ProtoFiles (= 2.5.7)
- SVGAPlayer/Core (2.5.7):
- SSZipArchive (>= 1.8.1)
- SVGAPlayer/ProtoFiles
- SVGAPlayer/ProtoFiles (2.5.7):
- Protobuf (~> 3.4)
DEPENDENCIES:
- DeviceKit (~> 4.0)
@@ -32,12 +40,13 @@ DEPENDENCIES:
- Kingfisher
- MBProgressHUD
- Moya
- NIMSDK_LITE (= 9.6.1)
- "NSObject+Rx"
- Nuke
- Reusable
- RxCocoa
- RxSwift
- SnapKit (~> 5.6.0)
- SVGAPlayer
SPEC REPOS:
https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git:
@@ -47,13 +56,16 @@ SPEC REPOS:
- Kingfisher
- MBProgressHUD
- Moya
- NIMSDK_LITE
- "NSObject+Rx"
- Nuke
- Protobuf
- Reusable
- RxCocoa
- RxRelay
- RxSwift
- SnapKit
- SSZipArchive
- SVGAPlayer
SPEC CHECKSUMS:
Alamofire: 3ca42e259043ee0dc5c0cdd76c4bc568b8e42af7
@@ -62,14 +74,17 @@ SPEC CHECKSUMS:
Kingfisher: 99edc495d3b7607e6425f0d6f6847b2abd6d716d
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406
Moya: 138f0573e53411fb3dc17016add0b748dfbd78ee
NIMSDK_LITE: b020e3dbbc9f53934609bc35ecba7798be503e1a
"NSObject+Rx": 61cf1f7306a73dcef8b36649198af0813ec18dfd
Nuke: 279f17a599fd1c83cf51de5e0e1f2db143a287b0
Protobuf: 8e9074797a13c484a79959fdb819ef4ae6da7dbe
Reusable: 6bae6a5e8aa793c9c441db0213c863a64bce9136
RxCocoa: 94f817b71c07517321eb4f9ad299112ca8af743b
RxRelay: 1de1523e604c72b6c68feadedd1af3b1b4d0ecbd
RxSwift: 5710a9e6b17f3c3d6e40d6e559b9fa1e813b2ef8
SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
SVGAPlayer: 318b85a78b61292d6ae9dfcd651f3f0d1cdadd86
PODFILE CHECKSUM: 7019a59ec100e22a180d47778e7df381509800e8
PODFILE CHECKSUM: 34a476613fc8cf70e90765dce36c6cc360eb4128
COCOAPODS: 1.14.3
COCOAPODS: 1.12.1

File diff suppressed because it is too large Load Diff

View File

@@ -201,6 +201,67 @@ SOFTWARE.
## Nuke
The MIT License (MIT)
Copyright (c) 2015-2022 Alexander Grebenyuk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
## Protobuf
Copyright 2008 Google Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Code generated by the Protocol Buffer compiler is owned by the owner
of the input file used when generating it. This code is not
standalone and requires a support library to be linked with it. This
support library is itself covered by the above license.
## Reusable
The MIT License (MIT)
@@ -265,6 +326,234 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
## SSZipArchive
Copyright (c) 2013-2021, ZipArchive, https://github.com/ZipArchive
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
## SVGAPlayer
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 2016 YY Inc.
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.
## SnapKit
Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit

View File

@@ -264,6 +264,79 @@ SOFTWARE.
<key>FooterText</key>
<string>The MIT License (MIT)
Copyright (c) 2015-2022 Alexander Grebenyuk
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</string>
<key>License</key>
<string>MIT</string>
<key>Title</key>
<string>Nuke</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright 2008 Google Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Code generated by the Protocol Buffer compiler is owned by the owner
of the input file used when generating it. This code is not
standalone and requires a support library to be linked with it. This
support library is itself covered by the above license.
</string>
<key>License</key>
<string>BSD-3-Clause</string>
<key>Title</key>
<string>Protobuf</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>The MIT License (MIT)
Copyright (c) 2016 AliSoftware
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -348,6 +421,246 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright (c) 2013-2021, ZipArchive, https://github.com/ZipArchive
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</string>
<key>License</key>
<string>MIT</string>
<key>Title</key>
<string>SSZipArchive</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string> 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 2016 YY Inc.
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.</string>
<key>License</key>
<string>Apache 2.0</string>
<key>Title</key>
<string>SVGAPlayer</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit

View File

@@ -8,8 +8,12 @@ ${BUILT_PRODUCTS_DIR}/Moya/Moya.framework
${PODS_ROOT}/NIMSDK_LITE/NIMSDK/NIMSDK.framework
${PODS_ROOT}/NIMSDK_LITE/NIMSDK/NIMNOS.framework
${BUILT_PRODUCTS_DIR}/NSObject+Rx/NSObject_Rx.framework
${BUILT_PRODUCTS_DIR}/Nuke/Nuke.framework
${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework
${BUILT_PRODUCTS_DIR}/Reusable/Reusable.framework
${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework
${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework
${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework
${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework
${BUILT_PRODUCTS_DIR}/SVGAPlayer/SVGAPlayer.framework
${BUILT_PRODUCTS_DIR}/SnapKit/SnapKit.framework

View File

@@ -7,8 +7,12 @@ ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NIMSDK.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NIMNOS.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NSObject_Rx.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nuke.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reusable.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRelay.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSZipArchive.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SVGAPlayer.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SnapKit.framework

View File

@@ -8,8 +8,12 @@ ${BUILT_PRODUCTS_DIR}/Moya/Moya.framework
${PODS_ROOT}/NIMSDK_LITE/NIMSDK/NIMSDK.framework
${PODS_ROOT}/NIMSDK_LITE/NIMSDK/NIMNOS.framework
${BUILT_PRODUCTS_DIR}/NSObject+Rx/NSObject_Rx.framework
${BUILT_PRODUCTS_DIR}/Nuke/Nuke.framework
${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework
${BUILT_PRODUCTS_DIR}/Reusable/Reusable.framework
${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework
${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework
${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework
${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework
${BUILT_PRODUCTS_DIR}/SVGAPlayer/SVGAPlayer.framework
${BUILT_PRODUCTS_DIR}/SnapKit/SnapKit.framework

View File

@@ -7,8 +7,12 @@ ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NIMSDK.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NIMNOS.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NSObject_Rx.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Nuke.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reusable.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRelay.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSZipArchive.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SVGAPlayer.framework
${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SnapKit.framework

View File

@@ -185,10 +185,14 @@ if [[ "$CONFIGURATION" == "Debug" ]]; then
install_framework "${PODS_ROOT}/NIMSDK_LITE/NIMSDK/NIMSDK.framework"
install_framework "${PODS_ROOT}/NIMSDK_LITE/NIMSDK/NIMNOS.framework"
install_framework "${BUILT_PRODUCTS_DIR}/NSObject+Rx/NSObject_Rx.framework"
install_framework "${BUILT_PRODUCTS_DIR}/Nuke/Nuke.framework"
install_framework "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework"
install_framework "${BUILT_PRODUCTS_DIR}/Reusable/Reusable.framework"
install_framework "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework"
install_framework "${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework"
install_framework "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework"
install_framework "${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework"
install_framework "${BUILT_PRODUCTS_DIR}/SVGAPlayer/SVGAPlayer.framework"
install_framework "${BUILT_PRODUCTS_DIR}/SnapKit/SnapKit.framework"
fi
if [[ "$CONFIGURATION" == "Release" ]]; then
@@ -201,10 +205,14 @@ if [[ "$CONFIGURATION" == "Release" ]]; then
install_framework "${PODS_ROOT}/NIMSDK_LITE/NIMSDK/NIMSDK.framework"
install_framework "${PODS_ROOT}/NIMSDK_LITE/NIMSDK/NIMNOS.framework"
install_framework "${BUILT_PRODUCTS_DIR}/NSObject+Rx/NSObject_Rx.framework"
install_framework "${BUILT_PRODUCTS_DIR}/Nuke/Nuke.framework"
install_framework "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework"
install_framework "${BUILT_PRODUCTS_DIR}/Reusable/Reusable.framework"
install_framework "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework"
install_framework "${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework"
install_framework "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework"
install_framework "${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework"
install_framework "${BUILT_PRODUCTS_DIR}/SVGAPlayer/SVGAPlayer.framework"
install_framework "${BUILT_PRODUCTS_DIR}/SnapKit/SnapKit.framework"
fi
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then

View File

@@ -1,11 +1,11 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/DeviceKit" "${PODS_CONFIGURATION_BUILD_DIR}/HandyJSON" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/Moya" "${PODS_CONFIGURATION_BUILD_DIR}/NSObject+Rx" "${PODS_CONFIGURATION_BUILD_DIR}/Reusable" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_ROOT}/NIMSDK_LITE/NIMSDK"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/DeviceKit/DeviceKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/HandyJSON/HandyJSON.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD/MBProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Moya/Moya.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/NSObject+Rx/NSObject_Rx.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Reusable/Reusable.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay/RxRelay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers"
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/DeviceKit" "${PODS_CONFIGURATION_BUILD_DIR}/HandyJSON" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/Moya" "${PODS_CONFIGURATION_BUILD_DIR}/NSObject+Rx" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" "${PODS_CONFIGURATION_BUILD_DIR}/Protobuf" "${PODS_CONFIGURATION_BUILD_DIR}/Reusable" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/SVGAPlayer" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 $(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/DeviceKit/DeviceKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/HandyJSON/HandyJSON.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD/MBProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Moya/Moya.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/NSObject+Rx/NSObject_Rx.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke/Nuke.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Protobuf/Protobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Reusable/Reusable.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay/RxRelay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive/SSZipArchive.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SVGAPlayer/SVGAPlayer.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers"
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -l"c++" -l"resolv" -l"sqlite3.0" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "Alamofire" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreTelephony" -framework "DeviceKit" -framework "Foundation" -framework "HandyJSON" -framework "Kingfisher" -framework "MBProgressHUD" -framework "Moya" -framework "NIMNOS" -framework "NIMSDK" -framework "NSObject_Rx" -framework "QuartzCore" -framework "Reusable" -framework "RxCocoa" -framework "RxRelay" -framework "RxSwift" -framework "SnapKit" -framework "SystemConfiguration" -framework "UIKit" -framework "VideoToolbox" -weak_framework "Combine" -weak_framework "SwiftUI"
LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -l"iconv" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "Alamofire" -framework "CFNetwork" -framework "CoreGraphics" -framework "DeviceKit" -framework "Foundation" -framework "HandyJSON" -framework "Kingfisher" -framework "MBProgressHUD" -framework "Moya" -framework "NSObject_Rx" -framework "Nuke" -framework "Protobuf" -framework "QuartzCore" -framework "Reusable" -framework "RxCocoa" -framework "RxRelay" -framework "RxSwift" -framework "SSZipArchive" -framework "SVGAPlayer" -framework "Security" -framework "SnapKit" -framework "UIKit" -weak_framework "Combine" -weak_framework "SwiftUI"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

View File

@@ -1,11 +1,11 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/DeviceKit" "${PODS_CONFIGURATION_BUILD_DIR}/HandyJSON" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/Moya" "${PODS_CONFIGURATION_BUILD_DIR}/NSObject+Rx" "${PODS_CONFIGURATION_BUILD_DIR}/Reusable" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_ROOT}/NIMSDK_LITE/NIMSDK"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/DeviceKit/DeviceKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/HandyJSON/HandyJSON.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD/MBProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Moya/Moya.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/NSObject+Rx/NSObject_Rx.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Reusable/Reusable.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay/RxRelay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers"
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/DeviceKit" "${PODS_CONFIGURATION_BUILD_DIR}/HandyJSON" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/Moya" "${PODS_CONFIGURATION_BUILD_DIR}/NSObject+Rx" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke" "${PODS_CONFIGURATION_BUILD_DIR}/Protobuf" "${PODS_CONFIGURATION_BUILD_DIR}/Reusable" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive" "${PODS_CONFIGURATION_BUILD_DIR}/SVGAPlayer" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 $(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1
HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/DeviceKit/DeviceKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/HandyJSON/HandyJSON.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/MBProgressHUD/MBProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Moya/Moya.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/NSObject+Rx/NSObject_Rx.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Nuke/Nuke.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Protobuf/Protobuf.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Reusable/Reusable.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay/RxRelay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SSZipArchive/SSZipArchive.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SVGAPlayer/SVGAPlayer.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers"
LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -l"c++" -l"resolv" -l"sqlite3.0" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "Alamofire" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreGraphics" -framework "CoreMedia" -framework "CoreTelephony" -framework "DeviceKit" -framework "Foundation" -framework "HandyJSON" -framework "Kingfisher" -framework "MBProgressHUD" -framework "Moya" -framework "NIMNOS" -framework "NIMSDK" -framework "NSObject_Rx" -framework "QuartzCore" -framework "Reusable" -framework "RxCocoa" -framework "RxRelay" -framework "RxSwift" -framework "SnapKit" -framework "SystemConfiguration" -framework "UIKit" -framework "VideoToolbox" -weak_framework "Combine" -weak_framework "SwiftUI"
LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
OTHER_LDFLAGS = $(inherited) -l"iconv" -l"z" -framework "AVFoundation" -framework "Accelerate" -framework "Alamofire" -framework "CFNetwork" -framework "CoreGraphics" -framework "DeviceKit" -framework "Foundation" -framework "HandyJSON" -framework "Kingfisher" -framework "MBProgressHUD" -framework "Moya" -framework "NSObject_Rx" -framework "Nuke" -framework "Protobuf" -framework "QuartzCore" -framework "Reusable" -framework "RxCocoa" -framework "RxRelay" -framework "RxSwift" -framework "SSZipArchive" -framework "SVGAPlayer" -framework "Security" -framework "SnapKit" -framework "UIKit" -weak_framework "Combine" -weak_framework "SwiftUI"
OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)

View File

@@ -7,6 +7,12 @@
objects = {
/* Begin PBXBuildFile section */
2311D69D2B8DC311001C70AB /* PlanetStarModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2311D69C2B8DC311001C70AB /* PlanetStarModel.swift */; };
2311D6A12B8DD649001C70AB /* StarIcon.svga in Resources */ = {isa = PBXBuildFile; fileRef = 2311D6A02B8DD649001C70AB /* StarIcon.svga */; };
2311D6A52B8F0E06001C70AB /* StarGift.svga in Resources */ = {isa = PBXBuildFile; fileRef = 2311D6A42B8F0E06001C70AB /* StarGift.svga */; };
2311D6A72B8F2CFA001C70AB /* HomeVoiceChooseItemVeiw.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2311D6A62B8F2CFA001C70AB /* HomeVoiceChooseItemVeiw.swift */; };
2311D6A92B8F405F001C70AB /* HomeVoiceChooseTypeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2311D6A82B8F405F001C70AB /* HomeVoiceChooseTypeView.swift */; };
233E515B2B8C849600582F9C /* PlanetStarClickItemView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 233E515A2B8C849600582F9C /* PlanetStarClickItemView.swift */; };
25C63BC8F805551E8754E409 /* Pods_yinmeng_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B2F175918AD0811681497739 /* Pods_yinmeng_ios.framework */; };
E81A7BAE2B885B20009E736E /* Base64.m in Sources */ = {isa = PBXBuildFile; fileRef = E81A7BAA2B885B20009E736E /* Base64.m */; };
E81A7BAF2B885B20009E736E /* MAIDESEncryptTool.m in Sources */ = {isa = PBXBuildFile; fileRef = E81A7BAB2B885B20009E736E /* MAIDESEncryptTool.m */; };
@@ -59,6 +65,12 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
2311D69C2B8DC311001C70AB /* PlanetStarModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlanetStarModel.swift; sourceTree = "<group>"; };
2311D6A02B8DD649001C70AB /* StarIcon.svga */ = {isa = PBXFileReference; lastKnownFileType = file; path = StarIcon.svga; sourceTree = "<group>"; };
2311D6A42B8F0E06001C70AB /* StarGift.svga */ = {isa = PBXFileReference; lastKnownFileType = file; path = StarGift.svga; sourceTree = "<group>"; };
2311D6A62B8F2CFA001C70AB /* HomeVoiceChooseItemVeiw.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeVoiceChooseItemVeiw.swift; sourceTree = "<group>"; };
2311D6A82B8F405F001C70AB /* HomeVoiceChooseTypeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeVoiceChooseTypeView.swift; sourceTree = "<group>"; };
233E515A2B8C849600582F9C /* PlanetStarClickItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlanetStarClickItemView.swift; sourceTree = "<group>"; };
A9FB906EB4D17C552C15A2B3 /* Pods-yinmeng-ios.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-yinmeng-ios.debug.xcconfig"; path = "Target Support Files/Pods-yinmeng-ios/Pods-yinmeng-ios.debug.xcconfig"; sourceTree = "<group>"; };
B2F175918AD0811681497739 /* Pods_yinmeng_ios.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_yinmeng_ios.framework; sourceTree = BUILT_PRODUCTS_DIR; };
CB0AC98C54C1D41FA4CA102B /* Pods-yinmeng-ios.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-yinmeng-ios.release.xcconfig"; path = "Target Support Files/Pods-yinmeng-ios/Pods-yinmeng-ios.release.xcconfig"; sourceTree = "<group>"; };
@@ -352,6 +364,8 @@
E86A43A72B85DF7A0084C04D /* Base */,
E884E85E2B6900C500ADE6EE /* AppDelegate.swift */,
E884E8642B6900C500ADE6EE /* Main.storyboard */,
2311D6A02B8DD649001C70AB /* StarIcon.svga */,
2311D6A42B8F0E06001C70AB /* StarGift.svga */,
E884E8672B6900C600ADE6EE /* Assets.xcassets */,
E884E8692B6900C600ADE6EE /* LaunchScreen.storyboard */,
E884E86C2B6900C600ADE6EE /* Info.plist */,
@@ -382,6 +396,8 @@
isa = PBXGroup;
children = (
E8D15AAF2B8AFFCE00369467 /* HomeVoiceVC.swift */,
2311D6A62B8F2CFA001C70AB /* HomeVoiceChooseItemVeiw.swift */,
2311D6A82B8F405F001C70AB /* HomeVoiceChooseTypeView.swift */,
);
path = Home;
sourceTree = "<group>";
@@ -390,6 +406,8 @@
isa = PBXGroup;
children = (
E8D15AB22B8B000400369467 /* PlanetStarVC.swift */,
2311D69C2B8DC311001C70AB /* PlanetStarModel.swift */,
233E515A2B8C849600582F9C /* PlanetStarClickItemView.swift */,
);
path = Star;
sourceTree = "<group>";
@@ -525,8 +543,10 @@
buildActionMask = 2147483647;
files = (
E884E86B2B6900C600ADE6EE /* LaunchScreen.storyboard in Resources */,
2311D6A52B8F0E06001C70AB /* StarGift.svga in Resources */,
E884E8682B6900C600ADE6EE /* Assets.xcassets in Resources */,
E884E8662B6900C500ADE6EE /* Main.storyboard in Resources */,
2311D6A12B8DD649001C70AB /* StarIcon.svga in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -607,6 +627,8 @@
E86A43CD2B874C8E0084C04D /* BaseView.swift in Sources */,
E8D15AE82B8CD47100369467 /* WebViewController.swift in Sources */,
E8D15AA12B89AF4F00369467 /* UserTokenObject.swift in Sources */,
233E515B2B8C849600582F9C /* PlanetStarClickItemView.swift in Sources */,
2311D6A92B8F405F001C70AB /* HomeVoiceChooseTypeView.swift in Sources */,
E8D15AB62B8B002700369467 /* ChatVC.swift in Sources */,
E86A43C62B862CC70084C04D /* UIImage+.swift in Sources */,
E86A43D32B8773C90084C04D /* APPUtils.swift in Sources */,
@@ -620,10 +642,12 @@
E8479E4D2B8DDBC5009AF878 /* ChatAttributeTool.swift in Sources */,
E81A7BAF2B885B20009E736E /* MAIDESEncryptTool.m in Sources */,
E8D15AA82B89B74700369467 /* YMRequestX.swift in Sources */,
2311D6A72B8F2CFA001C70AB /* HomeVoiceChooseItemVeiw.swift in Sources */,
E8D15AB02B8AFFCE00369467 /* HomeVoiceVC.swift in Sources */,
E86A43D52B8774B70084C04D /* AuthViewModel.swift in Sources */,
E8D15AB32B8B000400369467 /* PlanetStarVC.swift in Sources */,
E8D15A9D2B899E1500369467 /* YMNetworkHelper.swift in Sources */,
2311D69D2B8DC311001C70AB /* PlanetStarModel.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -778,7 +802,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = KQKX28SU5S;
DEVELOPMENT_TEAM = 48UCG35Q9W;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "yinmeng-ios/Info.plist";
@@ -812,7 +836,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = KQKX28SU5S;
DEVELOPMENT_TEAM = 48UCG35Q9W;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "yinmeng-ios/Info.plist";

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_home_voice_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_home_voice_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "yin_home_voice_change_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "yin_home_voice_change_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "yin_home_voice_choose_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "yin_home_voice_choose_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "yin_home_voice_top_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "yin_home_voice_top_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "yin_home_voice_user_info_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "yin_home_voice_user_info_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "yin_home_voice_user_info_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "yin_home_voice_user_info_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star__woman@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star__woman@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_attention_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_attention_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_attention_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_attention_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_back@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_back@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_center_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_center_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_chat_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_chat_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 929 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_man@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_man@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1005 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_no_attention_icon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_no_attention_icon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_refresh@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_refresh@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_signature_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_signature_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ym_plane_star_water_drop_bg@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ym_plane_star_water_drop_bg@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@@ -37,7 +37,7 @@ class YMNetworkHelper: NSObject {
func requestSend(type:HTTPMethod,path:String,params:Dictionary<String, Any>, succeed:SessionCallSucceed?,fail:SessionCallFail?) -> Void {
getHttpRequestHeaders()
requestSend(type: type,host: "http://beta.api.ymlive.fun/", path: path, params: params, encoding: URLEncoding.queryString, header: headersSet, succeed: succeed, fail: fail)
requestSend(type: type,host: "https://api.ymlive.fun/", path: path, params: params, encoding: URLEncoding.queryString, header: headersSet, succeed: succeed, fail: fail)
}
func requestSend(type:HTTPMethod,

View File

@@ -3,3 +3,4 @@
//
#import "MAIDESEncryptTool.h"
#import <SVGAPlayer/SVGA.h>

View File

@@ -0,0 +1,58 @@
//
// HomeVoiceChooseItemVeiw.swift
// yinmeng-ios
//
// Created by duoban on 2024/2/28.
//
import UIKit
class HomeVoiceChooseItemVeiw: UIView {
var isChoose:Bool = false
override init(frame: CGRect) {
super.init(frame: frame)
setUILayout()
}
func setUILayout(){
backgroundColor = ThemeColor(hexStr: "#1D1E1F")
layer.cornerRadius = 14
layer.masksToBounds = true
addSubview(leftIconView)
addSubview(rightTextView)
leftIconView.snp.makeConstraints { make in
make.width.height.equalTo(18)
make.left.equalTo(8)
make.centerY.equalTo(self)
}
rightTextView.snp.makeConstraints { make in
make.left.equalTo(28)
make.right.equalTo(9)
make.centerY.equalTo(self)
}
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
var image:String = "" {
didSet{
leftIconView.image = UIImage(named: image)
}
}
var text:String = ""{
didSet{
rightTextView.text = text
}
}
var leftIconView:UIImageView = {
let _leftIconView = UIImageView()
return _leftIconView
}()
var rightTextView:UILabel = {
let _rightTextView = UILabel()
_rightTextView.font = UIFont.systemFont(ofSize: 12, weight: .medium)
_rightTextView.textColor = ThemeColor(hexStr: "#E1E4E6")
return _rightTextView
}()
}

View File

@@ -0,0 +1,96 @@
//
// HomeVoiceChooseTypeView.swift
// yinmeng-ios
//
// Created by duoban on 2024/2/28.
//
import UIKit
typealias YinChooseTypeBlock = (_ type:Int)->Void
class HomeVoiceChooseTypeView: UIView {
var chooseTypeBlock:YinChooseTypeBlock?
override init(frame: CGRect) {
super.init(frame: frame)
setUILayout()
}
func setUILayout(){
backgroundColor = .white
layer.cornerRadius = 8
layer.masksToBounds = true
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
@objc func clickItemAction(sender:UIButton){
if allBtn == sender{
allBtn.backgroundColor = ThemeColor(hexStr: "#DCDDE0")
allBtn.setTitleColor(ThemeColor(hexStr: "#1F1B4F"), for: .normal)
manBtn.setTitleColor(ThemeColor(hexStr: "#7D8499"), for: .normal)
manBtn.backgroundColor = .clear
womanBtn.setTitleColor(ThemeColor(hexStr: "#7D8499"), for: .normal)
womanBtn.backgroundColor = .clear
}else if manBtn == sender{
manBtn.backgroundColor = ThemeColor(hexStr: "#DCDDE0")
manBtn.setTitleColor(ThemeColor(hexStr: "#1F1B4F"), for: .normal)
allBtn.setTitleColor(ThemeColor(hexStr: "#7D8499"), for: .normal)
allBtn.backgroundColor = .clear
womanBtn.setTitleColor(ThemeColor(hexStr: "#7D8499"), for: .normal)
womanBtn.backgroundColor = .clear
}else{
womanBtn.backgroundColor = ThemeColor(hexStr: "#DCDDE0")
womanBtn.setTitleColor(ThemeColor(hexStr: "#1F1B4F"), for: .normal)
allBtn.setTitleColor(ThemeColor(hexStr: "#7D8499"), for: .normal)
allBtn.backgroundColor = .clear
manBtn.setTitleColor(ThemeColor(hexStr: "#7D8499"), for: .normal)
manBtn.backgroundColor = .clear
}
self.isHidden = true
if let _chooseTypeBlock = chooseTypeBlock{
let type = sender.tag - 100
_chooseTypeBlock(type)
}
}
var allBtn:UIButton = {
let _allBtn = UIButton()
_allBtn.setTitle("全部", for: .normal)
_allBtn.setTitleColor(ThemeColor(hexStr: "#1F1B4F"), for: .normal)
_allBtn.titleLabel?.font = UIFont.systemFont(ofSize: 17, weight: .medium)
_allBtn.backgroundColor = ThemeColor(hexStr: "#DCDDE0")
_allBtn.layer.cornerRadius = 6
_allBtn.tag = 100;
_allBtn.layer.masksToBounds = true
_allBtn.addTarget(self, action: #selector(clickItemAction(sender:)), for: .touchUpInside)
return _allBtn
}()
var manBtn:UIButton = {
let _manBtn = UIButton()
_manBtn.setTitle("男生", for: .normal)
_manBtn.setTitleColor(ThemeColor(hexStr: "#7D8499"), for: .normal)
_manBtn.titleLabel?.font = UIFont.systemFont(ofSize: 17, weight: .medium)
_manBtn.tag = 101;
_manBtn.layer.cornerRadius = 6
_manBtn.layer.masksToBounds = true
_manBtn.addTarget(self, action: #selector(clickItemAction(sender:)), for: .touchUpInside)
return _manBtn
}()
var womanBtn:UIButton = {
let _womanBtn = UIButton()
_womanBtn.setTitle("女生", for: .normal)
_womanBtn.setTitleColor(ThemeColor(hexStr: "#7D8499"), for: .normal)
_womanBtn.titleLabel?.font = UIFont.systemFont(ofSize: 17, weight: .medium)
_womanBtn.layer.cornerRadius = 6
_womanBtn.tag = 102;
_womanBtn.layer.masksToBounds = true
_womanBtn.addTarget(self, action: #selector(clickItemAction(sender:)), for: .touchUpInside)
return _womanBtn
}()
}

View File

@@ -7,23 +7,101 @@
import UIKit
class HomeVoiceVC: BaseViewController {
class HomeVoiceVC: BaseViewController,HiddenNavigationBarProtocol {
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .red
setUILayout()
}
func setUILayout(){
view.addSubview(backgroundView)
view.addSubview(topLogoIcon)
view.addSubview(chooseItemVeiw)
view.addSubview(changeItemView)
view.addSubview(userInfoBtn)
view.addSubview(chooseTypeView)
backgroundView.snp.makeConstraints { make in
make.edges.equalTo(self.view)
}
topLogoIcon.snp.makeConstraints { make in
make.left.equalTo(20)
make.top.equalTo(14 + NavHeight)
make.width.equalTo(260)
make.height.equalTo(23)
}
chooseItemVeiw.snp.makeConstraints { make in
make.left.equalTo(20)
make.top.equalTo(self.topLogoIcon.snp.bottom).offset(18)
make.width.equalTo(61)
make.height.equalTo(27)
}
changeItemView.snp.makeConstraints { make in
make.left.equalTo(self.chooseItemVeiw.snp.right).offset(8)
make.top.height.equalTo(self.chooseItemVeiw)
make.width.equalTo(76)
}
userInfoBtn.snp.makeConstraints { make in
make.right.equalTo(-20)
make.height.equalTo(40)
make.width.equalTo(50)
make.centerY.equalTo(changeItemView)
}
chooseTypeView.snp.makeConstraints { make in
make.width.equalTo(64)
make.height.equalTo(107)
make.centerX.equalTo(self.chooseItemVeiw)
make.top.equalTo(self.changeItemView.snp.bottom)
}
chooseTypeView.chooseTypeBlock = {[weak self] type in
self?.chooseItemVeiw.isChoose = false
}
}
@objc func chooseItemAction(){
chooseItemVeiw.isChoose = !chooseItemVeiw.isChoose
chooseTypeView.isHidden = !chooseItemVeiw.isChoose
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
private lazy var backgroundView:UIImageView = {
let _backgroundView = UIImageView()
_backgroundView.image = UIImage(named: "yin_home_voice_bg")
_backgroundView.isUserInteractionEnabled = true
return _backgroundView
}()
var topLogoIcon:UIImageView = {
let _topLogoIcon = UIImageView()
_topLogoIcon.image = UIImage(named: "yin_home_voice_top_icon")
return _topLogoIcon
}()
var chooseItemVeiw:HomeVoiceChooseItemVeiw = {
let _chooseItemVeiw = HomeVoiceChooseItemVeiw(frame: .zero)
_chooseItemVeiw.image = "yin_home_voice_choose_icon"
_chooseItemVeiw.text = "筛选"
return _chooseItemVeiw
}()
var changeItemView:HomeVoiceChooseItemVeiw = {
let _changeItemView = HomeVoiceChooseItemVeiw(frame: .zero)
_changeItemView.image = "yin_home_voice_change_icon"
_changeItemView.text = "换一换"
return _changeItemView
}()
var userInfoBtn:UIButton = {
let _userInfoBtn = UIButton()
_userInfoBtn.setBackgroundImage(UIImage(named: "yin_home_voice_user_info_bg"), for: .normal)
_userInfoBtn.setImage(UIImage(named: "yin_home_voice_user_info_icon"), for: .normal)
return _userInfoBtn
}()
var chooseTypeView:HomeVoiceChooseTypeView = {
let _chooseTypeView = HomeVoiceChooseTypeView(frame: .zero)
_chooseTypeView.isHidden = true
return _chooseTypeView
}()
}

View File

@@ -0,0 +1,450 @@
//
// PlanetStarClickItemView.swift
// yinmeng-ios
//
// Created by duoban on 2024/2/26.
//
import UIKit
import Nuke
typealias RefreshBlcok = ()->Void
class PlanetStarClickItemView: UIView {
deinit{
if self.timer != nil{
self.timer?.invalidate()
self.timer = nil
}
}
override init(frame: CGRect) {
super.init(frame: frame)
yin_initUI()
timer = Timer.scheduledTimer(timeInterval: 0.01, target: self, selector: #selector(beginRotationAnimation), userInfo: nil, repeats: true)
}
@objc func beginRotationAnimation(){
if self.isStop == true{
return
}
self.vapView.transform = CGAffineTransformRotate(self.vapView.transform, Double.pi / 1000 * 1);
}
func yin_initUI(){
addSubview(vapView)
vapView.frame = CGRect(x: -185, y: ScreenHeight/2 - 429 / 2 - 60, width: 429, height: 429)
parser.parse(withNamed: "StarIcon", in: Bundle.main) {[weak self] videoItem in
self?.vapView.videoItem = videoItem
self?.vapView.loops = 100000;
self?.vapView.startAnimation()
} failureBlock: { error in
}
for i in 0..<12 {
let clickHeadImageView = UIImageView()
clickHeadImageView.isUserInteractionEnabled = true
clickHeadImageView.layer.cornerRadius = 31
clickHeadImageView.layer.masksToBounds = true
clickHeadImageView.layer.borderWidth = 1
clickHeadImageView.layer.borderColor = ThemeColor(hexStr: "#57CDFF").cgColor
clickHeadImageView.tag = i + 100
clickHeadImageView.frame = CGRect(x: 0, y: 0, width: clickWidth, height: clickHeight)
let tap = UITapGestureRecognizer.init(target: self, action: #selector(clickImageViewAction))
clickHeadImageView.addGestureRecognizer(tap)
vapView.addSubview(clickHeadImageView)
clickViewList.append(clickHeadImageView)
}
setClickViewLayout()
vapView.superview?.layoutIfNeeded()
addSubview(bgImageView)
addSubview(imageView)
imageView.isHidden = true
let scale = ScreenWidth / 375 * 100
bgImageView.frame = CGRect(x: ScreenWidth , y: ScreenHeight/2 - 140 , width: 385, height: 254)
bgImageView.addSubview(backBtn)
backBtn.snp.makeConstraints { make in
make.width.height.equalTo(30)
make.top.equalTo(65)
make.right.equalTo(-round(scale))
}
bgImageView.addSubview(giftView)
giftView.snp.makeConstraints { make in
make.width.height.equalTo(58)
make.right.equalTo(self.backBtn)
make.top.equalTo(self.backBtn.snp.bottom).offset(1)
}
giftParser.parse(withNamed: "StarGift", in: Bundle.main) {[weak self] videoItem in
self?.giftView.videoItem = videoItem
self?.giftView.loops = 100000;
self?.giftView.startAnimation()
} failureBlock: { error in
}
bgImageView.isHidden = true
addSubview(refreshBtn)
refreshBtn.snp.makeConstraints { make in
make.centerY.equalTo(self.vapView)
make.width.height.equalTo((44))
make.right.equalTo(-32)
}
addSubview(bgUserInfoView)
bgUserInfoView.isHidden = true
bgUserInfoView.addSubview(nameLabelView)
bgUserInfoView.addSubview(sexImageVeiw)
bgUserInfoView.addSubview(attentionBtn)
bgUserInfoView.addSubview(chatBtn)
bgUserInfoView.addSubview(bgSignatureView)
bgSignatureView.addSubview(signatureView)
bgUserInfoView.snp.makeConstraints { make in
make.centerY.equalTo(self.bgImageView).offset(30)
make.height.equalTo((275))
make.left.equalTo(8)
make.width.equalTo(180)
}
nameLabelView.snp.makeConstraints { make in
make.left.top.equalTo(self.bgUserInfoView)
make.height.equalTo(28)
make.right.lessThanOrEqualTo(-25)
}
sexImageVeiw.snp.makeConstraints { make in
make.width.height.equalTo(16)
make.left.equalTo(self.nameLabelView.snp.right).offset(3)
make.centerY.equalTo(self.nameLabelView)
}
attentionBtn.snp.makeConstraints { make in
make.left.equalTo(self.nameLabelView)
make.top.equalTo(self.nameLabelView.snp.bottom).offset(10)
make.width.equalTo(72)
make.height.equalTo(48)
}
chatBtn.snp.makeConstraints { make in
make.left.equalTo(self.attentionBtn.snp.right).offset(8)
make.top.width.height.equalTo(self.attentionBtn)
}
bgSignatureView.snp.makeConstraints { make in
make.width.equalTo(154)
make.height.equalTo(86)
make.top.equalTo(self.nameLabelView.snp.bottom).offset(65)
make.left.equalTo(self.nameLabelView)
}
signatureView.snp.makeConstraints { make in
make.edges.equalTo(self.bgSignatureView).inset(9)
}
}
@objc func attentionBtnAction(){
self.attentionBtn.isSelected = !self.attentionBtn.isSelected
let type = self.attentionBtn.isSelected ? "1" : "2"
let params = ["uid":"\(AuthManager.userUid)","ticket":AuthManager.ticket,"type":type,"likedUid":self.chooseModel?.uid] as [String : Any]
RequestPost(path: "fans/like", parma: params) { data in
if(self.attentionBtn.isSelected){
HUDTool.show(with: "关注成功")
}else{
HUDTool.show(with: "取消关注成功")
}
} fail: { code, data in
}
}
@objc func refreshBtnAction(){
if let _refreshBlcok = refreshBlcok{
_refreshBlcok()
}
makeRotationAnim(view: refreshBtn)
}
func makeRotationAnim(view: UIView) {
// 1.
let rotationAnim = CABasicAnimation(keyPath: "transform.rotation.z")
// 2.
rotationAnim.fromValue = 0 //
rotationAnim.toValue = Double.pi * 2 //
rotationAnim.repeatCount = 2 //
rotationAnim.duration = 0.5
rotationAnim.autoreverses = false // ,NO
rotationAnim.isRemovedOnCompletion = true //truefalse
view.layer.add(rotationAnim, forKey: nil) // view
}
@objc func clickImageViewAction(sender:UITapGestureRecognizer){
self.isStop = true
self.vapView.transform = CGAffineTransformIdentity
let j = (sender.view?.tag ?? 100) - 100
self.chooseModel = self.dataList[j]
if let _chooseModel = self.chooseModel{
self.sexImageVeiw.image = _chooseModel.gender == 1 ? UIImage(named: "yin_plane_star_man") : UIImage(named: "yin_plane_star__woman")
self.nameLabelView.text = _chooseModel.nick
self.attentionBtn.isSelected = _chooseModel.hasLike
self.signatureView.text = _chooseModel.userDesc
}
if let startPoint = sender.view?.frame.origin{
let movePoint = ceterPoint!
let start = getAngle(point: startPoint)
let move = getAngle(point: movePoint)
if getLocation(startPoint) == 1 || getLocation(startPoint) == 4{
angle = angle + move - start
}else{
angle = angle + start - move + Double.pi
}
UIView.animate(withDuration: 0.4) {
self.setClickViewLayout()
}completion: { isCompletion in
self.setCliickViewAnimationCompletionLayout(view: sender.view as! UIImageView)
}
}
}
func setCliickViewAnimationCompletionLayout(view:UIImageView){
imageView.image = view.image
imageView.isHidden = false
refreshBtn.isHidden = true
let scale = ScreenWidth / 375 * 170
imageView.layer.borderColor = view.layer.borderColor
imageView.frame = CGRect(x: round(scale) + 44 , y: ScreenHeight/2 - 85+44, width: 52, height: 52)
imageView.layer.cornerRadius = 52/2
bgImageView.isHidden = false
imageView.isHidden = false
vapView.videoItem = nil
radius = 280
let scale1 = ScreenWidth / 375 * 115
UIView.animate(withDuration: 0.4) {
self.vapView.frame = CGRect(x: -200, y: ScreenHeight/2 - 480 / 2 - 60, width: 480, height: 480)
for imageVeiw in self.clickViewList {
imageVeiw.frame = CGRect(x: 0, y: 0, width: 52, height: 52)
imageVeiw.layer.cornerRadius = 52/2
}
self.setClickViewLayout()
self.imageView.frame = CGRect(x: round(scale) , y: ScreenHeight/2 - 85, width: 140, height: 140)
self.imageView.layer.cornerRadius = 140/2
self.bgImageView.frame = CGRect(x: round(scale1) , y: ScreenHeight/2 - 140 , width: 385, height: 254)
}completion: { isCompletion in
self.bgUserInfoView.isHidden = false
}
}
@objc func clickBackBtnAction(){
bgUserInfoView.isHidden = true
imageView.isHidden = true
radius = 224
UIView.animate(withDuration: 0.4) {
self.vapView.frame = CGRect(x: -185, y: ScreenHeight/2 - 429 / 2 - 60, width: 429, height: 429)
for imageVeiw in self.clickViewList {
imageVeiw.frame = CGRect(x: 0, y: 0, width: 62, height:62)
imageVeiw.layer.cornerRadius = 62/2
}
self.setClickViewLayout()
self.bgImageView.frame = CGRect(x: ScreenWidth , y: ScreenHeight/2 - 140 , width: 385, height: 254)
}completion: { isCompletion in
self.refreshBtn.isHidden = false
self.parser.parse(withNamed: "StarIcon", in: Bundle.main) {[weak self] videoItem in
self?.vapView.videoItem = videoItem
self?.vapView.loops = 100000;
self?.vapView.startAnimation()
} failureBlock: { error in
}
self.isStop = false
}
}
func setClickViewLayout(){
for (i,clickView) in clickViewList.enumerated() {
let j = CGFloat(i)
let width = clickView.frame.width
let y = radius + sin((j/12) * Double.pi*2 + angle) * (429/2 - width/2 - 20)
let x = radius + cos((j/12) * Double.pi*2 + angle) * (429/2 - width/2 - 20)
clickView.center = CGPoint(x: x, y: y)
if (ceterPoint == nil && i == 0){
ceterPoint = CGPoint(x: x, y: y)
}
}
}
func getAngle(point:CGPoint) -> Double{
let x = point.x - radius
let y = point.y - radius
let h = hypot(x, y)
let v:Double = y / h
return asin(v)
}
func getLocation(_ point:CGPoint) -> Int{
let x = Int(point.x - radius)
let y = Int(point.y - radius)
if (x >= 0){
return y >= 0 ? 1 : 4
}
return y >= 0 ? 2 : 3
}
func getAngleValue() -> Double{
let num:Double = 12.0
let value:Double = 2 * Double.pi / num
let remainder:Double = fmod(angle, value)
if(angle > 0 || angle == 0){
if fabs(remainder) > value / 2 {
angle = angle - fabs(remainder)
angle = angle + value
}else{
angle = angle - fabs(remainder)
}
}else{
if fabs(remainder) > value / 2{
angle = angle + fabs(remainder)
angle = angle - value
}else{
angle = angle + fabs(remainder)
}
}
return angle
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
var ceterPoint:CGPoint?
var clickViewList:[UIImageView] = []
var clickWidth:CGFloat = 62
var clickHeight:CGFloat = 62
var radius:CGFloat = 224
var angle:Double = 0
var chooseModel:PlanetStarModel?
var dataList:[PlanetStarModel] = [] {
didSet{
for (i,model) in dataList.enumerated(){
if(i < clickViewList.count){
let clickView = clickViewList[i]
Nuke.loadImage(with: model.avatar, into: clickView)
clickView.layer.borderColor = model.gender == 2 ? ThemeColor(hexStr: "#D667FF").cgColor : ThemeColor(hexStr: "#57CDFF").cgColor
}
}
}
}
var backBtn:UIButton = {
let _backBtn = UIButton()
_backBtn.setImage(UIImage(named: "yin_plane_star_back"), for: .normal)
_backBtn.addTarget(self, action: #selector(clickBackBtnAction), for: .touchUpInside)
return _backBtn
}()
private lazy var vapView:SVGAImageView = {
let _vapView = SVGAImageView()
_vapView.contentMode = .scaleAspectFill
return _vapView
}()
private lazy var parser:SVGAParser = {
let _parser = SVGAParser()
return _parser
}()
private lazy var giftView:SVGAImageView = {
let _giftView = SVGAImageView()
_giftView.contentMode = .scaleAspectFill
return _giftView
}()
private lazy var giftParser:SVGAParser = {
let _giftParser = SVGAParser()
return _giftParser
}()
var imageView:UIImageView = {
let _imageView = UIImageView(frame: CGRect(x: 0, y: 0, width:52, height: 52))
_imageView.layer.cornerRadius = 52/2
_imageView.layer.borderWidth = 1;
_imageView.layer.masksToBounds = true
return _imageView
}()
var bgImageView:UIImageView = {
let _bgImageView = UIImageView()
_bgImageView.image = UIImage(named: "yin_plane_star_water_drop_bg")
_bgImageView.isUserInteractionEnabled = true
return _bgImageView
}()
var refreshBtn:UIButton = {
let _refreshBtn = UIButton()
_refreshBtn.setImage(UIImage(named: "yin_plane_star_refresh"), for: .normal)
_refreshBtn.addTarget(self, action: #selector(refreshBtnAction), for: .touchUpInside)
return _refreshBtn
}()
var nameLabelView:UILabel = {
let _nameLabelView = UILabel()
_nameLabelView.text = ""
_nameLabelView.font = UIFont.systemFont(ofSize: 20, weight: .medium)
_nameLabelView.textColor = .white
return _nameLabelView
}()
var sexImageVeiw:UIImageView = {
let _sexImageVeiw = UIImageView()
return _sexImageVeiw
}()
var attentionBtn:UIButton = {
let _attentionBtn = UIButton()
_attentionBtn.setBackgroundImage(UIImage(named: "yin_plane_star_attention_bg"), for: .normal)
_attentionBtn.setImage(UIImage(named: "yin_plane_star_no_attention_icon"), for: .normal)
_attentionBtn.setImage(UIImage(named: "yin_plane_star_attention_icon"), for: .selected)
_attentionBtn.addTarget(self, action: #selector(attentionBtnAction), for: .touchUpInside)
return _attentionBtn
}()
var chatBtn:UIButton = {
let _chatBtn = UIButton()
_chatBtn.setBackgroundImage(UIImage(named: "yin_plane_star_attention_bg"), for: .normal)
_chatBtn.setImage(UIImage(named: "yin_plane_star_chat_icon"), for: .normal)
return _chatBtn
}()
var bgSignatureView:UIImageView = {
let _bgSignatureView = UIImageView()
_bgSignatureView.image = UIImage(named: "yin_plane_star_signature_bg")
return _bgSignatureView
}()
var signatureView:UILabel = {
let _signatureView = UILabel()
_signatureView.font = UIFont.systemFont(ofSize: 11, weight: .regular)
_signatureView.textColor = ThemeColor(hexStr: "#ECEBF0")
_signatureView.text = ""
_signatureView.numberOfLines = 0
return _signatureView
}()
var bgUserInfoView:UIView = {
let _bgUserInfoView = UIView()
return _bgUserInfoView
}()
var timer:Timer?
var isStop:Bool = false
var refreshBlcok:RefreshBlcok?
}

View File

@@ -0,0 +1,21 @@
//
// PlanetStarModel.swift
// yinmeng-ios
//
// Created by duoban on 2024/2/27.
//
import Foundation
import HandyJSON
struct PlanetStarModel: HandyJSON, Codable {
var uid:Int = 0
var avatar:String? = ""
var gender:Int = 1
var userDesc:String = ""
var hasLike:Bool = false
var giftName:String = ""
var hallId:String = ""
var nick:String = ""
var goldPrice:String = "0"
}

View File

@@ -7,23 +7,98 @@
import UIKit
class PlanetStarVC: BaseViewController {
class PlanetStarVC: BaseViewController,HiddenNavigationBarProtocol {
var page:Int = 1
override func viewDidLoad() {
super.viewDidLoad()
yin_initUI()
requestData()
view.backgroundColor = .yellow
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
func requestData(){
RequestGet(path: "home/recommendUsers", parma: ["pageNum":"\(self.page)","pageSize":"30"]) { data in
if let list = Deserialized<PlanetStarModel>.toArray(with: data) {
var dataList:[PlanetStarModel] = []
guard list.isEmpty else {
for i in 0..<12 {
if i < list.count{
dataList.append(list[i])
}
}
self.dataArray = dataList
self.dealWithViewData()
return
}
self.page = 1
}
} fail: { code, data in
}
RequestGet(path: "special/gift/get", parma: ["pageNum":"\(self.page)","pageSize":"30"]) { data in
if let model = Deserialized<PlanetStarModel>.toModel(with: data) {
self.giftModel = model
}
} fail: { code, data in
}
}
*/
func dealWithViewData(){
self.bgRadiusView.dataList = dataArray
}
private func yin_initUI(){
view.addSubview(backgroundView)
view.addSubview(bgRadiusView)
bgRadiusView.frame = self.view.frame
backgroundView.snp.makeConstraints { make in
make.edges.equalTo(self.view)
}
bgRadiusView.refreshBlcok = {[weak self] in
self?.page = (self?.page ?? 1) + 1
self?.requestData()
}
}
var giftModel:PlanetStarModel?
private lazy var backgroundView:UIImageView = {
let _backgroundView = UIImageView()
_backgroundView.image = UIImage(named: "yin_plane_star_bg")
_backgroundView.isUserInteractionEnabled = true
return _backgroundView
}()
private var bgRadiusView:PlanetStarClickItemView = {
let _bgRadiusView = PlanetStarClickItemView.init(frame: CGRect(x: 0, y: 0, width: ScreenWidth , height: ScreenHeight))
_bgRadiusView.isUserInteractionEnabled = true
return _bgRadiusView
}()
private var dataArray:[PlanetStarModel] = []
}

BIN
yinmeng-ios/StarGift.svga Normal file

Binary file not shown.

BIN
yinmeng-ios/StarIcon.svga Normal file

Binary file not shown.