First you have to get NSDateComponents object with year, month and day units:
NSDateComponents *components = [[NSCalendar currentCalendar] components:NSCalendarUnitDay | NSCalendarUnitMonth | NSCalendarUnitYear fromDate:[NSDate date]];
then extracting each value is simple:
NSInteger day = [components day]; NSInteger month = [components month]; NSInteger year = [components year];