Skip to content

Commit

Permalink
v0.0.2 (#32)
Browse files Browse the repository at this point in the history
* feat: add decoding capability in case of failure caused due to HTTP status code

Resolves: none.

* feat: override User-Agent HTTP header in session configuration (#26)

Resolves: none.

* Add macOS example (#27)

* feat: move iOS example project into new sub folder

Resolves: none.

* fix: update framework search paths

Resolves: none.

* feat: add empt macOS example project to workspace

Resolves: none.

* fix: update framework scheme name

Resolves: none.

* feat: add files to macOS example directory

Resolves: none.

* fix: apply public access modifier to DefaultHTTPErrorBody and DefaultNetworkAPIError

Resolves: none.

* refactor: add description comment for ProcessInfo extension

Resolves: none.

* fix: add RxNetworkKit bridging header reference

Resolves: none.

* refactor: apply project recommended settings

Resolves: none.

* feat: connect viewModel to tableview UI

Resolves: none.

* feat: complete ViewController class in macOS Example

Resolves: none.

* refactor: remove old un-needed file

Resolves: none.

* fix: apply correct image scale for error view

Resolves: none.

* Apply new version (0.0.2) (#28)

* fix: remove tinted button warning

Resolves: none.

* version: 0.0.2

Resolves: none.

* fix: update version for podSpec file

Resolves: none.

* fix: remove RxDataSources import statement (#31)

Resolves: none.
  • Loading branch information
loay-ashraf committed Aug 24, 2023
1 parent 4e45b38 commit 62a58ac
Show file tree
Hide file tree
Showing 59 changed files with 1,658 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
objects = {

/* Begin PBXBuildFile section */
0B568E5829DEDBEC00E51B21 /* RxNetworkKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B568E5329DED93D00E51B21 /* RxNetworkKit.framework */; };
0B568E5929DEDBEC00E51B21 /* RxNetworkKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 0B568E5329DED93D00E51B21 /* RxNetworkKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
1A78320FA3392498E8F9EA82 /* RxDataSources in Frameworks */ = {isa = PBXBuildFile; productRef = 819F858F2F093441234733F7 /* RxDataSources */; };
39055093EB07D0FE09141EEC /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF62C70BEC0D6E6B113DF07D /* AppDelegate.swift */; };
3AEB576B0CFFB902AAB9A011 /* ViewState.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C3894E572FDCE188F82EDC /* ViewState.swift */; };
Expand All @@ -24,11 +22,13 @@
9083E2B5C56C9978FA9A88AF /* ViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED4C68630CA1328C530E000D /* ViewModel.swift */; };
A592421CEFFDBE0D3F6A504D /* ViewController+NetworkRequestInterceptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 636BE87DD1664C2D7FAECEDF /* ViewController+NetworkRequestInterceptor.swift */; };
BBC4FB455DB9EFC760A182E2 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 23795F79829D049A83D55440 /* Assets.xcassets */; };
C68C3F692A9402DC0036FF9D /* RxNetworkKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C68C3F682A9401960036FF9D /* RxNetworkKit.framework */; };
C68C3F6A2A9402DC0036FF9D /* RxNetworkKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C68C3F682A9401960036FF9D /* RxNetworkKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
DD59F1300712C00933636CC2 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D82BA0503FE7CC526E5586A /* SceneDelegate.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
0B568E5229DED93D00E51B21 /* PBXContainerItemProxy */ = {
C68C3F672A9401960036FF9D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 0B77E0FA29D977390077FBC0 /* RxNetworkKit.xcodeproj */;
proxyType = 2;
Expand All @@ -44,7 +44,7 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
0B568E5929DEDBEC00E51B21 /* RxNetworkKit.framework in Embed Frameworks */,
C68C3F6A2A9402DC0036FF9D /* RxNetworkKit.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -53,7 +53,7 @@

/* Begin PBXFileReference section */
0B568E4C29DED67300E51B21 /* RxNetworkKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = RxNetworkKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
0B77E0FA29D977390077FBC0 /* RxNetworkKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RxNetworkKit.xcodeproj; path = ../RxNetworkKit.xcodeproj; sourceTree = "<group>"; };
0B77E0FA29D977390077FBC0 /* RxNetworkKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RxNetworkKit.xcodeproj; path = ../../RxNetworkKit.xcodeproj; sourceTree = "<group>"; };
0B77E10429D97A3E0077FBC0 /* iOS Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
23795F79829D049A83D55440 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
417337DBE1D0E25D426FCAD6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
Expand All @@ -78,7 +78,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
0B568E5829DEDBEC00E51B21 /* RxNetworkKit.framework in Frameworks */,
C68C3F692A9402DC0036FF9D /* RxNetworkKit.framework in Frameworks */,
1A78320FA3392498E8F9EA82 /* RxDataSources in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -107,14 +107,6 @@
name = Frameworks;
sourceTree = "<group>";
};
0B568E4F29DED93D00E51B21 /* Products */ = {
isa = PBXGroup;
children = (
0B568E5329DED93D00E51B21 /* RxNetworkKit.framework */,
);
name = Products;
sourceTree = "<group>";
};
0B77E10529D97A3E0077FBC0 /* Products */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -181,6 +173,14 @@
path = "View Model";
sourceTree = "<group>";
};
C68C3F642A9401920036FF9D /* Products */ = {
isa = PBXGroup;
children = (
C68C3F682A9401960036FF9D /* RxNetworkKit.framework */,
);
name = Products;
sourceTree = "<group>";
};
EDB69B1E108A08763BE6EEC7 = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -221,8 +221,9 @@
8FDDFD68FFEB45324727C0BA /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastSwiftUpdateCheck = 1420;
LastUpgradeCheck = 1420;
LastUpgradeCheck = 1430;
TargetAttributes = {
26E9FD5EEA5FDD0B3C83D665 = {
DevelopmentTeam = Z3SPAA69G7;
Expand All @@ -246,7 +247,7 @@
projectDirPath = "";
projectReferences = (
{
ProductGroup = 0B568E4F29DED93D00E51B21 /* Products */;
ProductGroup = C68C3F642A9401920036FF9D /* Products */;
ProjectRef = 0B77E0FA29D977390077FBC0 /* RxNetworkKit.xcodeproj */;
},
);
Expand All @@ -258,11 +259,11 @@
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
0B568E5329DED93D00E51B21 /* RxNetworkKit.framework */ = {
C68C3F682A9401960036FF9D /* RxNetworkKit.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = RxNetworkKit.framework;
remoteRef = 0B568E5229DED93D00E51B21 /* PBXContainerItemProxy */;
remoteRef = C68C3F672A9401960036FF9D /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
Expand Down Expand Up @@ -397,7 +398,7 @@
DEVELOPMENT_TEAM = Z3SPAA69G7;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Example",
"$(PROJECT_DIR)",
);
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS Example/App/Info.plist";
Expand All @@ -411,7 +412,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = 0.0.2;
PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitExample;
PRODUCT_NAME = "iOS Example";
SDKROOT = iphoneos;
Expand All @@ -436,7 +437,7 @@
DEVELOPMENT_TEAM = Z3SPAA69G7;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Example",
"$(PROJECT_DIR)",
);
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS Example/App/Info.plist";
Expand All @@ -450,7 +451,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
MARKETING_VERSION = 0.0.2;
PRODUCT_BUNDLE_IDENTIFIER = com.las.RxNetworkKitExample;
PRODUCT_NAME = "iOS Example";
SDKROOT = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1420"
LastUpgradeVersion = "1430"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="MFP-VC-Hv9">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="MFP-VC-Hv9">
<device id="retina6_72" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
Expand All @@ -11,7 +12,7 @@
<!--View Controller-->
<scene sceneID="0oj-bw-Efq">
<objects>
<viewController id="MFP-VC-Hv9" customClass="ViewController" customModule="RxNetworking" customModuleProvider="target" sceneMemberID="viewController">
<viewController id="MFP-VC-Hv9" customClass="ViewController" customModule="iOS_Example" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="pu4-lo-ja0">
<rect key="frame" x="0.0" y="0.0" width="430" height="932"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
Expand All @@ -20,7 +21,7 @@
<rect key="frame" x="0.0" y="59" width="430" height="839"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="customCell" id="1dv-0J-6fB" customClass="TableViewCell" customModule="RxNetworking" customModuleProvider="target">
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="customCell" id="1dv-0J-6fB" customClass="TableViewCell" customModule="iOS_Example" customModuleProvider="target">
<rect key="frame" x="20" y="55.333332061767578" width="390" height="120.33333587646484"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="1dv-0J-6fB" id="Pc4-EB-LPS">
Expand Down Expand Up @@ -80,7 +81,7 @@
</constraints>
</view>
<stackView hidden="YES" opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalSpacing" alignment="center" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="Pay-4h-sOa">
<rect key="frame" x="65" y="343" width="300" height="246.33333333333337"/>
<rect key="frame" x="65" y="345" width="300" height="242"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="xmark.circle" catalog="system" translatesAutoresizingMaskIntoConstraints="NO" id="oLL-N0-H5g">
<rect key="frame" x="86" y="0.99999999999999289" width="128" height="126.66666666666666"/>
Expand All @@ -100,9 +101,9 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4h3-Zs-AIn">
<rect key="frame" x="117.66666666666666" y="212" width="64.666666666666657" height="34.333333333333343"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="tinted" title="Retry"/>
<rect key="frame" x="131.66666666666666" y="212" width="37" height="30"/>
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
<state key="normal" title="Retry"/>
</button>
</subviews>
</stackView>
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 62a58ac

Please sign in to comment.