Skip to content

Instantly share code, notes, and snippets.

@interface RLLObject : NSObject
@end
@implementation RLLObject
- (NSString *)description {
return [NSString stringWithFormat:@"This is a really long description format for %@", [super description]];
}
NSMutableArray *mobileAppTrackerProperties = [NSMutableArray array];
[mobileAppTrackerProperties addObject:[NSString stringWithFormat:@"Amount charged: %f", self.booking.chargedAmount]];
[mobileAppTrackerProperties addObject:[NSString stringWithFormat:@"Nights booked: %d", self.booking.numberOfNights]];
[[MobileAppTracker sharedManager] trackAction:@"booking" withObjects:mobileAppTrackerProperties];
Pod::Spec.new do |s|
s.name = 'SSToolkit-ht'
s.version = '0.1.2.ht1'
s.platform = :ios
s.summary = 'A collection of well-documented iOS classes for making life easier.'
s.homepage = 'http://sstoolk.it'
s.author = { 'Sam Soffes' => 'sam@samsoff.es' }
s.license = 'MIT'
s.source = { :git => 'https://github.com/hoteltonight/sstoolkit.git', :ref => 'master' }
Pod::Spec.new do |s|
s.name = 'EGOTableViewPullRefresh-ht'
s.version = '0.1.0.ht1'
s.source = { :git => 'https://github.com/hoteltonight/EGOTableViewPullRefresh.git', :commit => '204daebaabeee08440e8a023782c32c7f9c6bdd8' }
s.source_files = 'EGOTableViewPullRefresh/Classes/**/*.{h,m}'
end
Pod::Spec.new do |s|
s.name = 'moriarty-ht'
s.version = '0.0.1'
s.source = { :git => 'https://github.com/hoteltonight/moriarty.git', :ref => 'master' }
s.source_files = 'UIView+Position.{h,m}'
end
Pod::Spec.new do |s|
s.name = 'LookIO'
s.version = '0.0.1.ht1'
s.source = { :git => 'git://github.com/lookio/LookIO-Libraries.git', :commit => '2d7ecf19b1159692a17d4c9571760b78a59a3925' }
s.source_files = 'iOS/release/*.h'
s.resources = 'iOS/release/*.bundle'
s.preserve_paths = 'iOS/release/libLookIO.a'
s.library = 'LookIO', 'z'
s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '"$(PODS_ROOT)/LookIO/**"' }
end
Pod::Spec.new do |s|
s.name = 'NSAttributedString-Additions-for-HTML-ht'
s.version = '0.0.1.ht1'
s.source = { :git => 'https://github.com/hoteltonight/NSAttributedString-Additions-for-HTML.git', :ref => 'master' }
s.source_files = FileList['Classes/*.{h,m}'].exclude(/Demo|DTWeb|Test/)
s.prefix_header_file = 'Other Sources/CoreTextExtensions_Prefix.pch'
s.frameworks = 'SenTestingKit'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"' }
end
this.url = String.format(TEMP_URL, hotel.getLatitude(), hotel.getLongitude(), ((int) ImageUtils.convertDpToPixel(displayMetrics.widthPixels, getActivity())), ((int) ImageUtils.convertDpToPixel(180, getActivity())));
{
"lookio_customer_support":true,
"lookio_order_summary":true,
"default_credit_amount":25,
"currency":{
"iso_code":"USD",
"description":"US Dollars"
},
"customer_support_numbers":[
{
switch (self.code)
{
case HTConnectionErrorUnexpectedContentType:
case HTConnectionErrorBadServerResponse:
case HTConnectionErrorConnectionLost:
case HTConnectionErrorCantReachHost:
case HTConnectionErrorNoHostFound:
case HTConnectionErrorTimeout:
[errorTextDictionary setValue:HTStr(@"S_HTConnectionErrorViewController_CantConnect_Header", @"Oh no", @"Error title - Connection error view")
forKey:kErrorTitleKey];