Skip to content
This repository has been archived by the owner on Nov 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #24 from smartmobilefactory/master
Browse files Browse the repository at this point in the history
New app version 3.0.3
  • Loading branch information
tschob committed Sep 23, 2016
2 parents a01c63b + f1695a0 commit 28ce76d
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 20 deletions.
3 changes: 3 additions & 0 deletions Core/Controller/Credit/WMProblemReportViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ @interface WMProblemReportViewController()
@property (weak, nonatomic) IBOutlet UITextView *textArea;
@property (weak, nonatomic) IBOutlet UIButton *sendButton;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomLayoutContraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *buttonBottomLayoutContraint;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;

@end
Expand Down Expand Up @@ -120,6 +121,7 @@ -(void)keyboardWillShow: (NSNotification *)notification
float keyboardHeight = [keyboardSizeValue CGRectValue].size.height;
float scrollOffset = (self.infoLabel.frameY + self.infoLabel.frameHeight);
self.bottomLayoutContraint.constant = keyboardHeight;
self.buttonBottomLayoutContraint.constant = (keyboardHeight + K_REPORT_BOTTOM_MARGIN);

[UIView animateWithDuration:[notification.userInfo[UIKeyboardAnimationDurationUserInfoKey] doubleValue] animations:^{
[self.view layoutIfNeeded];
Expand All @@ -130,6 +132,7 @@ -(void)keyboardWillShow: (NSNotification *)notification
-(void)keyboardWillHide: (NSNotification *)notification {

self.bottomLayoutContraint.constant = 0;
self.buttonBottomLayoutContraint.constant = K_REPORT_BOTTOM_MARGIN;
[UIView animateWithDuration:[notification.userInfo[UIKeyboardAnimationDurationUserInfoKey] doubleValue] animations:^{
[self.view layoutIfNeeded];
}];
Expand Down
2 changes: 2 additions & 0 deletions Core/WMConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@

#define K_ANIMATION_DURATION_SHORT 0.3f

#define K_REPORT_BOTTOM_MARGIN 20

#define K_DEFAULT_LATITUDE 52.513
#define K_DEFAULT_LONGITUDE 13.388

Expand Down
2 changes: 1 addition & 1 deletion PLists/Wheelmap-Alpha-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>207</string>
<string>209</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
2 changes: 1 addition & 1 deletion PLists/Wheelmap-Beta-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>207</string>
<string>209</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
2 changes: 1 addition & 1 deletion PLists/Wheelmap-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>207</string>
<string>209</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
17 changes: 10 additions & 7 deletions Resources/Main-iPhone.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -597,20 +597,20 @@
<rect key="frame" x="0.0" y="0.0" width="600" height="531"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="1000" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Djt-1Q-jpg">
<rect key="frame" x="51" y="51" width="499" height="72"/>
<rect key="frame" x="55" y="51" width="491" height="48"/>
<string key="text">Manchmal läuft etws nicht rund. Bitte beschreibe dein Problem damit wir besser werden können. Was genau hast du gemacht? Was hast du erwartet ist das Ergebnis? Was ist stattdessen passiert? Bitte beachte dass Wheelmap ein Open Source Projekt eines gemeinnützigen Vereins ist und wir nur begrenzt Ressourcen haben die App weiter zu entwickeln.</string>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="CG1-hW-lLd">
<rect key="frame" x="30" y="153" width="540" height="268"/>
<rect key="frame" x="30" y="114" width="540" height="331"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
</textView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="W7g-XX-hQk" userLabel="Large Button">
<rect key="frame" x="30" y="451" width="540" height="50"/>
<rect key="frame" x="30" y="460" width="540" height="50"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="50" id="HkW-w9-U2J"/>
<constraint firstAttribute="height" constant="50" id="Tl1-uB-rrV"/>
Expand Down Expand Up @@ -652,8 +652,8 @@
<constraint firstItem="CG1-hW-lLd" firstAttribute="leading" secondItem="Ka1-Ba-gJx" secondAttribute="leading" constant="30" id="FAh-AH-kAZ"/>
<constraint firstItem="Djt-1Q-jpg" firstAttribute="top" secondItem="9Wc-UK-KRJ" secondAttribute="bottom" constant="10" id="MrB-6Q-DV5"/>
<constraint firstItem="CG1-hW-lLd" firstAttribute="top" secondItem="Djt-1Q-jpg" secondAttribute="bottom" constant="30" id="OBp-Nd-LQG"/>
<constraint firstAttribute="bottom" secondItem="W7g-XX-hQk" secondAttribute="bottom" constant="30" id="OMA-gv-Vrt"/>
<constraint firstItem="CG1-hW-lLd" firstAttribute="top" secondItem="Djt-1Q-jpg" secondAttribute="bottom" constant="30" id="Od5-86-eRQ"/>
<constraint firstAttribute="bottom" secondItem="W7g-XX-hQk" secondAttribute="bottom" priority="250" constant="30" id="OMA-gv-Vrt"/>
<constraint firstItem="CG1-hW-lLd" firstAttribute="top" secondItem="Djt-1Q-jpg" secondAttribute="bottom" constant="15" id="Od5-86-eRQ"/>
<constraint firstItem="W7g-XX-hQk" firstAttribute="leading" secondItem="Ka1-Ba-gJx" secondAttribute="leading" constant="30" id="P9J-vF-voB"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="9Wc-UK-KRJ" secondAttribute="trailing" constant="40" id="WPA-bG-aqd"/>
<constraint firstItem="Djt-1Q-jpg" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Ka1-Ba-gJx" secondAttribute="leading" constant="30" id="a43-y2-lQC"/>
Expand All @@ -671,7 +671,7 @@
<constraint firstItem="CG1-hW-lLd" firstAttribute="leading" secondItem="Ka1-Ba-gJx" secondAttribute="leading" constant="30" id="oUf-S6-7f7"/>
<constraint firstAttribute="trailing" secondItem="W7g-XX-hQk" secondAttribute="trailing" constant="30" id="opu-o0-lp6"/>
<constraint firstItem="9Wc-UK-KRJ" firstAttribute="top" secondItem="Ka1-Ba-gJx" secondAttribute="top" priority="250" constant="20" id="qO7-WX-xfN"/>
<constraint firstItem="W7g-XX-hQk" firstAttribute="top" secondItem="CG1-hW-lLd" secondAttribute="bottom" constant="30" id="u6U-dn-jNU"/>
<constraint firstItem="W7g-XX-hQk" firstAttribute="top" secondItem="CG1-hW-lLd" secondAttribute="bottom" constant="15" id="u6U-dn-jNU"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Djt-1Q-jpg" secondAttribute="trailing" constant="50" id="xEw-Cu-W7Q"/>
</constraints>
<variation key="default">
Expand Down Expand Up @@ -708,11 +708,13 @@
<constraints>
<constraint firstAttribute="trailing" secondItem="KbW-Pc-1po" secondAttribute="trailing" id="4t1-Ik-hqq"/>
<constraint firstAttribute="trailing" secondItem="21h-Yx-dVy" secondAttribute="trailing" id="6dN-I0-2A4"/>
<constraint firstItem="qNN-uL-jIl" firstAttribute="top" secondItem="W7g-XX-hQk" secondAttribute="bottom" constant="20" id="9UM-dV-PqV"/>
<constraint firstItem="Ka1-Ba-gJx" firstAttribute="width" secondItem="Ekn-NW-UvA" secondAttribute="width" id="J6B-Z1-zM1"/>
<constraint firstItem="KbW-Pc-1po" firstAttribute="leading" secondItem="Ekn-NW-UvA" secondAttribute="leading" id="Mjv-JT-mju"/>
<constraint firstItem="21h-Yx-dVy" firstAttribute="top" secondItem="KbW-Pc-1po" secondAttribute="bottom" id="P7p-kJ-w6N"/>
<constraint firstItem="KbW-Pc-1po" firstAttribute="top" secondItem="PfU-Sk-kF2" secondAttribute="bottom" id="Uq5-yB-Lxo"/>
<constraint firstItem="qNN-uL-jIl" firstAttribute="top" secondItem="21h-Yx-dVy" secondAttribute="bottom" id="YQZ-P9-JLF"/>
<constraint firstItem="CG1-hW-lLd" firstAttribute="top" relation="greaterThanOrEqual" secondItem="KbW-Pc-1po" secondAttribute="bottom" constant="20" id="Ytu-u2-7ec"/>
<constraint firstItem="Ka1-Ba-gJx" firstAttribute="height" secondItem="Ekn-NW-UvA" secondAttribute="height" constant="-69" id="bRT-Ig-zpy"/>
<constraint firstItem="21h-Yx-dVy" firstAttribute="leading" secondItem="Ekn-NW-UvA" secondAttribute="leading" id="pkX-60-iTS"/>
<constraint firstItem="Ka1-Ba-gJx" firstAttribute="height" secondItem="Ekn-NW-UvA" secondAttribute="height" id="ziR-aY-68l"/>
Expand All @@ -726,6 +728,7 @@
<simulatedStatusBarMetrics key="simulatedStatusBarMetrics" statusBarStyle="lightContent"/>
<connections>
<outlet property="bottomLayoutContraint" destination="YQZ-P9-JLF" id="bsq-kx-iBd"/>
<outlet property="buttonBottomLayoutContraint" destination="9UM-dV-PqV" id="ZZp-rT-w7n"/>
<outlet property="closeButton" destination="3Ol-io-uD6" id="J5i-ZY-CEs"/>
<outlet property="infoLabel" destination="Djt-1Q-jpg" id="lKS-u4-o6t"/>
<outlet property="navBarTitle" destination="N07-Iy-3Tu" id="M7n-Dd-uw9"/>
Expand Down
20 changes: 10 additions & 10 deletions Wheelmap.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3239,7 +3239,7 @@
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 207;
CURRENT_PROJECT_VERSION = 209;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Core/SupportingFiles/Wheelmap-Prefix.pch";
Expand Down Expand Up @@ -3269,7 +3269,7 @@
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Distribution: Smart Mobile Factory GmbH";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Smart Mobile Factory GmbH";
CURRENT_PROJECT_VERSION = 207;
CURRENT_PROJECT_VERSION = 209;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Core/SupportingFiles/Wheelmap-Prefix.pch";
Expand Down Expand Up @@ -3299,7 +3299,7 @@
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 207;
CURRENT_PROJECT_VERSION = 209;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Core/SupportingFiles/Wheelmap-Prefix.pch";
Expand Down Expand Up @@ -3329,7 +3329,7 @@
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Distribution: SOZIALHELDEN e.V. (LY797X36V6)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: SOZIALHELDEN e.V.";
CURRENT_PROJECT_VERSION = 207;
CURRENT_PROJECT_VERSION = 209;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Core/SupportingFiles/Wheelmap-Prefix.pch";
Expand All @@ -3344,8 +3344,8 @@
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = de.sozialhelden.wheelmap.iphone;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "50d7e403-e300-4200-9e3c-3a9e8eaf8d52";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "50d7e403-e300-4200-9e3c-3a9e8eaf8d52";
PROVISIONING_PROFILE = "18980197-c8e9-4f36-9460-b56a39685fc9";
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "18980197-c8e9-4f36-9460-b56a39685fc9";
TARGETED_DEVICE_FAMILY = "1,2";
WRAPPER_EXTENSION = app;
};
Expand All @@ -3364,7 +3364,7 @@
CODE_SIGN_IDENTITY = "";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 207;
CURRENT_PROJECT_VERSION = 209;
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand Down Expand Up @@ -3401,7 +3401,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 207;
CURRENT_PROJECT_VERSION = 209;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_INLINES_ARE_PRIVATE_EXTERN = NO;
Expand All @@ -3427,7 +3427,7 @@
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 207;
CURRENT_PROJECT_VERSION = 209;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Core/SupportingFiles/Wheelmap-Prefix.pch";
Expand Down Expand Up @@ -3457,7 +3457,7 @@
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
CODE_SIGN_IDENTITY = "iPhone Distribution: Smart Mobile Factory GmbH";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution: Smart Mobile Factory GmbH";
CURRENT_PROJECT_VERSION = 207;
CURRENT_PROJECT_VERSION = 209;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Core/SupportingFiles/Wheelmap-Prefix.pch";
Expand Down

0 comments on commit 28ce76d

Please sign in to comment.