Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 136 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,136 @@
XcodeProject/FTGooglePlacesAPI.xcodeproj/project.xcworkspace/xcuserdata
XcodeProject/FTGooglePlacesAPI.xcodeproj/xcuserdata
#########################
# .gitignore file for Xcode4 / OS X Source projects
#
# Version 2.0
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
# 2013 updates:
# - fixed the broken "save personal Schemes"
#
# NB: if you are storing "built" products, this WILL NOT WORK,
# and you should use a different .gitignore (or none at all)
# This file is for SOURCE projects, where there are many extra
# files that we want to exclude
#
#########################

#####
# OS X temporary files that should never be committed

.DS_Store
*.swp
*.lock
profile


####
# Xcode temporary files that should never be committed
#
# NB: NIB/XIB files still exist even on Storyboard projects, so we want this...

*~.nib


####
# Xcode build files -
#
# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData"

DerivedData/

# NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build"

build/


#####
# Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups)
#
# This is complicated:
#
# SOMETIMES you need to put this file in version control.
# Apple designed it poorly - if you use "custom executables", they are
# saved in this file.
# 99% of projects do NOT use those, so they do NOT want to version control this file.
# ..but if you're in the 1%, comment out the line "*.pbxuser"

*.pbxuser
*.mode1v3
*.mode2v3
*.perspectivev3
# NB: also, whitelist the default ones, some projects need to use these
!default.pbxuser
!default.mode1v3
!default.mode2v3
!default.perspectivev3


####
# Xcode 4 - semi-personal settings
#
#
# OPTION 1: ---------------------------------
# throw away ALL personal settings (including custom schemes!
# - unless they are "shared")
#
# NB: this is exclusive with OPTION 2 below
xcuserdata

# OPTION 2: ---------------------------------
# get rid of ALL personal settings, but KEEP SOME OF THEM
# - NB: you must manually uncomment the bits you want to keep
#
# NB: this is exclusive with OPTION 1 above
#
#xcuserdata/**/*

# (requires option 2 above): Personal Schemes
#
#!xcuserdata/**/xcschemes/*

####
# XCode 4 workspaces - more detailed
#
# Workspaces are important! They are a core feature of Xcode - don't exclude them :)
#
# Workspace layout is quite spammy. For reference:
#
# /(root)/
# /(project-name).xcodeproj/
# project.pbxproj
# /project.xcworkspace/
# contents.xcworkspacedata
# /xcuserdata/
# /(your name)/xcuserdatad/
# UserInterfaceState.xcuserstate
# /xcsshareddata/
# /xcschemes/
# (shared scheme name).xcscheme
# /xcuserdata/
# /(your name)/xcuserdatad/
# (private scheme).xcscheme
# xcschememanagement.plist
#
#

####
# Xcode 4 - Deprecated classes
#
# Allegedly, if you manually "deprecate" your classes, they get moved here.
#
# We're using source-control, so this is a "feature" that we do not want!

*.moved-aside

####
# Cocoapods
Pods/
!Podfile.lock

#AppCode
.idea/

####
# UNKNOWN: recommended by others, but I can't discover what these files are
#
# ...none. Everything is now explained.
716 changes: 716 additions & 0 deletions Example/FTGooglePlacesAPIExample.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>D9014B2D-2B04-4185-8898-3BF3D882091B</string>
<key>IDESourceControlProjectName</key>
<string>FTGooglePlacesAPIExample</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>2AB32A91-78FC-44EB-BF07-DB62894EFBF4</key>
<string>ssh://github.com/marciomeschini/FTGooglePlacesAPI.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>Temp/FTGooglePlacesAPIExample/FTGooglePlacesAPIExample.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>2AB32A91-78FC-44EB-BF07-DB62894EFBF4</key>
<string>../../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>ssh://github.com/marciomeschini/FTGooglePlacesAPI.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>2AB32A91-78FC-44EB-BF07-DB62894EFBF4</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>2AB32A91-78FC-44EB-BF07-DB62894EFBF4</string>
<key>IDESourceControlWCCName</key>
<string>FTGooglePlacesAPI</string>
</dict>
</array>
</dict>
</plist>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>C9D92D23-1BDE-46F3-BDD5-F6CE74760691</string>
<key>IDESourceControlProjectName</key>
<string>FTGooglePlacesAPIExample</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>2AB32A91-78FC-44EB-BF07-DB62894EFBF4</key>
<string>ssh://github.com/marciomeschini/FTGooglePlacesAPI.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>Temp/FTGooglePlacesAPIExample.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>2AB32A91-78FC-44EB-BF07-DB62894EFBF4</key>
<string>../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>ssh://github.com/marciomeschini/FTGooglePlacesAPI.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>2AB32A91-78FC-44EB-BF07-DB62894EFBF4</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>2AB32A91-78FC-44EB-BF07-DB62894EFBF4</string>
<key>IDESourceControlWCCName</key>
<string>FTGooglePlacesAPI</string>
</dict>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// FTAppDelegate.h
// FTGooglePlacesAPI
// FTGooglePlacesAPIExample
//
// Created by Lukas Kukacka on 19/11/13.
// Copyright (c) 2013 Fuerte Int. Ltd. All rights reserved.
// Created by Marco Meschini on 28/08/2014.
// Copyright (c) 2014 Marco Meschini. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
//
// FTAppDelegate.m
// FTGooglePlacesAPI
// FTGooglePlacesAPIExample
//
// Created by Lukas Kukacka on 19/11/13.
// Copyright (c) 2013 Fuerte Int. Ltd. All rights reserved.
// Created by Marco Meschini on 28/08/2014.
// Copyright (c) 2014 Marco Meschini. All rights reserved.
//

#import "FTAppDelegate.h"

#import "FTGooglePlacesAPIExamplesListViewController.h"

#import "FTGooglePlacesAPI.h"

@implementation FTAppDelegate
Expand All @@ -22,13 +20,13 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:rootController];

#warning Possible incomplete implementation. Make sure you add you own Google Places API key
[FTGooglePlacesAPIService provideAPIKey:@"<#PLACE YOUR API KEY HERE#>"];
[FTGooglePlacesAPIService provideAPIKey:@""];


self.window.rootViewController = navController;

[self createAttributionsViews];
[self.window makeKeyAndVisible];

return YES;
}

Expand Down Expand Up @@ -82,4 +80,5 @@ - (void)createAttributionsViews
[containerView addSubview:googleLogoView];
}


@end
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.acme.${PRODUCT_NAME:rfc1034identifier}</string>
<string>com.acme..${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"orientation" : "portrait",
"idiom" : "iphone",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"subtype" : "retina4",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
File renamed without changes
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// main.m
// FTGooglePlacesAPI
// FTGooglePlacesAPIExample
//
// Created by Lukas Kukacka on 19/11/13.
// Copyright (c) 2013 Fuerte Int. Ltd. All rights reserved.
// Created by Marco Meschini on 28/08/2014.
// Copyright (c) 2014 Marco Meschini. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.acme.${PRODUCT_NAME:rfc1034identifier}</string>
<string>com.acme..${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand Down
13 changes: 13 additions & 0 deletions Example/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Uncomment this line to define a global platform for your project
platform :ios, "6.0"

#Before push use:
pod "FTGooglePlacesAPI"

#For local development use:
#pod "FTGooglePlacesAPI", :path => "../FTGooglePlacesAPI.podspec"

pod "OCMock"

link_with ['FTGooglePlacesAPIExample', 'FTGooglePlacesAPIExampleTests']

Loading