First set up a project directory to hold your work:
cd ~/projects
mkdir mapnik-ios-test
cd mapnik-ios-test
// Before | |
NSMutableDictionary *mainDict = [[NSMutableDictionary alloc] init]; | |
[mainDict setObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[NSNumber numberWithBool:false], serverBlob, nil] | |
forKeys:[NSArray arrayWithObjects:@"moreChangesAvailable", @"serverBlob", nil]], changes, nil] | |
forKeys:[NSArray arrayWithObjects:@"__sync", @"results", nil]] | |
forKey:@"d"]; | |
// After | |
NSDictionary *mainDict = @{@"d":@{@"__sync":@{@"moreChangesAvailable":@0, @"serverBlob":serverBlob}, @"results":changes}}; |
<entity name="MillHierarchy" representedClassName="MillHierarchy" syncable="YES"> | |
<attribute name="baseObjectID" attributeType="String" syncable="YES"/> | |
<attribute name="description" optional="YES" attributeType="String" syncable="YES"/> | |
<attribute name="hierarchyTypeID" attributeType="String" syncable="YES"/> | |
<attribute name="isActive" attributeType="Boolean" syncable="YES"/> | |
<attribute name="millHierarchyID" attributeType="String" syncable="YES"/> | |
<attribute name="millID" attributeType="String" syncable="YES"/> | |
<attribute name="name" attributeType="String" syncable="YES"/> | |
<attribute name="parentMillHierarchyID" optional="YES" attributeType="String" syncable="YES"/> | |
</entity> |
<entity name="MillHierarchy" representedClassName="MillHierarchy" syncable="YES"> | |
<attribute name="BaseObjectID" attributeType="String" syncable="YES"/> | |
<attribute name="Description" optional="YES" attributeType="String" syncable="YES"/> | |
<attribute name="HierarchyTypeID" attributeType="String" syncable="YES"/> | |
<attribute name="IsActive" attributeType="Boolean" syncable="YES"/> | |
<attribute name="MillHierarchyID" attributeType="String" syncable="YES"/> | |
<attribute name="MillID" attributeType="String" syncable="YES"/> | |
<attribute name="Name" attributeType="String" syncable="YES"/> | |
<attribute name="ParentMillHierarchyID" optional="YES" attributeType="String" syncable="YES"/> | |
</entity> |
- (void)enhancedKvcMagic:(id)object { | |
int columnCount = sqlite3_column_count([_statement statement]); | |
int columnIdx = 0; | |
for (columnIdx = 0; columnIdx < columnCount; columnIdx++) { | |
id c = [self objectForColumnIndex:columnIdx]; | |
// check for a null row |
Pod::Spec.new do |m| | |
m.name = 'MapBox' | |
m.version = '1.0.3' | |
m.summary = 'Open source alternative to MapKit.' | |
m.description = 'Open source alternative to MapKit supporting custom tile sources, offline use, and complete cache control.' | |
m.homepage = 'http://mapbox.com/mobile' | |
m.license = 'BSD' | |
m.author = { 'MapBox' => '[email protected]' } |
license: gpl-3.0 |
I hereby claim:
To claim this, I am signing this object:
require 'slack-ruby-client' # first, make sure you do: gem install slack-ruby-client | |
require 'date' | |
# Add your Slack API token here | |
token = [YOUR TOKEN HERE] | |
Slack.configure do |config| | |
config.token = token | |
end |