Skip to content

Commit 9f0231c

Browse files
Updates
0 parents  commit 9f0231c

File tree

96 files changed

+12713
-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.

96 files changed

+12713
-0
lines changed

.gitignore

+33
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/

.swift-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0

CodeOfConduct

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Code of Conduct
2+
3+
## 1. Purpose
4+
5+
A primary goal of FAPanels is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. As such, we are committed to providing a friendly, safe and welcoming environment for all, regardless of gender, sexual orientation, ability, ethnicity, socioeconomic status, and religion (or lack thereof).
6+
7+
This code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.
8+
9+
We invite all those who participate in FAPanels to help us create safe and positive experiences for everyone.
10+
11+
## 2. Open Source Citizenship
12+
13+
A supplemental goal of this Code of Conduct is to increase open source citizenship by encouraging participants to recognize and strengthen the relationships between our actions and their effects on our community.
14+
15+
Communities mirror the societies in which they exist and positive action is essential to counteract the many forms of inequality and abuses of power that exist in society.
16+
17+
If you see someone who is making an extra effort to ensure our community is welcoming, friendly, and encourages all participants to contribute to the fullest extent, we want to know.
18+
19+
## 3. Expected Behavior
20+
21+
The following behaviors are expected and requested of all community members:
22+
23+
* Participate in an authentic and active way. In doing so, you contribute to the health and longevity of this community.
24+
* Exercise consideration and respect in your speech and actions.
25+
* Attempt collaboration before conflict.
26+
* Refrain from demeaning, discriminatory, or harassing behavior and speech.
27+
* Be mindful of your surroundings and of your fellow participants. Alert community leaders if you notice a dangerous situation, someone in distress, or violations of this Code of Conduct, even if they seem inconsequential.
28+
* Remember that community event venues may be shared with members of the public; please be respectful to all patrons of these locations.
29+
30+
## 4. Unacceptable Behavior
31+
32+
The following behaviors are considered harassment and are unacceptable within our community:
33+
34+
* Violence, threats of violence or violent language directed against another person.
35+
* Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
36+
* Posting or displaying sexually explicit or violent material.
37+
* Posting or threatening to post other people’s personally identifying information ("doxing").
38+
* Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
39+
* Inappropriate photography or recording.
40+
* Inappropriate physical contact. You should have someone’s consent before touching them.
41+
* Unwelcome sexual attention. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
42+
* Deliberate intimidation, stalking or following (online or in person).
43+
* Advocating for, or encouraging, any of the above behavior.
44+
* Sustained disruption of community events, including talks and presentations.
45+
46+
## 5. Consequences of Unacceptable Behavior
47+
48+
Unacceptable behavior from any community member, including sponsors and those with decision-making authority, will not be tolerated.
49+
50+
Anyone asked to stop unacceptable behavior is expected to comply immediately.
51+
52+
If a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event).
53+
54+
## 6. Reporting Guidelines
55+
56+
If you are subject to or witness unacceptable behavior, or have any other concerns, please notify a community organizer as soon as possible. [email protected].
57+
58+
59+
60+
Additionally, community organizers are available to help community members engage with local law enforcement or to otherwise help those experiencing unacceptable behavior feel safe. In the context of in-person events, organizers will also provide escorts as desired by the person experiencing distress.
61+
62+
## 7. Addressing Grievances
63+
64+
If you feel you have been falsely or unfairly accused of violating this Code of Conduct, you should notify Fahidattique55 with a concise description of your grievance. Your grievance will be handled in accordance with our existing governing policies.
65+
66+
67+
68+
## 8. Scope
69+
70+
We expect all community participants (contributors, paid or otherwise; sponsors; and other guests) to abide by this Code of Conduct in all community venues–online and in-person–as well as in all one-on-one communications pertaining to community business.
71+
72+
This code of conduct and its related procedures also applies to unacceptable behavior occurring outside the scope of community activities when such behavior has the potential to adversely affect the safety and well-being of community members.
73+
74+
## 9. Contact info
75+
76+
77+
78+
## 10. License and attribution
79+
80+
This Code of Conduct is distributed under a [Creative Commons Attribution-ShareAlike license](http://creativecommons.org/licenses/by-sa/3.0/).
81+
82+
Portions of text derived from the [Django Code of Conduct](https://www.djangoproject.com/conduct/) and the [Geek Feminism Anti-Harassment Policy](http://geekfeminism.wikia.com/wiki/Conference_anti-harassment/Policy).
83+
84+
Retrieved on November 22, 2016 from [http://citizencodeofconduct.org/](http://citizencodeofconduct.org/)

FAPanel/FAPanel.h

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// FAPanel.h
3+
// FAPanel
4+
//
5+
// Created by Fahid Attique on 04/08/2017.
6+
// Copyright © 2017 Fahid Attique. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
//! Project version number for FAPanel.
12+
FOUNDATION_EXPORT double FAPanelVersionNumber;
13+
14+
//! Project version string for FAPanel.
15+
FOUNDATION_EXPORT const unsigned char FAPanelVersionString[];
16+
17+
// In this header, you should import all the public headers of your framework using statements like #import <FAPanel/PublicHeader.h>
18+
19+

FAPanel/Info.plist

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>$(CURRENT_PROJECT_VERSION)</string>
21+
<key>NSPrincipalClass</key>
22+
<string></string>
23+
</dict>
24+
</plist>

FAPanelTests/FAPanelTests.swift

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
//
2+
// FAPanelTests.swift
3+
// FAPanelTests
4+
//
5+
// Created by Fahid Attique on 04/08/2017.
6+
// Copyright © 2017 Fahid Attique. All rights reserved.
7+
//
8+
9+
import XCTest
10+
@testable import FAPanel
11+
12+
class FAPanelTests: XCTestCase {
13+
14+
override func setUp() {
15+
super.setUp()
16+
// Put setup code here. This method is called before the invocation of each test method in the class.
17+
}
18+
19+
override func tearDown() {
20+
// Put teardown code here. This method is called after the invocation of each test method in the class.
21+
super.tearDown()
22+
}
23+
24+
func testExample() {
25+
// This is an example of a functional test case.
26+
// Use XCTAssert and related functions to verify your tests produce the correct results.
27+
}
28+
29+
func testPerformanceExample() {
30+
// This is an example of a performance test case.
31+
self.measure {
32+
// Put the code you want to measure the time of here.
33+
}
34+
}
35+
36+
}

FAPanelTests/Info.plist

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>BNDL</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>1</string>
21+
</dict>
22+
</plist>

FAPanels.podspec

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'FAPanels'
3+
s.version = '0.4.0'
4+
s.summary = 'Swift Panels with Animations'
5+
6+
s.description = <<-DESC
7+
Panels support left, right and center containers. Useful to show left and right side menus
8+
DESC
9+
10+
s.homepage = 'https://github.com/fahidattique55/FAPanels'
11+
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
12+
s.author = { 'Fahid Attique' => '[email protected]' }
13+
s.source = { :git => 'https://github.com/fahidattique55/FAPanels.git', :tag => s.version.to_s }
14+
15+
s.ios.deployment_target = '9.0'
16+
s.source_files = 'FAPanels/Classes/**/*.{swift}'
17+
18+
end

0 commit comments

Comments
 (0)