Skip to content

Commit

Permalink
Merge pull request #94 from xiangxiaopenyou/master
Browse files Browse the repository at this point in the history
v8.4.0
  • Loading branch information
jdbbjd authored Nov 9, 2022
2 parents 24e21ff + 71e690c commit ce000a0
Show file tree
Hide file tree
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.
Binary file removed .DS_Store
Binary file not shown.
75 changes: 62 additions & 13 deletions .gitignore
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 FUBeautyComponent/FUBeautyComponent.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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>
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>
17 changes: 17 additions & 0 deletions FUBeautyComponent/FUBeautyComponent/FUBeautyComponent.h
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 FUBeautyComponent/FUBeautyComponent/FUBeautyComponentManager.h
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
Loading

0 comments on commit ce000a0

Please sign in to comment.