initial commit

This commit is contained in:
Caleb
2026-03-01 15:59:27 +08:00
commit a9e97d56cb
1426 changed files with 172367 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
//
// FUBidirectionalMap.h
// FUVideoEditor
//
// Created by Roy Zhang on 2020/4/15.
// Copyright © 2020 Faceunity. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface FUOvonicMap : NSObject
@property (nonatomic, strong) NSMutableDictionary *keysToValues;
@property (nonatomic, strong) NSMapTable *valuesToKeys;
@property (nonatomic, readonly) unsigned long long count;
+ (FUOvonicMap*)map;
+ (FUOvonicMap*)mapWithDictionary:(NSDictionary *)dictionary;
- (FUOvonicMap*)initWithDictionary:(NSDictionary *)dictionary;
- (void)createValuesToKeysMapping;
- (id)objectForKeyedSubscript:(id)key;
- (void)setObject:(id)object forKeyedSubscript:(id)key;
- (void)removeObjectForKey:(id)key;
- (id)keyForObject:(id)object;
- (NSArray *)allKeys;
- (NSArray *)allValues;
- (NSDictionary *)dictionary;
@end
NS_ASSUME_NONNULL_END