Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit b2ed9ff

Browse files
committed
Released 1.0.0
0 parents  commit b2ed9ff

File tree

92 files changed

+8422
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+8422
-0
lines changed

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
DS_Store
2+
3+
*.pbxuser
4+
*.perspective
5+
*.perspectivev3
6+
7+
*.mode1v3
8+
*.mode2v3
9+
10+
*.xcodeproj/xcuserdata/*.xcuserdatad
11+
12+
*.xccheckout
13+
*.xcuserdatad
14+
15+
Pods
16+
Podfile.lock
17+
18+
DerivedData
19+
build
20+
21+
PFResources.*
22+
ParseUI.xcworkspace

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing to ParseUI
2+
We want to make contributing to this project as easy and transparent as possible.
3+
4+
## Pull Requests
5+
We actively welcome your pull requests.
6+
7+
1. Fork the repo and create your branch from `master`.
8+
2. If you've added code that should be tested, add tests
9+
3. If you've changed APIs, update the documentation.
10+
4. Ensure the test suite passes.
11+
5. Make sure your code lints.
12+
6. If you haven't already, complete the Contributor License Agreement ("CLA").
13+
14+
## Contributor License Agreement ("CLA")
15+
In order to accept your pull request, we need you to submit a CLA. You only need to do this once to work on any of Facebook's open source projects.
16+
17+
Complete your CLA here: <https://developers.facebook.com/opensource/cla>
18+
19+
## Issues
20+
We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.
21+
22+
Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe disclosure of security bugs. In those cases, please go through the process outlined on that page and do not file a public issue.
23+
24+
## Coding Style
25+
* Most importantly, match the existing code style as much as possible.
26+
* Try to keep lines under 100 characters, if possible.
27+
28+
## License
29+
By contributing to ParseUI, you agree that your contributions will be licensed under its license.

LICENSE

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Copyright (c) 2014, Facebook, Inc. All rights reserved.
2+
3+
You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
4+
copy, modify, and distribute this software in source code or binary form for use
5+
in connection with the web services and APIs provided by Facebook.
6+
7+
As with any software that integrates with the Facebook platform, your use of
8+
this software is subject to the Facebook Developer Principles and Policies
9+
[http://developers.facebook.com/policy/]. This copyright notice shall be
10+
included in all copies or substantial portions of the software.
11+
12+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
14+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
15+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
16+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
17+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ParseUI.podspec

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'ParseUI'
3+
s.version = '1.0.0'
4+
s.license = { :type => 'SDK', :file => 'LICENSE'}
5+
s.homepage = 'https://www.parse.com/'
6+
s.summary = 'ParseUI is a library of useful User Interface components for the Parse iOS SDK.'
7+
s.authors = 'Parse'
8+
s.social_media_url = 'https://twitter.com/ParseIt'
9+
10+
s.source = { :git => "https://github.com/ParsePlatform/ParseUI-iOS.git", :tag => s.version.to_s }
11+
12+
s.platform = :ios
13+
s.requires_arc = true
14+
s.ios.deployment_target = '6.0'
15+
16+
s.prepare_command = <<-CMD
17+
ruby ParseUI/Scripts/convert_images.rb \
18+
ParseUI/Resources/Images/ \
19+
ParseUI/Generated/PFResources
20+
CMD
21+
s.source_files = "ParseUI/**/*.{h,m}"
22+
s.public_header_files = 'ParseUI/Classes/LogInViewController/*.h',
23+
'ParseUI/Classes/SignUpViewController/*.h',
24+
'ParseUI/Classes/QueryTableViewController/*.h',
25+
'ParseUI/Classes/ProductTableViewController/*.h',
26+
'ParseUI/Classes/Views/*.h',
27+
'ParseUI/Classes/Cells/*.h',
28+
'ParseUI/Classes/Other/*.h'
29+
s.frameworks = 'Foundation',
30+
'UIKit',
31+
'CoreGraphics',
32+
'QuartzCore'
33+
34+
s.dependency 'Parse', '~> 1.5.0'
35+
s.dependency 'ParseFacebookUtils', '~> 1.5.0'
36+
end

ParseUI.xcodeproj/project.pbxproj

Lines changed: 598 additions & 0 deletions
Large diffs are not rendered by default.

