Skip to content

Commit

Permalink
Removed the name method from CTCoreFolder.
Browse files Browse the repository at this point in the history
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 abb0520
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions Source/CTCoreFolder.h
Expand Up @@ -139,11 +139,6 @@
*/
- (BOOL)check;

/**
The folder name.
*/
- (NSString *)name;

/**
The entire path of folder.
*/
Expand Down
7 changes: 0 additions & 7 deletions Source/CTCoreFolder.m
Expand Up @@ -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;
}
Expand Down

0 comments on commit abb0520

Please sign in to comment.