Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorv.mikhaylenko <v.mikhaylenko@corp.mail.ru>2015-05-21 15:46:10 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:38 +0300
commit279e4649433bcbc06e888d557f77d7dd8708fa98 (patch)
tree2e41fa51f21d070086c2f591287b9ed82cced551 /iphone/Maps/Classes/MWMPlacePageBookmarkCell.mm
parent9d2141ae12860ba6f587c97ca31d3986be2a4b51 (diff)
[ios] Added place page for landscape and portrait iPhone. Improved UI.
Diffstat (limited to 'iphone/Maps/Classes/MWMPlacePageBookmarkCell.mm')
-rw-r--r--iphone/Maps/Classes/MWMPlacePageBookmarkCell.mm18
1 files changed, 9 insertions, 9 deletions
diff --git a/iphone/Maps/Classes/MWMPlacePageBookmarkCell.mm b/iphone/Maps/Classes/MWMPlacePageBookmarkCell.mm
index cf7b710dfe..329ef5b76a 100644
--- a/iphone/Maps/Classes/MWMPlacePageBookmarkCell.mm
+++ b/iphone/Maps/Classes/MWMPlacePageBookmarkCell.mm
@@ -11,15 +11,15 @@
@interface MWMPlacePageBookmarkCell () <UITextViewDelegate>
-@property (weak, nonatomic, readwrite) IBOutlet UITextView *title;
-@property (weak, nonatomic, readwrite) IBOutlet UIButton *categoryButton;
-@property (weak, nonatomic, readwrite) IBOutlet UIButton *markButton;
-@property (weak, nonatomic, readwrite) IBOutlet UITextView *descriptionTextView;
+@property (weak, nonatomic, readwrite) IBOutlet UITextView * title;
+@property (weak, nonatomic, readwrite) IBOutlet UIButton * categoryButton;
+@property (weak, nonatomic, readwrite) IBOutlet UIButton * markButton;
+@property (weak, nonatomic, readwrite) IBOutlet UITextView * descriptionTextView;
-@property (weak, nonatomic) IBOutlet UIView *firstSeparatorView;
-@property (weak, nonatomic) IBOutlet UIView *secondSeparatorView;
+@property (weak, nonatomic) IBOutlet UIView * firstSeparatorView;
+@property (weak, nonatomic) IBOutlet UIView * secondSeparatorView;
-@property (nonatomic) UITextView *activeTextView;
+@property (nonatomic) UITextView * activeTextView;
@end
@@ -36,7 +36,7 @@
name:UIKeyboardWillHideNotification object:nil];
}
-- (void)keyboardWasShown:(NSNotification*)aNotification
+- (void)keyboardWasShown:(NSNotification *)aNotification
{
NSDictionary const * info = [aNotification userInfo];
CGSize const kbSize = [[info objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;
@@ -51,7 +51,7 @@
[self.ownerTableView scrollRectToVisible:self.activeTextView.frame animated:YES];
}
-- (void)keyboardWillBeHidden:(NSNotification*)aNotification
+- (void)keyboardWillBeHidden:(NSNotification *)aNotification
{
UIEdgeInsets const contentInsets = UIEdgeInsetsZero;
self.ownerTableView.contentInset = contentInsets;