Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
1
1weather
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
1weather
Commits
a3a4eb93
Commit
a3a4eb93
authored
May 28, 2021
by
Demid Merzlyakov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IOS-73: removed unused files.
parent
2d06a627
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 additions
and
497 deletions
+1
-497
1Weather.xcodeproj/project.pbxproj
+1
-21
1Weather/Ads/Native/StoriesLeftNativeAd.xib
+0
-102
1Weather/Ads/Native/StoriesNativeAd.swift
+0
-100
1Weather/Ads/Native/StoriesNativeAd.xib
+0
-104
1Weather/Ads/Native/StoriesNativeAdCell.swift
+0
-147
1Weather/Ads/Native/StoriesNativeAdCell.xib
+0
-23
No files found.
1Weather.xcodeproj/project.pbxproj
View file @
a3a4eb93
...
...
@@ -152,14 +152,9 @@
CE13B80A262480B3007CBD4D
/* EnvironmentManager.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7EE262480B3007CBD4D
/* EnvironmentManager.swift */
;
};
CE13B80C262480B3007CBD4D
/* AdConfigManager.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F0262480B3007CBD4D
/* AdConfigManager.swift */
;
};
CE13B80D262480B3007CBD4D
/* AdConfig.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F1262480B3007CBD4D
/* AdConfig.swift */
;
};
CE13B80E262480B3007CBD4D
/* StoriesNativeAd.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F3262480B3007CBD4D
/* StoriesNativeAd.xib */
;
};
CE13B80F262480B3007CBD4D
/* BRNativeBannerContainerView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F4262480B3007CBD4D
/* BRNativeBannerContainerView.swift */
;
};
CE13B810262480B3007CBD4D
/* StoriesNativeAdCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F5262480B3007CBD4D
/* StoriesNativeAdCell.xib */
;
};
CE13B811262480B3007CBD4D
/* StoriesNativeAdCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F6262480B3007CBD4D
/* StoriesNativeAdCell.swift */
;
};
CE13B812262480B3007CBD4D
/* NativeAdItem.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F7262480B3007CBD4D
/* NativeAdItem.swift */
;
};
CE13B813262480B3007CBD4D
/* StoriesLeftNativeAd.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F8262480B3007CBD4D
/* StoriesLeftNativeAd.xib */
;
};
CE13B814262480B3007CBD4D
/* BRNativeBannerView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7F9262480B3007CBD4D
/* BRNativeBannerView.swift */
;
};
CE13B815262480B3007CBD4D
/* StoriesNativeAd.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7FA262480B3007CBD4D
/* StoriesNativeAd.swift */
;
};
CE13B816262480B3007CBD4D
/* NativeAdLoader.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7FB262480B3007CBD4D
/* NativeAdLoader.swift */
;
};
CE13B817262480B3007CBD4D
/* BRNativeBannerView.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7FC262480B3007CBD4D
/* BRNativeBannerView.xib */
;
};
CE13B818262480B3007CBD4D
/* A9BidObject.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
CE13B7FF262480B3007CBD4D
/* A9BidObject.swift */
;
};
...
...
@@ -403,14 +398,9 @@
CE13B7EE262480B3007CBD4D
/* EnvironmentManager.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
EnvironmentManager.swift
;
sourceTree
=
"<group>"
;
};
CE13B7F0262480B3007CBD4D
/* AdConfigManager.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AdConfigManager.swift
;
sourceTree
=
"<group>"
;
};
CE13B7F1262480B3007CBD4D
/* AdConfig.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AdConfig.swift
;
sourceTree
=
"<group>"
;
};
CE13B7F3262480B3007CBD4D
/* StoriesNativeAd.xib */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
file.xib
;
path
=
StoriesNativeAd.xib
;
sourceTree
=
"<group>"
;
};
CE13B7F4262480B3007CBD4D
/* BRNativeBannerContainerView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
BRNativeBannerContainerView.swift
;
sourceTree
=
"<group>"
;
};
CE13B7F5262480B3007CBD4D
/* StoriesNativeAdCell.xib */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
file.xib
;
path
=
StoriesNativeAdCell.xib
;
sourceTree
=
"<group>"
;
};
CE13B7F6262480B3007CBD4D
/* StoriesNativeAdCell.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
StoriesNativeAdCell.swift
;
sourceTree
=
"<group>"
;
};
CE13B7F7262480B3007CBD4D
/* NativeAdItem.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NativeAdItem.swift
;
sourceTree
=
"<group>"
;
};
CE13B7F8262480B3007CBD4D
/* StoriesLeftNativeAd.xib */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
file.xib
;
path
=
StoriesLeftNativeAd.xib
;
sourceTree
=
"<group>"
;
};
CE13B7F9262480B3007CBD4D
/* BRNativeBannerView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
BRNativeBannerView.swift
;
sourceTree
=
"<group>"
;
};
CE13B7FA262480B3007CBD4D
/* StoriesNativeAd.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
StoriesNativeAd.swift
;
sourceTree
=
"<group>"
;
};
CE13B7FB262480B3007CBD4D
/* NativeAdLoader.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NativeAdLoader.swift
;
sourceTree
=
"<group>"
;
};
CE13B7FC262480B3007CBD4D
/* BRNativeBannerView.xib */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
file.xib
;
path
=
BRNativeBannerView.xib
;
sourceTree
=
"<group>"
;
};
CE13B7FD262480B3007CBD4D
/* BRMoPubAdView.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
BRMoPubAdView.h
;
sourceTree
=
"<group>"
;
};
...
...
@@ -1077,15 +1067,10 @@
CE13B7F2262480B3007CBD4D
/* Native */
=
{
isa
=
PBXGroup
;
children
=
(
CE13B7F3262480B3007CBD4D
/* StoriesNativeAd.xib */
,
CE13B7F4262480B3007CBD4D
/* BRNativeBannerContainerView.swift */
,
CE13B7F5262480B3007CBD4D
/* StoriesNativeAdCell.xib */
,
CE13B7F6262480B3007CBD4D
/* StoriesNativeAdCell.swift */
,
CE13B7F7262480B3007CBD4D
/* NativeAdItem.swift */
,
CE13B7F8262480B3007CBD4D
/* StoriesLeftNativeAd.xib */
,
CE13B7F9262480B3007CBD4D
/* BRNativeBannerView.swift */
,
CE13B7FA262480B3007CBD4D
/* StoriesNativeAd.swift */
,
CE13B7FB262480B3007CBD4D
/* NativeAdLoader.swift */
,
CE13B7F9262480B3007CBD4D
/* BRNativeBannerView.swift */
,
CE13B7FC262480B3007CBD4D
/* BRNativeBannerView.xib */
,
);
path
=
Native
;
...
...
@@ -1361,12 +1346,9 @@
CDD75F0D25DE68B10099ACDB
/* Localizable.strings in Resources */
,
87C171ED25FF79CC00DA3464
/* LocalConfig.plist in Resources */
,
CE376C98261EE484000B1159
/* LaunchScreen.storyboard in Resources */
,
CE13B813262480B3007CBD4D
/* StoriesLeftNativeAd.xib in Resources */
,
CE13B817262480B3007CBD4D
/* BRNativeBannerView.xib in Resources */
,
CE13B80E262480B3007CBD4D
/* StoriesNativeAd.xib in Resources */
,
CE13B88F26248A77007CBD4D
/* GoogleService-Info-Staging.plist in Resources */
,
CE13B88E26248A77007CBD4D
/* GoogleService-Info-Production.plist in Resources */
,
CE13B810262480B3007CBD4D
/* StoriesNativeAdCell.xib in Resources */
,
CD1237CC255D5C5C00C98139
/* Assets.xcassets in Resources */
,
CD822FFA25D6890900A05501
/* OneWeatherColorsAsset.xcassets in Resources */
,
);
...
...
@@ -1554,7 +1536,6 @@
CDE2BF222609D4250085C930
/* ForecastWindSpeedCell.swift in Sources */
,
CD866A6C260F676400E96A5C
/* SettingsDetailsCellFactory.swift in Sources */
,
CDDE8D7F262EED4D00267931
/* MapLegendWeatherView.swift in Sources */
,
CE13B815262480B3007CBD4D
/* StoriesNativeAd.swift in Sources */
,
CEF9596C2600C32E00975FAA
/* AnalyticsEvent.swift in Sources */
,
CEF959982600C88100975FAA
/* AnalyticsParameter.swift in Sources */
,
87C171F425FF7A4000DA3464
/* PopularCitiesManager.swift in Sources */
,
...
...
@@ -1599,7 +1580,6 @@
CD866A6F260F67F200E96A5C
/* SettingsDetailsViewModel.swift in Sources */
,
CD71709025FA317700A63C27
/* ForecastTimePeriodView.swift in Sources */
,
CE13B812262480B3007CBD4D
/* NativeAdItem.swift in Sources */
,
CE13B811262480B3007CBD4D
/* StoriesNativeAdCell.swift in Sources */
,
CD37D3E5260CB05C002669D6
/* MenuFooterView.swift in Sources */
,
CDE18DD825D16CB200C80ED9
/* NavigationCityButton.swift in Sources */
,
CDAD97B1262042B2007FCFB1
/* MapButton.swift in Sources */
,
...
...
1Weather/Ads/Native/StoriesLeftNativeAd.xib
deleted
100644 → 0
View file @
2d06a627
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
contentMode=
"scaleToFill"
id=
"iN0-l3-epB"
customClass=
"StoriesNativeAd"
customModule=
"BaconReader"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"150"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<view
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
placeholderIntrinsicWidth=
"63.5"
placeholderIntrinsicHeight=
"12"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"zEH-Ql-gw6"
>
<rect
key=
"frame"
x=
"84"
y=
"19"
width=
"63.5"
height=
"16"
/>
<subviews>
<label
opaque=
"NO"
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Sponsored"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qjm-wT-8Rw"
>
<rect
key=
"frame"
x=
"4"
y=
"2"
width=
"55.5"
height=
"12"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<fontDescription
key=
"fontDescription"
type=
"boldSystem"
pointSize=
"10"
/>
<color
key=
"textColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
red=
"0.086274509799999996"
green=
"0.3411764706"
blue=
"0.64705882349999999"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint
firstAttribute=
"bottom"
secondItem=
"qjm-wT-8Rw"
secondAttribute=
"bottom"
constant=
"2"
id=
"8J5-eu-oQC"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"qjm-wT-8Rw"
secondAttribute=
"trailing"
constant=
"4"
id=
"MGv-iy-QfZ"
/>
<constraint
firstItem=
"qjm-wT-8Rw"
firstAttribute=
"leading"
secondItem=
"zEH-Ql-gw6"
secondAttribute=
"leading"
constant=
"4"
id=
"R8t-Nm-VLv"
/>
<constraint
firstItem=
"qjm-wT-8Rw"
firstAttribute=
"top"
secondItem=
"zEH-Ql-gw6"
secondAttribute=
"top"
constant=
"2"
id=
"hGu-0V-roG"
/>
</constraints>
</view>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Zcd-lU-WbJ"
userLabel=
"adIcon"
>
<rect
key=
"frame"
x=
"16"
y=
"23"
width=
"60"
height=
"60"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"60"
id=
"6fb-gB-UIe"
/>
<constraint
firstAttribute=
"height"
constant=
"60"
id=
"Qki-Mq-XKl"
/>
</constraints>
</imageView>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"GT6-a9-vaj"
>
<rect
key=
"frame"
x=
"16"
y=
"0.0"
width=
"304"
height=
"7"
/>
<color
key=
"backgroundColor"
red=
"0.93725490196078431"
green=
"0.93725490196078431"
blue=
"1"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"7"
id=
"hue-AI-6ZU"
/>
</constraints>
</view>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"252"
verticalHuggingPriority=
"251"
horizontalCompressionResistancePriority=
"1000"
text=
"CTA"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
numberOfLines=
"2"
baselineAdjustment=
"alignBaselines"
minimumFontSize=
"9"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"co7-Ei-ydh"
>
<rect
key=
"frame"
x=
"283.5"
y=
"124"
width=
"28.5"
height=
"18"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"15"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
verticalCompressionResistancePriority=
"751"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"hHT-Lc-Rw7"
>
<rect
key=
"frame"
x=
"84"
y=
"43"
width=
"218"
height=
"21"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"17"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"TopLeft"
horizontalHuggingPriority=
"251"
text=
"Label"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
minimumScaleFactor=
"0.84999999999999998"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"DaE-WI-yfD"
>
<rect
key=
"frame"
x=
"84"
y=
"68"
width=
"220"
height=
"48"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<nil
key=
"textColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint
firstItem=
"hHT-Lc-Rw7"
firstAttribute=
"top"
secondItem=
"zEH-Ql-gw6"
secondAttribute=
"bottom"
constant=
"8"
id=
"0HK-ag-uVt"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"GT6-a9-vaj"
secondAttribute=
"trailing"
id=
"1Jl-s5-Tuq"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"co7-Ei-ydh"
secondAttribute=
"trailing"
constant=
"8"
id=
"1ws-V8-AaR"
/>
<constraint
firstItem=
"zEH-Ql-gw6"
firstAttribute=
"top"
secondItem=
"GT6-a9-vaj"
secondAttribute=
"bottom"
constant=
"12"
id=
"4C6-m3-qEf"
/>
<constraint
firstItem=
"Zcd-lU-WbJ"
firstAttribute=
"top"
secondItem=
"GT6-a9-vaj"
secondAttribute=
"bottom"
constant=
"16"
id=
"5QM-N6-yc5"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"co7-Ei-ydh"
secondAttribute=
"bottom"
constant=
"8"
id=
"DOI-Rj-exh"
/>
<constraint
firstItem=
"DaE-WI-yfD"
firstAttribute=
"top"
secondItem=
"hHT-Lc-Rw7"
secondAttribute=
"bottom"
constant=
"4"
id=
"GDt-xK-IA5"
/>
<constraint
firstItem=
"DaE-WI-yfD"
firstAttribute=
"leading"
secondItem=
"Zcd-lU-WbJ"
secondAttribute=
"trailing"
constant=
"8"
id=
"KRk-vx-o7l"
/>
<constraint
firstItem=
"Zcd-lU-WbJ"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
constant=
"16"
id=
"PX5-9R-fah"
/>
<constraint
firstItem=
"co7-Ei-ydh"
firstAttribute=
"top"
secondItem=
"DaE-WI-yfD"
secondAttribute=
"bottom"
constant=
"8"
id=
"Wnj-j7-U0z"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"DaE-WI-yfD"
secondAttribute=
"trailing"
constant=
"16"
id=
"cwe-Xf-rsT"
/>
<constraint
firstItem=
"GT6-a9-vaj"
firstAttribute=
"leading"
secondItem=
"iN0-l3-epB"
secondAttribute=
"leading"
constant=
"16"
id=
"doH-wQ-96y"
/>
<constraint
firstItem=
"zEH-Ql-gw6"
firstAttribute=
"leading"
secondItem=
"Zcd-lU-WbJ"
secondAttribute=
"trailing"
constant=
"8"
id=
"hOk-9R-1no"
/>
<constraint
firstItem=
"hHT-Lc-Rw7"
firstAttribute=
"leading"
secondItem=
"Zcd-lU-WbJ"
secondAttribute=
"trailing"
constant=
"8"
id=
"mgD-4F-AiD"
/>
<constraint
firstItem=
"GT6-a9-vaj"
firstAttribute=
"top"
secondItem=
"iN0-l3-epB"
secondAttribute=
"top"
id=
"wPd-kl-A9Q"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"trailing"
secondItem=
"hHT-Lc-Rw7"
secondAttribute=
"trailing"
constant=
"18"
id=
"zWY-aK-vI9"
/>
</constraints>
<freeformSimulatedSizeMetrics
key=
"simulatedDestinationMetrics"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"vUN-kp-3ea"
/>
<connections>
<outlet
property=
"bodyView"
destination=
"DaE-WI-yfD"
id=
"a1T-Rh-e3t"
/>
<outlet
property=
"callToActionView"
destination=
"co7-Ei-ydh"
id=
"jUA-na-obs"
/>
<outlet
property=
"headlineView"
destination=
"hHT-Lc-Rw7"
id=
"sVq-Tb-0Ts"
/>
<outlet
property=
"iconView"
destination=
"Zcd-lU-WbJ"
id=
"N8t-b9-lyZ"
/>
<outlet
property=
"separator"
destination=
"GT6-a9-vaj"
id=
"6fa-yz-bAC"
/>
<outlet
property=
"sponsoredLabel"
destination=
"qjm-wT-8Rw"
id=
"M2U-dH-CQm"
/>
<outlet
property=
"sponsoredLabelContainerView"
destination=
"zEH-Ql-gw6"
id=
"Yj1-T1-Wvp"
/>
</connections>
<point
key=
"canvasLocation"
x=
"118.84057971014494"
y=
"81.696428571428569"
/>
</view>
</objects>
</document>
1Weather/Ads/Native/StoriesNativeAd.swift
deleted
100644 → 0
View file @
2d06a627
//
// NativeAd.swift
// BaconReader
//
// Created by Sharad D on 16/09/19.
// Copyright © 2019 OneLouder Apps. All rights reserved.
//
import
Foundation
import
GoogleMobileAds
//
//class StoriesNativeAd : GADNativeAdView {
// static let AD_SIZE = CGSize(width: 320.0, height: 135.0)
//
// @IBOutlet weak var sponsoredLabel: UILabel!
// @IBOutlet weak var separator: UIView!
// @IBOutlet weak var sponsoredLabelContainerView: UIView!
//
// override var nativeAd: GADNativeAd? {
// didSet {
// setupNativeAdView()
// }
// }
//
// class func nibForAd() -> UINib! {
//
// //TODO: Temporary, update constraints instead of creating new file
// if UserDefaults.standard.bool(for: Setting.leftHandMode) {
// return UINib(nibName: "StoriesLeftNativeAd", bundle: nil)
// } else {
// return UINib(nibName: "StoriesNativeAd", bundle: nil)
// }
// }
//
// override func awakeFromNib() {
// super.awakeFromNib()
//
// sponsoredLabelContainerView.layer.cornerRadius = 4
//
// NotificationCenter.default.addObserver(self, selector: #selector(updateUI), name: NSNotification.Name(rawValue: kNotificationThemeChanged), object: nil)
//
// }
//
//
// static let desiredAssets : NSSet =
// NSSet(arrayLiteral: kAdIconImageKey, kAdTitleKey, kAdTextKey, kAdCTATextKey)
//
// override func willMove(toSuperview newSuperview: UIView?) {
// super.willMove(toSuperview: newSuperview)
// updateUI()
// }
//
// fileprivate func cellBackgorundColor() -> UIColor {
// var bgColor: UIColor
//
// let theme = BRThemeType(rawValue: Settings.shared.theme)!
// switch theme {
// case .dark:
// bgColor = UIColor(red: 17, green: 17, blue: 17)
// default:
// bgColor = UIColor(red: 247, green: 247, blue: 247)
// }
//
// return bgColor
// }
//
// private func setupNativeAdView() {
// (bodyView as? UILabel)?.text = nativeAd?.body
// (headlineView as? UILabel)?.text = nativeAd?.headline
// (iconView as? UIImageView)?.image = nativeAd?.icon?.image
// (callToActionView as? UILabel)?.text = nativeAd?.callToAction
// }
//
// @objc private func updateUI() {
//
// let sharedTheme = BRThemeManager.sharedTheme
//
// let isCompact = UserDefaults.standard.bool(for: Setting.compactMode) ;
// if isCompact {
// self.separator.heightAnchor.constraint(equalToConstant: 1.0).isActive = true
// }
// self.separator.backgroundColor = isCompact ? sharedTheme.tableViewSeparatorColor() : sharedTheme.commentSeparatorColor()
//
//
// self.backgroundColor = cellBackgorundColor()
//
// (headlineView as? UILabel)?.textColor = sharedTheme.primaryTextColor()
// (bodyView as? UILabel)?.textColor = sharedTheme.secondaryTextColor()
//
// sponsoredLabel.font = BRThemeManager.sharedTheme.storiesSubredditFont()
//
// (callToActionView as? UILabel)?.textColor = sharedTheme.secondaryTextColor()
//
// #if DEBUG
// if UserDefaults.standard.bool(for: Setting.enableAdLogging) {
// self.debugBorder(UIColor.green)
// }
// #endif
// }
//}
1Weather/Ads/Native/StoriesNativeAd.xib
deleted
100644 → 0
View file @
2d06a627
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17156"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17125"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<view
contentMode=
"scaleToFill"
id=
"iN0-l3-epB"
customClass=
"StoriesNativeAd"
customModule=
"BaconReader"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"150"
/>
<autoresizingMask
key=
"autoresizingMask"
widthSizable=
"YES"
heightSizable=
"YES"
/>
<subviews>
<view
hidden=
"YES"
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"GT6-a9-vaj"
>
<rect
key=
"frame"
x=
"16"
y=
"0.0"
width=
"304"
height=
"0.0"
/>
<color
key=
"backgroundColor"
red=
"0.93725490196078431"
green=
"0.93725490196078431"
blue=
"1"
alpha=
"1"
colorSpace=
"calibratedRGB"
/>
<constraints>
<constraint
firstAttribute=
"height"
id=
"hue-AI-6ZU"
/>
</constraints>
</view>
<view
clipsSubviews=
"YES"
contentMode=
"scaleToFill"
placeholderIntrinsicWidth=
"55.5"
placeholderIntrinsicHeight=
"12"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Ghv-7E-DWK"
>
<rect
key=
"frame"
x=
"16"
y=
"12"
width=
"63.5"
height=
"16"
/>
<subviews>
<label
opaque=
"NO"
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Sponsored"
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"qjm-wT-8Rw"
>
<rect
key=
"frame"
x=
"4"
y=
"2"
width=
"55.5"
height=
"12"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<fontDescription
key=
"fontDescription"
type=
"boldSystem"
pointSize=
"10"
/>
<color
key=
"textColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<color
key=
"backgroundColor"
red=
"0.086274509799999996"
green=
"0.3411764706"
blue=
"0.64705882349999999"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"qjm-wT-8Rw"
secondAttribute=
"trailing"
constant=
"4"
id=
"OQs-ee-qDe"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"qjm-wT-8Rw"
secondAttribute=
"bottom"
constant=
"2"
id=
"cUz-HN-lqe"
/>
<constraint
firstItem=
"qjm-wT-8Rw"
firstAttribute=
"top"
secondItem=
"Ghv-7E-DWK"
secondAttribute=
"top"
constant=
"2"
id=
"g4k-tu-2Pb"
/>
<constraint
firstItem=
"qjm-wT-8Rw"
firstAttribute=
"leading"
secondItem=
"Ghv-7E-DWK"
secondAttribute=
"leading"
constant=
"4"
id=
"gW0-Mi-Dev"
/>
</constraints>
</view>
<imageView
clipsSubviews=
"YES"
userInteractionEnabled=
"NO"
contentMode=
"scaleAspectFit"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Zcd-lU-WbJ"
userLabel=
"adIcon"
>
<rect
key=
"frame"
x=
"244"
y=
"16"
width=
"60"
height=
"60"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"60"
id=
"6fb-gB-UIe"
/>
<constraint
firstAttribute=
"height"
constant=
"60"
id=
"Qki-Mq-XKl"
/>
</constraints>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"TopLeft"
horizontalHuggingPriority=
"251"
horizontalCompressionResistancePriority=
"749"
verticalCompressionResistancePriority=
"749"
text=
"Desc"
lineBreakMode=
"tailTruncation"
numberOfLines=
"5"
baselineAdjustment=
"alignBaselines"
minimumFontSize=
"7"
adjustsFontForContentSizeCategory=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"U8B-WH-Pg0"
>
<rect
key=
"frame"
x=
"16"
y=
"67"
width=
"212"
height=
"16"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
white=
"0.33333333333333331"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"Title"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
numberOfLines=
"0"
baselineAdjustment=
"alignBaselines"
minimumFontSize=
"9"
adjustsLetterSpacingToFitWidth=
"YES"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"wBR-ft-sY5"
userLabel=
"titleLabel"
>
<rect
key=
"frame"
x=
"16"
y=
"42.5"
width=
"212"
height=
"20.5"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
weight=
"semibold"
pointSize=
"17"
/>
<color
key=
"textColor"
white=
"0.0"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<nil
key=
"highlightedColor"
/>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"center"
verticalHuggingPriority=
"251"
horizontalCompressionResistancePriority=
"749"
text=
""
textAlignment=
"center"
lineBreakMode=
"tailTruncation"
numberOfLines=
"2"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"sJF-OY-AlZ"
>
<rect
key=
"frame"
x=
"304"
y=
"134"
width=
"0.0"
height=
"0.0"
/>
<fontDescription
key=
"fontDescription"
name=
".AppleSystemUIFont"
family=
".AppleSystemUIFont"
pointSize=
"15"
/>
<color
key=
"textColor"
white=
"0.66666666666666663"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<nil
key=
"highlightedColor"
/>
</label>
</subviews>
<viewLayoutGuide
key=
"safeArea"
id=
"vUN-kp-3ea"
/>
<color
key=
"backgroundColor"
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<constraints>
<constraint
firstItem=
"Zcd-lU-WbJ"
firstAttribute=
"leading"
secondItem=
"wBR-ft-sY5"
secondAttribute=
"trailing"
constant=
"16"
id=
"0e8-9z-2vV"
/>
<constraint
firstItem=
"U8B-WH-Pg0"
firstAttribute=
"top"
secondItem=
"wBR-ft-sY5"
secondAttribute=
"bottom"
constant=
"4"
id=
"2wA-y3-Q44"
/>
<constraint
firstItem=
"Zcd-lU-WbJ"
firstAttribute=
"top"
secondItem=
"GT6-a9-vaj"
secondAttribute=
"bottom"
constant=
"16"
id=
"5QM-N6-yc5"
/>
<constraint
firstItem=
"U8B-WH-Pg0"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
constant=
"16"
id=
"6VA-cN-0b6"
/>
<constraint
firstItem=
"Zcd-lU-WbJ"
firstAttribute=
"leading"
secondItem=
"U8B-WH-Pg0"
secondAttribute=
"trailing"
constant=
"16"
id=
"93B-vj-Gs5"
/>
<constraint
firstItem=
"sJF-OY-AlZ"
firstAttribute=
"top"
relation=
"greaterThanOrEqual"
secondItem=
"Zcd-lU-WbJ"
secondAttribute=
"bottom"
constant=
"8"
id=
"D2c-Z1-yTJ"
/>
<constraint
firstItem=
"Zcd-lU-WbJ"
firstAttribute=
"leading"
relation=
"greaterThanOrEqual"
secondItem=
"iN0-l3-epB"
secondAttribute=
"trailing"
constant=
"-76"
id=
"Ea7-XE-D0E"
/>
<constraint
firstItem=
"Ghv-7E-DWK"
firstAttribute=
"leading"
secondItem=
"iN0-l3-epB"
secondAttribute=
"leading"
constant=
"16"
id=
"QUs-cr-nVf"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"bottom"
secondItem=
"sJF-OY-AlZ"
secondAttribute=
"bottom"
constant=
"16"
id=
"Qe1-cX-qyW"
/>
<constraint
firstItem=
"Zcd-lU-WbJ"
firstAttribute=
"trailing"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"trailing"
constant=
"-16"
id=
"VqL-pY-cAY"
/>
<constraint
firstItem=
"Ghv-7E-DWK"
firstAttribute=
"top"
secondItem=
"GT6-a9-vaj"
secondAttribute=
"bottom"
constant=
"12"
id=
"coU-2X-jKZ"
/>
<constraint
firstItem=
"wBR-ft-sY5"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
constant=
"16"
id=
"eCp-Cy-Lzm"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"GT6-a9-vaj"
secondAttribute=
"trailing"
id=
"eT4-PF-VvJ"
/>
<constraint
firstItem=
"vUN-kp-3ea"
firstAttribute=
"bottom"
relation=
"greaterThanOrEqual"
secondItem=
"U8B-WH-Pg0"
secondAttribute=
"bottom"
constant=
"16"
id=
"k3b-zt-hNq"
/>
<constraint
firstItem=
"sJF-OY-AlZ"
firstAttribute=
"trailing"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"trailing"
constant=
"-16"
id=
"l61-h4-EAP"
/>
<constraint
firstItem=
"GT6-a9-vaj"
firstAttribute=
"top"
secondItem=
"iN0-l3-epB"
secondAttribute=
"top"
id=
"wPd-kl-A9Q"
/>
<constraint
firstItem=
"wBR-ft-sY5"
firstAttribute=
"top"
secondItem=
"Ghv-7E-DWK"
secondAttribute=
"bottom"
constant=
"14.5"
id=
"xT3-JR-J3i"
/>
<constraint
firstItem=
"GT6-a9-vaj"
firstAttribute=
"leading"
secondItem=
"vUN-kp-3ea"
secondAttribute=
"leading"
constant=
"16"
id=
"yEm-Lw-IaJ"
/>
</constraints>
<freeformSimulatedSizeMetrics
key=
"simulatedDestinationMetrics"
/>
<connections>
<outlet
property=
"bodyView"
destination=
"U8B-WH-Pg0"
id=
"c1B-0S-zjE"
/>
<outlet
property=
"callToActionView"
destination=
"sJF-OY-AlZ"
id=
"7Hw-Wa-rhY"
/>
<outlet
property=
"headlineView"
destination=
"wBR-ft-sY5"
id=
"dTr-tj-H4P"
/>
<outlet
property=
"iconView"
destination=
"Zcd-lU-WbJ"
id=
"L5F-j9-iyW"
/>
<outlet
property=
"separator"
destination=
"GT6-a9-vaj"
id=
"P08-Jb-Dex"
/>
<outlet
property=
"sponsoredLabel"
destination=
"qjm-wT-8Rw"
id=
"xn4-tZ-7mj"
/>
<outlet
property=
"sponsoredLabelContainerView"
destination=
"Ghv-7E-DWK"
id=
"05s-mR-tuf"
/>
</connections>
<point
key=
"canvasLocation"
x=
"137.68115942028987"
y=
"78.348214285714278"
/>
</view>
</objects>
</document>
1Weather/Ads/Native/StoriesNativeAdCell.swift
deleted
100644 → 0
View file @
2d06a627
//
// StoriesNativeAdCell.swift
// BaconReader
//
// Created by Rishab Dutta on 27/07/20.
// Copyright © 2020 OneLouder Apps. All rights reserved.
//
import
UIKit
import
GoogleMobileAds
//
//class StoriesNativeAdCell: UICollectionViewCell {
//
// private var separatorHeight: CGFloat { return (UserDefaults.standard.bool(for: Setting.compactMode)) ? 1.0 : 7.0 }
//
//
// private lazy var separatorView: UIView = {
// let sv = UIView()
// sv.translatesAutoresizingMaskIntoConstraints = false
// sv.backgroundColor = (UserDefaults.standard.bool(for: Setting.compactMode)) ? BRThemeManager.sharedTheme.tableViewSeparatorColor() : BRThemeManager.sharedTheme.commentSeparatorColor()
//
// return sv
// }()
//
// private var separatorViewHeightConstraint: NSLayoutConstraint!
//
// var nativeAdView: StoriesNativeAd?
//
// var bannerAdContainerView: UIView = {
// let bView = UIView()
// bView.translatesAutoresizingMaskIntoConstraints = false
// bView.clipsToBounds = false
// return bView
// }()
//
// var nativeAdItem: NativeAdItem? {
// didSet {
//
// guard let adItem = nativeAdItem else { return }
// switch adItem.adType {
// case .native:
// nativeAdView?.nativeAd = nativeAdItem?.nativeAd
// nativeAdView?.isHidden = false
// bannerAdContainerView.isHidden = true
// case .banner:
// let bannerView = nativeAdItem?.bannerAd ?? GAMBannerView()
// addToContainer(bannerView)
// bannerView.clipsToBounds = false
// addShadow(bannerAd: bannerView)
//
// bannerAdContainerView.isHidden = false
// nativeAdView?.isHidden = true
// }
// }
// }
//
// override func awakeFromNib() {
// super.awakeFromNib()
// contentView.addSubview(separatorView)
// contentView.addSubview(bannerAdContainerView)
//
// addNativeAdToSubview()
// addBannerToSubview()
//
// NotificationCenter.default.addObserver(self, selector: #selector(updateUI), name: NSNotification.Name(rawValue: kNotificationThemeChanged), object: nil)
// }
//
//
//
// private func addBannerToSubview() {
// separatorViewHeightConstraint = separatorView.heightAnchor.constraint(equalToConstant: separatorHeight)
// NSLayoutConstraint.activate([
// separatorView.leadingAnchor.constraint(equalTo: contentView.leadingAnchor, constant: 16.0),
// separatorView.topAnchor.constraint(equalTo: contentView.topAnchor),
// separatorView.trailingAnchor.constraint(equalTo: contentView.trailingAnchor),
// separatorViewHeightConstraint,
//
// bannerAdContainerView.widthAnchor.constraint(equalToConstant: 320),
// bannerAdContainerView.heightAnchor.constraint(equalToConstant: 50),
// bannerAdContainerView.centerXAnchor.constraint(equalTo: contentView.centerXAnchor),
// bannerAdContainerView.centerYAnchor.constraint(equalTo: contentView.centerYAnchor),
// ])
// }
//
// private func addToContainer(_ bannerView: GAMBannerView) {
// bannerAdContainerView.subviews.forEach { (subview) in
// subview.removeFromSuperview()
// }
//
// bannerAdContainerView.addSubview(bannerView)
// bannerView.translatesAutoresizingMaskIntoConstraints = false
//
// NSLayoutConstraint.activate([
// bannerView.topAnchor.constraint(equalTo: bannerAdContainerView.topAnchor),
// bannerView.leadingAnchor.constraint(equalTo: bannerAdContainerView.leadingAnchor),
// bannerView.bottomAnchor.constraint(equalTo: bannerAdContainerView.bottomAnchor),
// bannerView.trailingAnchor.constraint(equalTo: bannerAdContainerView.trailingAnchor),
// ])
// }
//
// func addNativeAdToSubview() {
// nativeAdView?.subviews.forEach({ (subview) in
// subview.removeFromSuperview()
// })
//
// nativeAdView = StoriesNativeAd.nibForAd()?.instantiate(withOwner: self, options: nil).first as? StoriesNativeAd
// if let nav = nativeAdView {
// nav.translatesAutoresizingMaskIntoConstraints = false
// contentView.addSubview(nav)
// NSLayoutConstraint.activate([
// nav.topAnchor.constraint(equalTo: separatorView.bottomAnchor),
// nav.leadingAnchor.constraint(equalTo: contentView.leadingAnchor),
// nav.bottomAnchor.constraint(equalTo: contentView.bottomAnchor),
// nav.trailingAnchor.constraint(equalTo: contentView.trailingAnchor),
// ])
// }
// }
//
// private func addShadow(bannerAd: GAMBannerView) {
// let theme = BRThemeType(rawValue: Settings.shared.theme)!
//
// var shadowColor: UIColor = UIColor()
// switch theme {
// case .default:
// shadowColor = .black
// case .dark:
// shadowColor = .white
// case .light:
// shadowColor = .black
// }
// bannerAd.addShadow(with: shadowColor, alpha: 0.5, radius: 5, offset: .zero)
// }
//
// @objc private func updateUI() {
// let isCompact = UserDefaults.standard.bool(for: Setting.compactMode) ;
//
// if isCompact {
// separatorViewHeightConstraint.constant = 1
// }
//
// separatorView.backgroundColor = isCompact ? BRThemeManager.sharedTheme.tableViewSeparatorColor() : BRThemeManager.sharedTheme.commentSeparatorColor()
//
// if let bannerView = bannerAdContainerView.subviews.first as? GAMBannerView {
// addShadow(bannerAd: bannerView)
// }
// }
//}
1Weather/Ads/Native/StoriesNativeAdCell.xib
deleted
100644 → 0
View file @
2d06a627
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"16097"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
<capability
name=
"collection view cell content view"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<collectionViewCell
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
reuseIdentifier=
"StoriesNativeAdCell"
id=
"wT6-Hq-asB"
customClass=
"StoriesNativeAdCell"
customModule=
"BaconReader"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"50"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<collectionViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
insetsLayoutMarginsFromSafeArea=
"NO"
id=
"go0-GN-nZN"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"50"
height=
"50"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
</collectionViewCellContentView>
<point
key=
"canvasLocation"
x=
"58"
y=
"-129"
/>
</collectionViewCell>
</objects>
</document>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment