Permalink
Browse files

Removed the name method from CTCoreFolder.

At this point we don't know what the proper path delimiter is. The only way to get the delimiter is to make a IMAP call to the server to get a list of mailboxes. So instead this should be doing by the user of the framework
  • Loading branch information...
mronge committed Sep 10, 2012
1 parent fef9c33 commit abb0520f0b16c2d5e4a76de937545921481a3d50
Showing with 0 additions and 12 deletions.
  1. +0 −5 Source/CTCoreFolder.h
  2. +0 −7 Source/CTCoreFolder.m
View
@@ -139,11 +139,6 @@
*/
- (BOOL)check;
-/**
- The folder name.
-*/
-- (NSString *)name;
-
/**
The entire path of folder.
*/
View
@@ -99,13 +99,6 @@ - (NSError *)lastError {
return lastError;
}
-- (NSString *)name {
- //Get the last part of the path
- NSArray *pathParts = [myPath componentsSeparatedByString:@"."];
- return [pathParts objectAtIndex:[pathParts count]-1];
-}
-
-
- (NSString *)path {
return myPath;
}

0 comments on commit abb0520

Please sign in to comment.