Skip to content

Commit

Permalink
Fix missing image reference from xib (#203)
Browse files Browse the repository at this point in the history
### Description

Before this fix the following console message was logged
```
2024-04-03 15:19:52.728231-0400 Demo[79878:948336] Could not load the "maki/home" image referenced from a nib in the bundle with identifier "com.mapbox.MapboxSearchUIResources"
2024-04-03 15:19:52.731094-0400 Demo[79878:948336] Could not load the "maki/home" image referenced from a nib in the bundle with identifier "com.mapbox.MapboxSearchUIResources"
```

### Checklist
- [NA] Update `CHANGELOG`

#### Screenshots

| Before | After |
| -- | -- |
| <img width="487" alt="Screenshot 2024-04-03 at 15 22 43" src="https://github.com/mapbox/mapbox-search-ios/assets/384288/8db27958-1fca-4c6b-98f0-0050d0fab383"> | <img width="488" alt="Screenshot 2024-04-03 at 15 22 49" src="https://github.com/mapbox/mapbox-search-ios/assets/384288/96d7fe17-6c27-4293-bb2c-141f2bfa914f"> |
  • Loading branch information
aokj4ck authored Apr 9, 2024
1 parent 2ed6263 commit 284487b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/MapboxSearchUI/UserFavoriteCell.xib
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_0" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand All @@ -17,7 +17,7 @@
<rect key="frame" x="0.0" y="0.0" width="396" height="76"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="251" image="maki/home" translatesAutoresizingMaskIntoConstraints="NO" id="jnc-xf-Ie9">
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="251" image="home" translatesAutoresizingMaskIntoConstraints="NO" id="jnc-xf-Ie9">
<rect key="frame" x="10" y="26" width="24" height="24"/>
<color key="tintColor" name="mapbox icon tint"/>
<constraints>
Expand Down Expand Up @@ -76,7 +76,7 @@
</tableViewCell>
</objects>
<resources>
<image name="maki/home" width="24" height="24"/>
<image name="home" width="15" height="15"/>
<image name="more icon" width="15" height="4"/>
<namedColor name="mapbox background">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
Expand Down

0 comments on commit 284487b

Please sign in to comment.