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
+ (void)spotsWithURLString:(NSString *)urlString near:(CLLocation *)location parameters:(NSDictionary *)parameters block:(void (^)(NSArray *records))block { | |
NSDictionary *mutableParameters = [NSMutableDictionary dictionaryWithDictionary:parameters]; | |
if (location) { | |
[mutableParameters setValue:[NSString stringWithFormat:@"%1.7f", location.coordinate.latitude] forKey:@"lat"]; | |
[mutableParameters setValue:[NSString stringWithFormat:@"%1.7f", location.coordinate.longitude] forKey:@"lng"]; | |
} | |
// AFGowallaAPIClient would manage an instance of AEURLRequestFactory set with authorization headers, | |
// and offer +baseURL with the API's base URL. | |
NSURLRequest *request = [[AFGowallaAPIClient requestFactory] requestWithURL:[[AFGowallaAPIClient baseURL] URLByAppendingPathComponent:urlString] |
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
c++ -Wall -g -c PathComputation.cpp | |
In file included from PathComputation.cpp:9: | |
In file included from ./PathComputation.hpp:19: | |
In file included from ./DeletedPatterns.hpp:15: | |
In file included from /usr/local/include/boost/icl/interval_set.hpp:14: | |
In file included from /usr/local/include/boost/icl/interval_base_set.hpp:24: | |
In file included from /usr/local/include/boost/icl/associative_interval_container.hpp:12: | |
In file included from /usr/local/include/boost/icl/concept/comparable.hpp:12: | |
In file included from /usr/local/include/boost/icl/type_traits/is_icl_container.hpp:14: | |
In file included from /usr/local/include/boost/icl/type_traits/is_element_container.hpp:14: |
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
#import <Foundation/Foundation.h> | |
int main(int argc, char *argv[]) { | |
@autoreleasepool { | |
NSAttributedString *a = [[NSAttributedString alloc] initWithString:@"test"]; | |
NSAttributedString *b = [[NSAttributedString alloc] initWithString:@"test"]; | |
NSLog(@"a = b: %d", [a isEqual:b]); | |
} | |
} |
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
Thread #11 Crashed: | |
0 Facebook 0x00410d03 FBWriteBacktraceToFD (in Facebook) (FBExceptionSignalHandler.c:331) | |
1 Facebook 0x00410bed FBWriteErrorMetadataAndBacktrace (in Facebook) (FBExceptionSignalHandler.c:251) | |
2 Facebook 0x00410b33 FBHandleSignal (in Facebook) (FBExceptionSignalHandler.c:209) | |
3 libsystem_platform.dylib 0x3a79971b (in libsystem_platform.dylib) + 35 | |
4 CoreText 0x300ab981 TBaseFont::GetCommonTable() (in CoreText) + 1017 | |
5 CoreText 0x300b5a6b TShapingEngine::ShapeGlyphs() (in CoreText) + 227 | |
6 CoreText 0x300b992f TTypesetter::FinishEncoding() (in CoreText) + 67 | |
7 CoreText 0x300b8aa1 TTypesetterAttrString::Initialize() (in CoreText) + 397 | |
8 CoreText 0x300b885d TTypesetterAttrString::TTypesetterAttrString() (in CoreText) + 73 |
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
Thread #4 Crashed: | |
0 Paper 0x01142f6f FBWriteBacktraceToFD (in Paper) (FBExceptionSignalHandler.c:331) | |
1 Paper 0x01142e59 FBWriteErrorMetadataAndBacktrace (in Paper) (FBExceptionSignalHandler.c:251) | |
2 Paper 0x01142d9f FBHandleSignal (in Paper) (FBExceptionSignalHandler.c:209) | |
3 libsystem_platform.dylib 0x38dc271b (in libsystem_platform.dylib) + 35 | |
4 UIFoundation 0x35c6494d -[NSATSLineFragment layoutForStartingGlyphAtIndex:characterIndex:minPosition:maxPosition:lineFragmentRect:] (in c451f67b37fe34b1837080f77df2c608) + 1605 | |
5 UIFoundation 0x35c6494d -[NSATSLineFragment layoutForStartingGlyphAtIndex:characterIndex:minPosition:maxPosition:lineFragmentRect:] (in c451f67b37fe34b1837080f77df2c608) + 1605 | |
6 UIFoundation 0x35c5d157 -[NSATSTypesetter _layoutLineFragmentStartingWithGlyphAtIndex:characterIndex:atPoint:renderingContext:] (in c451f67b37fe34b1837080f77df2c608) + 1927 | |
7 UIFoundation 0x35c5e2e3 -[NSATSTypesetter layoutParagraphAtPoint:] (in c451f67b37fe34b1837080f77df2c608) + 159 | |
8 UIFoundation 0x35caaa71 -[ |
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
@implementation FBStoryView | |
{ | |
FBHeaderView *_headerView; | |
FBMessageView *_messageView; | |
FBAttachmentView *_attachmentView; | |
FBLikeBarView *_likeBarView; | |
} | |
- (instancetype)initWithFrame:(CGRect)frame | |
{ |
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
@implementation FBStoryView | |
{ | |
FBHeaderView *_headerView; | |
FBMessageView *_messageView; | |
FBAttachmentView *_attachmentView; | |
FBLikeBarView *_likeBarView; | |
} | |
- (instancetype)initWithFrame:(CGRect)frame | |
{ |
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
@implementation FBStoryComponent | |
+ (instancetype)newWithStory:(FBStory *)story | |
{ | |
return [self newWithComponent: | |
[FBStackLayoutComponent | |
newWithView:{} | |
size:{} | |
style:{.alignItems = FBStackLayoutAlignItemsStretch} | |
children:{ |