//
//  NSString+Ex.m
//  PhoneManager
//
//  Created by edy on 2025/4/1.
//

#import "NSString+Ex.h"

@implementation NSString (Ex)

- (NSArray *)contentOfDir
{
    NSString *fils = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES).firstObject;
    fils = [fils stringByAppendingPathComponent:self];
    id files = [NSFileManager.defaultManager contentsOfDirectoryAtPath:fils error:nil];
    return files;
}

@end
