mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 04:44:14 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
| //
 | |
| //  Realm.h
 | |
| //  FLEX
 | |
| //
 | |
| //  Created by Tim Oliver on 16/02/2016.
 | |
| //  Copyright © 2016 Realm. All rights reserved.
 | |
| //
 | |
| 
 | |
| #if __has_include(<Realm/Realm.h>)
 | |
| #else
 | |
| 
 | |
| @class RLMObject, RLMResults, RLMRealm, RLMRealmConfiguration, RLMSchema, RLMObjectSchema, RLMProperty;
 | |
| 
 | |
| @interface RLMRealmConfiguration : NSObject
 | |
| @property (nonatomic, copy) NSURL *fileURL;
 | |
| @end
 | |
| 
 | |
| @interface RLMRealm : NSObject
 | |
| @property (nonatomic, readonly) RLMSchema *schema;
 | |
| + (RLMRealm *)realmWithConfiguration:(RLMRealmConfiguration *)configuration error:(NSError **)error;
 | |
| - (RLMResults *)allObjects:(NSString *)className;
 | |
| @end
 | |
| 
 | |
| @interface RLMSchema : NSObject
 | |
| @property (nonatomic, readonly) NSArray<RLMObjectSchema *> *objectSchema;
 | |
| - (RLMObjectSchema *)schemaForClassName:(NSString *)className;
 | |
| @end
 | |
| 
 | |
| @interface RLMObjectSchema : NSObject
 | |
| @property (nonatomic, readonly) NSString *className;
 | |
| @property (nonatomic, readonly) NSArray<RLMProperty *> *properties;
 | |
| @end
 | |
| 
 | |
| @interface RLMProperty : NSString
 | |
| @property (nonatomic, readonly) NSString *name;
 | |
| @end
 | |
| 
 | |
| @interface RLMResults : NSObject <NSFastEnumeration>
 | |
| @property (nonatomic, readonly) NSInteger count;
 | |
| @end
 | |
| 
 | |
| @interface RLMObject : NSObject
 | |
| 
 | |
| @end
 | |
| 
 | |
| #endif
 | 
