Skip to content

Commit 5ae4a97

Browse files
committed
Refactoring.
1 parent e9a9f8a commit 5ae4a97

File tree

2 files changed

+25
-12
lines changed

2 files changed

+25
-12
lines changed

Example/ContainerControllerSwift/Screens/Easy/ExamplesSettings/UI/Cell/TitleTextxCell/TitleTextxCell.xib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
<rect key="frame" x="0.0" y="0.0" width="375" height="64"/>
1717
<autoresizingMask key="autoresizingMask"/>
1818
<subviews>
19-
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Tite" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MbP-dL-b7J">
19+
<label opaque="NO" userInteractionEnabled="NO" alpha="0.29999999999999999" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Tite" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MbP-dL-b7J">
2020
<rect key="frame" x="16" y="12" width="359" height="14"/>
2121
<constraints>
2222
<constraint firstAttribute="height" constant="14" id="ybu-0n-7d1"/>
2323
</constraints>
2424
<fontDescription key="fontDescription" type="system" pointSize="12"/>
25-
<color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
25+
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
2626
<nil key="highlightedColor"/>
2727
</label>
2828
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Subtitle subtitle subtitle" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="erD-8k-fq0">
@@ -54,7 +54,7 @@
5454
</userDefinedRuntimeAttributes>
5555
</view>
5656
</subviews>
57-
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
57+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
5858
<constraints>
5959
<constraint firstAttribute="trailing" secondItem="y4e-nG-Zu6" secondAttribute="trailing" constant="16" id="6tU-aV-NOW"/>
6060
<constraint firstItem="MbP-dL-b7J" firstAttribute="leading" secondItem="Qrk-n6-aPT" secondAttribute="leading" constant="16" id="CVY-pT-bde"/>

Example/ContainerControllerSwift/ViewController.swift

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,30 @@ class ViewController: UIViewController {
5454

5555

5656

57-
TitleTextxItem(title: "Apple app", subtitle: "Maps", clss: MapsViewController.self, img: imggAppleMaps),
58-
TitleTextxItem(title: "Similar +Youtube.Music +Apple.Music", subtitle: "PlayMusic ", clss: PlayMusicViewController.self, img: imggPlayMusic),
57+
TitleTextxItem(title: "+Apple.Maps", subtitle: "🔴 Maps", clss: MapsViewController.self, img: imggAppleMaps),
58+
TitleTextxItem(title: "+Youtube.Music +Apple.Music", subtitle: "🔴 PlayMusic ", clss: PlayMusicViewController.self, img: imggPlayMusic),
5959

6060
TitleTextxItem(title: "Multiple components in 1 screen", subtitle: "Wallets", clss: WalletsViewController.self, img: imgAppWallets1),
61-
TitleTextxItem(subtitle: "Buy Stock", clss: BuyStockViewController.self, img: imgAppBuyStock),
62-
TitleTextxItem(subtitle: "Sport", clss: SporViewController.self, img: imgAppSport),
63-
TitleTextxItem(subtitle: "Taxi", clss: TaxiViewController.self, img: imggTaxi),
64-
TitleTextxItem(subtitle: "Map Parking", clss: MapParkingViewController.self, img: imgAppMapParking),
65-
66-
TitleTextxItem(title: "Multiple components in 1 screen | Animation", subtitle: "Custom Card (Notes)", clss: CustomCardViewController.self, img: imgAppCustomCard),
67-
TitleTextxItem(subtitle: "Crypto", clss: CryptoViewController.self, img: imgAppCrypto),
61+
TitleTextxItem(title:nil, subtitle: "Buy Stock", clss: BuyStockViewController.self, img: imgAppBuyStock),
62+
TitleTextxItem(title:nil, subtitle: "Sport", clss: SporViewController.self, img: imgAppSport),
63+
TitleTextxItem(title:nil, subtitle: "Taxi", clss: TaxiViewController.self, img: imggTaxi),
64+
TitleTextxItem(title:nil, subtitle: "Map Parking", clss: MapParkingViewController.self, img: imgAppMapParking),
65+
66+
TitleTextxItem(title: "Multiple components in 1 screen anim", subtitle: "Custom Card (Notes)", clss: CustomCardViewController.self, img: imgAppCustomCard),
67+
TitleTextxItem(title:nil, subtitle: "Crypto", clss: CryptoViewController.self, img: imgAppCrypto),
68+
69+
70+
// TitleTextxItem(title: "🔴 hard +Apple.Maps", subtitle: "Maps", clss: MapsViewController.self, img: imggAppleMaps),
71+
// TitleTextxItem(title: "🔴 hard +Youtube.Music +Apple.Music", subtitle: "PlayMusic ", clss: PlayMusicViewController.self, img: imggPlayMusic),
72+
//
73+
// TitleTextxItem(title: "🟠 medium | Multiple components in 1 screen", subtitle: "Wallets", clss: WalletsViewController.self, img: imgAppWallets1),
74+
// TitleTextxItem(title:"🟠 medium", subtitle: "Buy Stock", clss: BuyStockViewController.self, img: imgAppBuyStock),
75+
// TitleTextxItem(title:"🟠 medium", subtitle: "Sport", clss: SporViewController.self, img: imgAppSport),
76+
// TitleTextxItem(title:"🟠 medium", subtitle: "Taxi", clss: TaxiViewController.self, img: imggTaxi),
77+
// TitleTextxItem(title:"🟢 easy", subtitle: "Map Parking", clss: MapParkingViewController.self, img: imgAppMapParking),
78+
//
79+
// TitleTextxItem(title: "🟠 medium | Multiple components in 1 screen anim", subtitle: "Custom Card (Notes)", clss: CustomCardViewController.self, img: imgAppCustomCard),
80+
// TitleTextxItem(title:"🟢 easy", subtitle: "Crypto", clss: CryptoViewController.self, img: imgAppCrypto),
6881
]
6982

7083
tableView?.set(items: items, animated: true)

0 commit comments

Comments
 (0)