-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from xiangxiaopenyou/master
v8.4.0
- Loading branch information
Showing
3,669 changed files
with
39,504 additions
and
42,702 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,68 @@ | ||
# Xcode | ||
# | ||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | ||
|
||
FULiveDemo/.DS_Store | ||
## Build generated | ||
build/ | ||
DerivedData/ | ||
|
||
*/xcuserdata/* | ||
## Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata/ | ||
|
||
*.xcuserstate | ||
*.DS_Store | ||
FULiveDemo/DemoCode/.DS_Store | ||
## Other | ||
*.moved-aside | ||
*.xccheckout | ||
*.xcscmblueprint | ||
.DS_Store | ||
*/.DS_Store | ||
|
||
FULiveDemo/DemoCode/.DS_Store | ||
## Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
*.dSYM.zip | ||
*.dSYM | ||
|
||
FULiveDemo/Faceunity/.DS_Store | ||
# CocoaPods | ||
# | ||
# We recommend against adding the Pods directory to your .gitignore. However | ||
# you should judge for yourself, the pros and cons are mentioned at: | ||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
# | ||
# Pods/ | ||
# | ||
# Add this line if you want to avoid checking in source code from the Xcode workspace | ||
# *.xcworkspace | ||
|
||
FULiveDemo/Faceunity/FaceUnity-SDK-iOS/.DS_Store | ||
fastlane/* | ||
Gemfile | ||
Gemfile.lock | ||
FULiveDemo.ipa | ||
FULiveDemo.app.dSYM.zip | ||
# Carthage | ||
# | ||
# Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
# Carthage/Checkouts | ||
|
||
Carthage/Build | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the | ||
# screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://docs.fastlane.tools/best-practices/source-control/#source-control | ||
|
||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots/**/*.png | ||
fastlane/test_output | ||
|
||
# Code Injection | ||
# | ||
# After new code Injection tools there's a generated folder /iOSInjectionProject | ||
# https://github.com/johnno1962/injectionforxcode | ||
|
||
iOSInjectionProject/ |
546 changes: 546 additions & 0 deletions
546
FUBeautyComponent/FUBeautyComponent.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
FUBeautyComponent/FUBeautyComponent.xcodeproj/project.xcworkspace/contents.xcworkspacedata
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...ent/FUBeautyComponent.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
67 changes: 67 additions & 0 deletions
67
...tyComponent/FUBeautyComponent.xcodeproj/xcshareddata/xcschemes/FUBeautyComponent.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1330" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E34C47E9285338080040093C" | ||
BuildableName = "FUBeautyComponent.framework" | ||
BlueprintName = "FUBeautyComponent" | ||
ReferencedContainer = "container:FUBeautyComponent.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<Testables> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<MacroExpansion> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "E34C47E9285338080040093C" | ||
BuildableName = "FUBeautyComponent.framework" | ||
BlueprintName = "FUBeautyComponent" | ||
ReferencedContainer = "container:FUBeautyComponent.xcodeproj"> | ||
</BuildableReference> | ||
</MacroExpansion> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// FUBeautyComponent.h | ||
// FUBeautyComponent | ||
// | ||
// Created by 项林平 on 2022/6/10. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "FUBeautyComponentManager.h" | ||
|
||
//! Project version number for FUBeautyComponent. | ||
FOUNDATION_EXPORT double FUBeautyComponentVersionNumber; | ||
|
||
//! Project version string for FUBeautyComponent. | ||
FOUNDATION_EXPORT const unsigned char FUBeautyComponentVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <FUBeautyComponent/PublicHeader.h> |
56 changes: 56 additions & 0 deletions
56
FUBeautyComponent/FUBeautyComponent/FUBeautyComponentManager.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// | ||
// FUBeautyComponentManager.h | ||
// FUBeautyComponentManager | ||
// | ||
// Created by 项林平 on 2022/6/10. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@protocol FUBeautyComponentDelegate <NSObject> | ||
|
||
@optional | ||
- (void)beautyComponentViewHeightDidChange:(CGFloat)height; | ||
|
||
- (void)beautyComponentDidTouchDownComparison; | ||
|
||
- (void)beautyComponentDidTouchUpComparison; | ||
/// 提示 | ||
- (void)beautyComponentNeedsDisplayPromptContent:(NSString *)content; | ||
|
||
@end | ||
|
||
@interface FUBeautyComponentManager : NSObject | ||
|
||
@property (nonatomic, weak) id<FUBeautyComponentDelegate> delegate; | ||
/// 美颜视图总高度 | ||
@property (nonatomic, assign, readonly) CGFloat componentViewHeight; | ||
/// 美颜视图选中功能索引,默认-1,-1表示未选中 | ||
@property (nonatomic, assign, readonly) NSInteger selectedIndex; | ||
|
||
+ (instancetype)sharedManager; | ||
|
||
/// 销毁 | ||
+ (void)destory; | ||
|
||
/// 在目标视图中添加美颜组件视图(固定位置为目标视图底部) | ||
/// @param view 目标视图 | ||
- (void)addComponentViewToView:(UIView *)view; | ||
|
||
/// 在父视图中移除美颜组件视图 | ||
- (void)removeComponentView; | ||
|
||
/// 加载美颜效果 | ||
- (void)loadBeauty; | ||
|
||
/// 卸载当前加载的美颜 | ||
- (void)unloadBeauty; | ||
|
||
/// 保存当前美颜数据到本地 | ||
- (void)saveBeauty; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.