Skip to content

Commit 8627c18

Browse files
committed
init project with swift test file
0 parents  commit 8627c18

File tree

6 files changed

+193
-0
lines changed

6 files changed

+193
-0
lines changed

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# OS X
2+
.DS_Store
3+
4+
# Xcode
5+
build/
6+
*.pbxuser
7+
!default.pbxuser
8+
*.mode1v3
9+
!default.mode1v3
10+
*.mode2v3
11+
!default.mode2v3
12+
*.perspectivev3
13+
!default.perspectivev3
14+
xcuserdata/
15+
*.xccheckout
16+
profile
17+
*.moved-aside
18+
DerivedData
19+
*.hmap
20+
*.ipa
21+
22+
# Bundler
23+
.bundle
24+
25+
Carthage
26+
# We recommend against adding the Pods directory to your .gitignore. However
27+
# you should judge for yourself, the pros and cons are mentioned at:
28+
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
29+
#
30+
# Note: if you ignore the Pods directory, make sure to uncomment
31+
# `pod install` in .travis.yml
32+
#
33+
# Pods/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
This project is licensed under the MIT license.
2+
3+
Copyright (c) 2013 - 2014 CocoaPods Dev Team
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
pod-template
2+
============
3+
4+
An opinionated template for creating a Pod with the following features:
5+
6+
- Git as the source control management system
7+
- Clean folder structure
8+
- Project generation
9+
- MIT license
10+
- Testing as a standard
11+
- Turnkey access to Travis CI
12+
- Also supports Carthage
13+
14+
## Getting started
15+
16+
There are two reasons for wanting to work on this template, making your own or improving the one for everyone's. In both cases you will want to work with the ruby classes inside the `setup` folder, and the example base template that it works on from inside `template/ios/`.
17+
18+
## Best practices
19+
20+
The command `pod lib create` aims to be ran along with this guide: http://guides.cocoapods.org/making/using-pod-lib-create.html so any changes of flow should be updated there also.
21+
22+
It is open to communal input, but adding new features, or new ideas are probably better off being discussed in an issue first. In general we try to think if an average Xcode user is going to use this feature or not, if it's unlikely is it a _very strongly_ encouraged best practice ( ala testing / CI. ) If it's something useful for saving a few minutes every deploy, or isn't easily documented in the guide it is likely to be denied in order to keep this project as simple as possible.
23+
24+
## Requirements:
25+
26+
- CocoaPods 1.0.0+

iOSFormUtils.podspec

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# Be sure to run `pod lib lint iOSFormUtils.podspec' to ensure this is a
3+
# valid spec before submitting.
4+
#
5+
# Any lines starting with a # are optional, but their use is encouraged
6+
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
7+
#
8+
9+
Pod::Spec.new do |s|
10+
s.name = "iOSFormUtils"
11+
s.version = "0.1.0"
12+
s.summary = "iOSFormUtils helps you developping validated forms in iOS apps."
13+
14+
# This description is used to generate tags and improve search results.
15+
# * Think: What does it do? Why did you write it? What is the focus?
16+
# * Try to keep it short, snappy and to the point.
17+
# * Write the description between the DESC delimiters below.
18+
# * Finally, don't worry about the indent, CocoaPods strips it!
19+
20+
s.description = <<-DESC
21+
iOSFormUtils helps you developping validated forms in iOS apps. You could use it with Email or NotBlank formats.
22+
DESC
23+
24+
s.homepage = "https://github.com/leloupnicolas/iOSFormUtils"
25+
s.license = 'MIT'
26+
s.author = { "leloupnicolas" => "[email protected]" }
27+
s.source = { :git => "https://github.com/leloupnicolas/iOSFormUtils.git", :tag => s.version.to_s }
28+
s.social_media_url = 'https://twitter.com/leloupnicolas'
29+
30+
s.ios.deployment_target = '8.0'
31+
32+
s.source_files = 'iOSFormUtils/**/*'
33+
34+
end
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXFileReference section */
10+
C8714A4D1CECC6780006E038 /* plop.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = plop.swift; path = iOSFormUtils/plop.swift; sourceTree = "<group>"; };
11+
/* End PBXFileReference section */
12+
13+
/* Begin PBXGroup section */
14+
C8714A461CECC5360006E038 = {
15+
isa = PBXGroup;
16+
children = (
17+
C8714A4D1CECC6780006E038 /* plop.swift */,
18+
);
19+
sourceTree = "<group>";
20+
};
21+
/* End PBXGroup section */
22+
23+
/* Begin PBXProject section */
24+
C8714A471CECC5360006E038 /* Project object */ = {
25+
isa = PBXProject;
26+
attributes = {
27+
LastUpgradeCheck = 0730;
28+
};
29+
buildConfigurationList = C8714A4A1CECC5360006E038 /* Build configuration list for PBXProject "iOSFormUtils" */;
30+
compatibilityVersion = "Xcode 3.2";
31+
developmentRegion = English;
32+
hasScannedForEncodings = 0;
33+
knownRegions = (
34+
en,
35+
);
36+
mainGroup = C8714A461CECC5360006E038;
37+
projectDirPath = "";
38+
projectRoot = "";
39+
targets = (
40+
);
41+
};
42+
/* End PBXProject section */
43+
44+
/* Begin XCBuildConfiguration section */
45+
C8714A4B1CECC5360006E038 /* Debug */ = {
46+
isa = XCBuildConfiguration;
47+
buildSettings = {
48+
};
49+
name = Debug;
50+
};
51+
C8714A4C1CECC5360006E038 /* Release */ = {
52+
isa = XCBuildConfiguration;
53+
buildSettings = {
54+
};
55+
name = Release;
56+
};
57+
/* End XCBuildConfiguration section */
58+
59+
/* Begin XCConfigurationList section */
60+
C8714A4A1CECC5360006E038 /* Build configuration list for PBXProject "iOSFormUtils" */ = {
61+
isa = XCConfigurationList;
62+
buildConfigurations = (
63+
C8714A4B1CECC5360006E038 /* Debug */,
64+
C8714A4C1CECC5360006E038 /* Release */,
65+
);
66+
defaultConfigurationIsVisible = 0;
67+
defaultConfigurationName = Release;
68+
};
69+
/* End XCConfigurationList section */
70+
};
71+
rootObject = C8714A471CECC5360006E038 /* Project object */;
72+
}

iOSFormUtils.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)