Skip to content

Commit

Permalink
Version release, updated PinView and 20 new machines (#217)
Browse files Browse the repository at this point in the history
* Updates from website (server_locations)

* data: remove belgium

* fix: rename links in pinViewController (closes #207)

* release new version
  • Loading branch information
jannisborn authored Nov 18, 2023
1 parent d403d77 commit eb7e527
Show file tree
Hide file tree
Showing 5 changed files with 584 additions and 9 deletions.
4 changes: 2 additions & 2 deletions PennyMe.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.11;
MARKETING_VERSION = 1.12;
PRODUCT_BUNDLE_IDENTIFIER = "PennyMe--com.de.pennyme";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
Expand All @@ -521,7 +521,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.11;
MARKETING_VERSION = 1.12;
PRODUCT_BUNDLE_IDENTIFIER = "PennyMe--com.de.pennyme";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.2;
Expand Down
6 changes: 3 additions & 3 deletions PennyMe/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection headerTitle="Comments" id="AG4-72-6Vw">
<tableViewSection headerTitle="Public user comments" id="AG4-72-6Vw">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="Xfc-Oc-NxP">
<rect key="frame" x="0.0" y="555.5" width="375" height="43.5"/>
Expand Down Expand Up @@ -296,7 +296,7 @@
</tableViewCell>
</cells>
</tableViewSection>
<tableViewSection headerTitle="PennyCollector" id="yoa-01-ZMn">
<tableViewSection headerTitle="External link" id="yoa-01-ZMn">
<cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" id="wcD-oI-gR2">
<rect key="frame" x="0.0" y="698.5" width="375" height="44"/>
Expand All @@ -305,7 +305,7 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="More details on pennycollector.com" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wmi-Mj-sEq">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="More details about this machine" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wmi-Mj-sEq">
<rect key="frame" x="16" y="11" width="270.5" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
Expand Down
2 changes: 1 addition & 1 deletion PennyMe/PinViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class PinViewController: UITableViewController, UIImagePickerControllerDelegate,
else if indexPath.section == 4{
//Open the website when you click on the link.
if !pinData.link.contains("http") {
showConfirmationMessage(message: "Sorry! The machine is not available on pennycollector.com!", duration: 2)
showConfirmationMessage(message: "Sorry! No external link available. The machine got created through this app.", duration: 2.5)
} else {
UIApplication.shared.open(URL(string: pinData.link)!)
}
Expand Down
2 changes: 1 addition & 1 deletion PennyMe/VersionManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class VersionManager {

func showVersionInfoAlertIfNeeded() {
if shouldShowVersionInfo() {
let alert = UIAlertController(title: "PennyMe v\(currentVersion ?? "")", message: "Machine information is more up to date now! The app is now synced to pennylocator.com :) Information in this app should become more reliable with this update!", preferredStyle: .alert)
let alert = UIAlertController(title: "PennyMe v\(currentVersion ?? "")", message: "Plenty of new machines and some bugfixes", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: nil))
UIApplication.shared.windows.first?.rootViewController?.present(alert, animated: true, completion: nil)
}
Expand Down
Loading

0 comments on commit eb7e527

Please sign in to comment.