SHARE
TWEET

NameParser.h

mpemburn Feb 7th, 2013 119 Never
  1. //
  2. //  NameParser.h
  3. //  Port of Greg Miernicki's PHP NameParse
  4. //
  5. //  Created by Mark Pemburn on 2/7/13.
  6. //  Copyright (c) 2013 Pemburnia LLC. All rights reserved.
  7. //
  8.  
  9. #import <Foundation/Foundation.h>
  10.  
  11. @interface NameParser : NSObject
  12.  
  13. @property (nonatomic, strong) NSString *prefix;
  14. @property (nonatomic, strong) NSString *firstName;
  15. @property (nonatomic, strong) NSString *middleName;
  16. @property (nonatomic, strong) NSString *lastName;
  17. @property (nonatomic, strong) NSString *suffix;
  18.  
  19. - (id) initWithFullName: (NSString *) fullName;
  20.  
  21. @end
RAW Paste Data
Top