From c6f90fe85a2aca961bb42adb3f50d2a6b3e0e532 Mon Sep 17 00:00:00 2001 From: Javier Heisekce Date: Wed, 8 Apr 2020 09:31:33 -0400 Subject: [PATCH] Cambios iniciales para search bar --- ContactsApp/Base.lproj/Main.storyboard | 14 ++++++++++++-- ContactsApp/ContactsViewController.swift | 1 + 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ContactsApp/Base.lproj/Main.storyboard b/ContactsApp/Base.lproj/Main.storyboard index 5a1b67a..e173c10 100644 --- a/ContactsApp/Base.lproj/Main.storyboard +++ b/ContactsApp/Base.lproj/Main.storyboard @@ -16,7 +16,7 @@ - + @@ -33,11 +33,21 @@ + + + + + + + + - + + + diff --git a/ContactsApp/ContactsViewController.swift b/ContactsApp/ContactsViewController.swift index e625e06..2c61544 100644 --- a/ContactsApp/ContactsViewController.swift +++ b/ContactsApp/ContactsViewController.swift @@ -21,6 +21,7 @@ class ContactsViewController: UIViewController { contactsTable.register(UINib(nibName: "ContactSection", bundle: nil), forHeaderFooterViewReuseIdentifier: "headerId") importContacts() contactsTable.tableFooterView = UIView(frame: .zero) + searchBar.placeholder = NSLocalizedString("Nombre...", comment: "") } func importContacts() { -- libgit2 0.26.0