Skip to content

Commit 0eb2593

Browse files
committed
Initial Commit
1 parent 43dcc3f commit 0eb2593

File tree

27 files changed

+1222
-0
lines changed

27 files changed

+1222
-0
lines changed

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.0

HHFloatingView.podspec

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'HHFloatingView'
3+
s.module_name = 'HHFloatingView'
4+
s.version = '1.0.0'
5+
s.summary = 'An easy to use and setup floating view for your app. 🎡'
6+
s.description = 'HHFloatingView is another options view which you can use to show basic options for your app.'
7+
s.homepage = 'https://github.com/hemangshah/HHFloatingView'
8+
s.license = 'MIT'
9+
s.author = { 'hemangshah' => '[email protected]' }
10+
s.source = { :git => 'https://github.com/hemangshah/HHFloatingView.git', :tag => s.version.to_s }
11+
s.platform = :ios, '9.0'
12+
s.requires_arc = true
13+
s.source_files = 'HHFloatingView/Source/*.swift'
14+
end
Lines changed: 346 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,346 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 48;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
F1ADC2361F97563800464FD3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1ADC2351F97563800464FD3 /* AppDelegate.swift */; };
11+
F1ADC2381F97563800464FD3 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1ADC2371F97563800464FD3 /* ViewController.swift */; };
12+
F1ADC23B1F97563800464FD3 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F1ADC2391F97563800464FD3 /* Main.storyboard */; };
13+
F1ADC23D1F97563800464FD3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F1ADC23C1F97563800464FD3 /* Assets.xcassets */; };
14+
F1ADC2401F97563800464FD3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F1ADC23E1F97563800464FD3 /* LaunchScreen.storyboard */; };
15+
F1ADC2481F97565A00464FD3 /* BaseViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1ADC2471F97565A00464FD3 /* BaseViewController.swift */; };
16+
F1ADC24E1F97591000464FD3 /* HHFloatingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1ADC24B1F9756C900464FD3 /* HHFloatingView.swift */; };
17+
F1ADC24F1F97591000464FD3 /* HHFloatingViewButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1ADC24C1F9756C900464FD3 /* HHFloatingViewButton.swift */; };
18+
F1ADC2501F97591000464FD3 /* HHFloatingViewConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1ADC24D1F9756C900464FD3 /* HHFloatingViewConfiguration.swift */; };
19+
/* End PBXBuildFile section */
20+
21+
/* Begin PBXFileReference section */
22+
F1ADC2321F97563800464FD3 /* HHFloatingView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HHFloatingView.app; sourceTree = BUILT_PRODUCTS_DIR; };
23+
F1ADC2351F97563800464FD3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
24+
F1ADC2371F97563800464FD3 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
25+
F1ADC23A1F97563800464FD3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
26+
F1ADC23C1F97563800464FD3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
27+
F1ADC23F1F97563800464FD3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
28+
F1ADC2411F97563800464FD3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
29+
F1ADC2471F97565A00464FD3 /* BaseViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BaseViewController.swift; sourceTree = "<group>"; };
30+
F1ADC24B1F9756C900464FD3 /* HHFloatingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HHFloatingView.swift; sourceTree = "<group>"; };
31+
F1ADC24C1F9756C900464FD3 /* HHFloatingViewButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HHFloatingViewButton.swift; sourceTree = "<group>"; };
32+
F1ADC24D1F9756C900464FD3 /* HHFloatingViewConfiguration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HHFloatingViewConfiguration.swift; sourceTree = "<group>"; };
33+
/* End PBXFileReference section */
34+
35+
/* Begin PBXFrameworksBuildPhase section */
36+
F1ADC22F1F97563800464FD3 /* Frameworks */ = {
37+
isa = PBXFrameworksBuildPhase;
38+
buildActionMask = 2147483647;
39+
files = (
40+
);
41+
runOnlyForDeploymentPostprocessing = 0;
42+
};
43+
/* End PBXFrameworksBuildPhase section */
44+
45+
/* Begin PBXGroup section */
46+
F1ADC2291F97563800464FD3 = {
47+
isa = PBXGroup;
48+
children = (
49+
F1ADC2341F97563800464FD3 /* HHFloatingView */,
50+
F1ADC2331F97563800464FD3 /* Products */,
51+
);
52+
sourceTree = "<group>";
53+
};
54+
F1ADC2331F97563800464FD3 /* Products */ = {
55+
isa = PBXGroup;
56+
children = (
57+
F1ADC2321F97563800464FD3 /* HHFloatingView.app */,
58+
);
59+
name = Products;
60+
sourceTree = "<group>";
61+
};
62+
F1ADC2341F97563800464FD3 /* HHFloatingView */ = {
63+
isa = PBXGroup;
64+
children = (
65+
F1ADC2491F9756C900464FD3 /* Source */,
66+
F1ADC2351F97563800464FD3 /* AppDelegate.swift */,
67+
F1ADC2471F97565A00464FD3 /* BaseViewController.swift */,
68+
F1ADC2371F97563800464FD3 /* ViewController.swift */,
69+
F1ADC2391F97563800464FD3 /* Main.storyboard */,
70+
F1ADC23C1F97563800464FD3 /* Assets.xcassets */,
71+
F1ADC23E1F97563800464FD3 /* LaunchScreen.storyboard */,
72+
F1ADC2411F97563800464FD3 /* Info.plist */,
73+
);
74+
path = HHFloatingView;
75+
sourceTree = "<group>";
76+
};
77+
F1ADC2491F9756C900464FD3 /* Source */ = {
78+
isa = PBXGroup;
79+
children = (
80+
F1ADC24B1F9756C900464FD3 /* HHFloatingView.swift */,
81+
F1ADC24C1F9756C900464FD3 /* HHFloatingViewButton.swift */,
82+
F1ADC24D1F9756C900464FD3 /* HHFloatingViewConfiguration.swift */,
83+
);
84+
path = Source;
85+
sourceTree = "<group>";
86+
};
87+
/* End PBXGroup section */
88+
89+
/* Begin PBXNativeTarget section */
90+
F1ADC2311F97563800464FD3 /* HHFloatingView */ = {
91+
isa = PBXNativeTarget;
92+
buildConfigurationList = F1ADC2441F97563800464FD3 /* Build configuration list for PBXNativeTarget "HHFloatingView" */;
93+
buildPhases = (
94+
F1ADC22E1F97563800464FD3 /* Sources */,
95+
F1ADC22F1F97563800464FD3 /* Frameworks */,
96+
F1ADC2301F97563800464FD3 /* Resources */,
97+
);
98+
buildRules = (
99+
);
100+
dependencies = (
101+
);
102+
name = HHFloatingView;
103+
productName = HHFloatingView;
104+
productReference = F1ADC2321F97563800464FD3 /* HHFloatingView.app */;
105+
productType = "com.apple.product-type.application";
106+
};
107+
/* End PBXNativeTarget section */
108+
109+
/* Begin PBXProject section */
110+
F1ADC22A1F97563800464FD3 /* Project object */ = {
111+
isa = PBXProject;
112+
attributes = {
113+
LastSwiftUpdateCheck = 0900;
114+
LastUpgradeCheck = 0900;
115+
ORGANIZATIONNAME = "Hemang Shah";
116+
TargetAttributes = {
117+
F1ADC2311F97563800464FD3 = {
118+
CreatedOnToolsVersion = 9.0;
119+
};
120+
};
121+
};
122+
buildConfigurationList = F1ADC22D1F97563800464FD3 /* Build configuration list for PBXProject "HHFloatingView" */;
123+
compatibilityVersion = "Xcode 8.0";
124+
developmentRegion = en;
125+
hasScannedForEncodings = 0;
126+
knownRegions = (
127+
en,
128+
Base,
129+
);
130+
mainGroup = F1ADC2291F97563800464FD3;
131+
productRefGroup = F1ADC2331F97563800464FD3 /* Products */;
132+
projectDirPath = "";
133+
projectRoot = "";
134+
targets = (
135+
F1ADC2311F97563800464FD3 /* HHFloatingView */,
136+
);
137+
};
138+
/* End PBXProject section */
139+
140+
/* Begin PBXResourcesBuildPhase section */
141+
F1ADC2301F97563800464FD3 /* Resources */ = {
142+
isa = PBXResourcesBuildPhase;
143+
buildActionMask = 2147483647;
144+
files = (
145+
F1ADC2401F97563800464FD3 /* LaunchScreen.storyboard in Resources */,
146+
F1ADC23D1F97563800464FD3 /* Assets.xcassets in Resources */,
147+
F1ADC23B1F97563800464FD3 /* Main.storyboard in Resources */,
148+
);
149+
runOnlyForDeploymentPostprocessing = 0;
150+
};
151+
/* End PBXResourcesBuildPhase section */
152+
153+
/* Begin PBXSourcesBuildPhase section */
154+
F1ADC22E1F97563800464FD3 /* Sources */ = {
155+
isa = PBXSourcesBuildPhase;
156+
buildActionMask = 2147483647;
157+
files = (
158+
F1ADC24E1F97591000464FD3 /* HHFloatingView.swift in Sources */,
159+
F1ADC24F1F97591000464FD3 /* HHFloatingViewButton.swift in Sources */,
160+
F1ADC2501F97591000464FD3 /* HHFloatingViewConfiguration.swift in Sources */,
161+
F1ADC2381F97563800464FD3 /* ViewController.swift in Sources */,
162+
F1ADC2361F97563800464FD3 /* AppDelegate.swift in Sources */,
163+
F1ADC2481F97565A00464FD3 /* BaseViewController.swift in Sources */,
164+
);
165+
runOnlyForDeploymentPostprocessing = 0;
166+
};
167+
/* End PBXSourcesBuildPhase section */
168+
169+
/* Begin PBXVariantGroup section */
170+
F1ADC2391F97563800464FD3 /* Main.storyboard */ = {
171+
isa = PBXVariantGroup;
172+
children = (
173+
F1ADC23A1F97563800464FD3 /* Base */,
174+
);
175+
name = Main.storyboard;
176+
sourceTree = "<group>";
177+
};
178+
F1ADC23E1F97563800464FD3 /* LaunchScreen.storyboard */ = {
179+
isa = PBXVariantGroup;
180+
children = (
181+
F1ADC23F1F97563800464FD3 /* Base */,
182+
);
183+
name = LaunchScreen.storyboard;
184+
sourceTree = "<group>";
185+
};
186+
/* End PBXVariantGroup section */
187+
188+
/* Begin XCBuildConfiguration section */
189+
F1ADC2421F97563800464FD3 /* Debug */ = {
190+
isa = XCBuildConfiguration;
191+
buildSettings = {
192+
ALWAYS_SEARCH_USER_PATHS = NO;
193+
CLANG_ANALYZER_NONNULL = YES;
194+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
195+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
196+
CLANG_CXX_LIBRARY = "libc++";
197+
CLANG_ENABLE_MODULES = YES;
198+
CLANG_ENABLE_OBJC_ARC = YES;
199+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
200+
CLANG_WARN_BOOL_CONVERSION = YES;
201+
CLANG_WARN_COMMA = YES;
202+
CLANG_WARN_CONSTANT_CONVERSION = YES;
203+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
204+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
205+
CLANG_WARN_EMPTY_BODY = YES;
206+
CLANG_WARN_ENUM_CONVERSION = YES;
207+
CLANG_WARN_INFINITE_RECURSION = YES;
208+
CLANG_WARN_INT_CONVERSION = YES;
209+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
210+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
211+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
212+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
213+
CLANG_WARN_STRICT_PROTOTYPES = YES;
214+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
215+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
216+
CLANG_WARN_UNREACHABLE_CODE = YES;
217+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
218+
CODE_SIGN_IDENTITY = "iPhone Developer";
219+
COPY_PHASE_STRIP = NO;
220+
DEBUG_INFORMATION_FORMAT = dwarf;
221+
ENABLE_STRICT_OBJC_MSGSEND = YES;
222+
ENABLE_TESTABILITY = YES;
223+
GCC_C_LANGUAGE_STANDARD = gnu11;
224+
GCC_DYNAMIC_NO_PIC = NO;
225+
GCC_NO_COMMON_BLOCKS = YES;
226+
GCC_OPTIMIZATION_LEVEL = 0;
227+
GCC_PREPROCESSOR_DEFINITIONS = (
228+
"DEBUG=1",
229+
"$(inherited)",
230+
);
231+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
232+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
233+
GCC_WARN_UNDECLARED_SELECTOR = YES;
234+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
235+
GCC_WARN_UNUSED_FUNCTION = YES;
236+
GCC_WARN_UNUSED_VARIABLE = YES;
237+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
238+
MTL_ENABLE_DEBUG_INFO = YES;
239+
ONLY_ACTIVE_ARCH = YES;
240+
SDKROOT = iphoneos;
241+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
242+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
243+
};
244+
name = Debug;
245+
};
246+
F1ADC2431F97563800464FD3 /* Release */ = {
247+
isa = XCBuildConfiguration;
248+
buildSettings = {
249+
ALWAYS_SEARCH_USER_PATHS = NO;
250+
CLANG_ANALYZER_NONNULL = YES;
251+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
252+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
253+
CLANG_CXX_LIBRARY = "libc++";
254+
CLANG_ENABLE_MODULES = YES;
255+
CLANG_ENABLE_OBJC_ARC = YES;
256+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
257+
CLANG_WARN_BOOL_CONVERSION = YES;
258+
CLANG_WARN_COMMA = YES;
259+
CLANG_WARN_CONSTANT_CONVERSION = YES;
260+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
261+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
262+
CLANG_WARN_EMPTY_BODY = YES;
263+
CLANG_WARN_ENUM_CONVERSION = YES;
264+
CLANG_WARN_INFINITE_RECURSION = YES;
265+
CLANG_WARN_INT_CONVERSION = YES;
266+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
267+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
268+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
269+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
270+
CLANG_WARN_STRICT_PROTOTYPES = YES;
271+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
272+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
273+
CLANG_WARN_UNREACHABLE_CODE = YES;
274+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
275+
CODE_SIGN_IDENTITY = "iPhone Developer";
276+
COPY_PHASE_STRIP = NO;
277+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
278+
ENABLE_NS_ASSERTIONS = NO;
279+
ENABLE_STRICT_OBJC_MSGSEND = YES;
280+
GCC_C_LANGUAGE_STANDARD = gnu11;
281+
GCC_NO_COMMON_BLOCKS = YES;
282+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
283+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
284+
GCC_WARN_UNDECLARED_SELECTOR = YES;
285+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
286+
GCC_WARN_UNUSED_FUNCTION = YES;
287+
GCC_WARN_UNUSED_VARIABLE = YES;
288+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
289+
MTL_ENABLE_DEBUG_INFO = NO;
290+
SDKROOT = iphoneos;
291+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
292+
VALIDATE_PRODUCT = YES;
293+
};
294+
name = Release;
295+
};
296+
F1ADC2451F97563800464FD3 /* Debug */ = {
297+
isa = XCBuildConfiguration;
298+
buildSettings = {
299+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
300+
INFOPLIST_FILE = HHFloatingView/Info.plist;
301+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
302+
PRODUCT_BUNDLE_IDENTIFIER = com.hemangshah.HHFloatingView;
303+
PRODUCT_NAME = "$(TARGET_NAME)";
304+
SWIFT_VERSION = 4.0;
305+
TARGETED_DEVICE_FAMILY = "1,2";
306+
};
307+
name = Debug;
308+
};
309+
F1ADC2461F97563800464FD3 /* Release */ = {
310+
isa = XCBuildConfiguration;
311+
buildSettings = {
312+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
313+
INFOPLIST_FILE = HHFloatingView/Info.plist;
314+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
315+
PRODUCT_BUNDLE_IDENTIFIER = com.hemangshah.HHFloatingView;
316+
PRODUCT_NAME = "$(TARGET_NAME)";
317+
SWIFT_VERSION = 4.0;
318+
TARGETED_DEVICE_FAMILY = "1,2";
319+
};
320+
name = Release;
321+
};
322+
/* End XCBuildConfiguration section */
323+
324+
/* Begin XCConfigurationList section */
325+
F1ADC22D1F97563800464FD3 /* Build configuration list for PBXProject "HHFloatingView" */ = {
326+
isa = XCConfigurationList;
327+
buildConfigurations = (
328+
F1ADC2421F97563800464FD3 /* Debug */,
329+
F1ADC2431F97563800464FD3 /* Release */,
330+
);
331+
defaultConfigurationIsVisible = 0;
332+
defaultConfigurationName = Release;
333+
};
334+
F1ADC2441F97563800464FD3 /* Build configuration list for PBXNativeTarget "HHFloatingView" */ = {
335+
isa = XCConfigurationList;
336+
buildConfigurations = (
337+
F1ADC2451F97563800464FD3 /* Debug */,
338+
F1ADC2461F97563800464FD3 /* Release */,
339+
);
340+
defaultConfigurationIsVisible = 0;
341+
defaultConfigurationName = Release;
342+
};
343+
/* End XCConfigurationList section */
344+
};
345+
rootObject = F1ADC22A1F97563800464FD3 /* Project object */;
346+
}

HHFloatingView.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)