ParseUI.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.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0600"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "D2AAC07D0554694100DB518D"
18+
BuildableName = "ParseUI.framework"
19+
BlueprintName = "ParseUI"
20+
ReferencedContainer = "container:ParseUI.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28+
shouldUseLaunchSchemeArgsEnv = "YES"
29+
buildConfiguration = "Debug">
30+
<Testables>
31+
</Testables>
32+
</TestAction>
33+
<LaunchAction
34+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
35+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
36+
launchStyle = "0"
37+
useCustomWorkingDirectory = "NO"
38+
buildConfiguration = "Debug"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
allowLocationSimulation = "YES">
42+
<MacroExpansion>
43+
<BuildableReference
44+
BuildableIdentifier = "primary"
45+
BlueprintIdentifier = "D2AAC07D0554694100DB518D"
46+
BuildableName = "ParseUI.framework"
47+
BlueprintName = "ParseUI"
48+
ReferencedContainer = "container:ParseUI.xcodeproj">
49+
</BuildableReference>
50+
</MacroExpansion>
51+
<AdditionalOptions>
52+
</AdditionalOptions>
53+
</LaunchAction>
54+
<ProfileAction
55+
shouldUseLaunchSchemeArgsEnv = "YES"
56+
savedToolIdentifier = ""
57+
useCustomWorkingDirectory = "NO"
58+
buildConfiguration = "Release"
59+
debugDocumentVersioning = "YES">
60+
<MacroExpansion>
61+
<BuildableReference
62+
BuildableIdentifier = "primary"
63+
BlueprintIdentifier = "D2AAC07D0554694100DB518D"
64+
BuildableName = "ParseUI.framework"
65+
BlueprintName = "ParseUI"
66+
ReferencedContainer = "container:ParseUI.xcodeproj">
67+
</BuildableReference>
68+
</MacroExpansion>
69+
</ProfileAction>
70+
<AnalyzeAction
71+
buildConfiguration = "Debug">
72+
</AnalyzeAction>
73+
<ArchiveAction
74+
buildConfiguration = "Release"
75+
revealArchiveInOrganizer = "YES">
76+
</ArchiveAction>
77+
</Scheme>
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
* Copyright (c) 2014, Facebook, Inc. All rights reserved.
3+
*
4+
* You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
5+
* copy, modify, and distribute this software in source code or binary form for use
6+
* in connection with the web services and APIs provided by Facebook.
7+
*
8+
* As with any software that integrates with the Facebook platform, your use of
9+
* this software is subject to the Facebook Developer Principles and Policies
10+
* [http://developers.facebook.com/policy/]. This copyright notice shall be
11+
* included in all copies or substantial portions of the software.
12+
*
13+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19+
*
20+
*/
21+
22+
#import <UIKit/UIKit.h>
23+
24+
#import <ParseUI/PFTableViewCell.h>
25+
26+
/*!
27+
An enum that represents states of the PFPurchaseTableViewCell.
28+
@see PFPurchaseTableViewCell
29+
*/
30+
typedef NS_ENUM(uint8_t, PFPurchaseTableViewCellState) {
31+
/*! Normal state of the cell. */
32+
PFPurchaseTableViewCellStateNormal = 0,
33+
/*! Downloading state of the cell. */
34+
PFPurchaseTableViewCellStateDownloading,
35+
/*! State of the cell, when the product was downloaded. */
36+
PFPurchaseTableViewCellStateDownloaded
37+
};
38+
39+
/*!
40+
`PFPurchaseTableViewCell` is a subclass <PFTableViewCell> that is used to show
41+
products in a <PFProductTableViewController>.
42+
43+
@see PFProductTableViewController
44+
*/
45+
@interface PFPurchaseTableViewCell : PFTableViewCell
46+
47+
/*!
48+
@abstract State of the cell.
49+
@see PFPurchaseTableViewCellState
50+
*/
51+
@property (nonatomic, assign) PFPurchaseTableViewCellState state;
52+
53+
/*!
54+
@abstract Label where price of the product is displayed.
55+
*/
56+
@property (nonatomic, strong, readonly) UILabel *priceLabel;
57+
58+
/*!
59+
@abstract Progress view that is shown, when the product is downloading.
60+
*/
61+
@property (nonatomic, strong, readonly) UIProgressView *progressView;
62+
63+
@end

0 commit comments

Comments
 (0)