NSString *myPath = NSBundle mainBundle resourcePathstringByAppendingPathComponent:@"12"; NSLog(@"%@",myPath);/// returns "..../MyApp/12" NSError *error = nil; NSArray *arrayOf12s = NSFileManager defaultManagercontentsOfDirectoryAtPath:resourceDBFolderPath error:&error; if (error) NSLog(@"Error: %@", error localizedDescription); NSLog(@"%@",arrayOf12s); ////always returns NULL It might shine some light on the cause.
NSString *myPath = NSBundle mainBundle resourcePathstringByAppendingPathComponent:@"12"; NSLog(@"%@",myPath);/// returns "..../MyApp/12" NSError *error = nil; NSArray *arrayOf12s = NSFileManager defaultManagercontentsOfDirectoryAtPath:resourceDBFolderPath error:&error; if (error) NSLog(@"Error: %@", error localizedDescription); NSLog(@"%@",arrayOf12s); ////always returns NULL It might shine some light on the cause...
All it gives is: Error: Operation could not be completed. (Cocoa error 260. ) – Brodie Oct 29 '10 at 16:52 What is 'resourceDBFolderPath' set to?
– westsider Oct 29 '10 at 17:02 Also, have you seen this – westsider Oct 29 '10 at 17:08 Yes that was my problem thanks for the link! – Brodie Oct 29 '10 at 17:35.
New native copy/move file implementation, up-to 2x faster when copying large number of small files. Now all file attributes, incl. All types of resource forks, are properly copied.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.