This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Parses a string using the phone's carrier region (when available, ZZ otherwise). | |
* This uses the country the sim card in the phone is registered with. | |
* For example if you have an AT&T sim card but are in Europe, this will parse the | |
* number using +1 (AT&T is a US Carrier) as the default country code. | |
* This also works for CDMA phones which don't have a sim card. | |
*/ | |
- (NBPhoneNumber*)parseWithPhoneCarrierRegion:(NSString*)numberToParse error:(NSError**)error | |
{ | |
numberToParse = [NBPhoneNumberUtil normalizeNonBreakingSpace:numberToParse]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CustomCollectionFlowLayout.h | |
// evilapples | |
// | |
// http://stackoverflow.com/questions/13511733/how-to-make-supplementary-view-float-in-uicollectionview-as-section-headers-do-i | |
// | |
// | |
#import <UIKit/UIKit.h> |