Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
contactos-app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Javier Heisecke
contactos-app
Commits
2c008c5c
Commit
2c008c5c
authored
Apr 08, 2020
by
Javier Heisekce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agrega relacion de delegate para searchbar en view controller
parent
c6f90fe8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
ContactsApp/Base.lproj/Main.storyboard
+1
-0
ContactsApp/ContactsViewController.swift
+1
-0
No files found.
ContactsApp/Base.lproj/Main.storyboard
View file @
2c008c5c
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
<navigationItem
key=
"navigationItem"
id=
"U0h-dc-vbE"
/>
<navigationItem
key=
"navigationItem"
id=
"U0h-dc-vbE"
/>
<connections>
<connections>
<outlet
property=
"contactsTable"
destination=
"dBj-cU-Ugw"
id=
"8YS-LO-fy0"
/>
<outlet
property=
"contactsTable"
destination=
"dBj-cU-Ugw"
id=
"8YS-LO-fy0"
/>
<outlet
property=
"searchBar"
destination=
"2yO-jM-dTD"
id=
"4EW-JC-tfj"
/>
<segue
destination=
"i2T-MY-6qf"
kind=
"show"
identifier=
"gotocontact"
id=
"1Ts-QM-UT7"
/>
<segue
destination=
"i2T-MY-6qf"
kind=
"show"
identifier=
"gotocontact"
id=
"1Ts-QM-UT7"
/>
</connections>
</connections>
</viewController>
</viewController>
...
...
ContactsApp/ContactsViewController.swift
View file @
2c008c5c
...
@@ -11,6 +11,7 @@ import ContactsUI
...
@@ -11,6 +11,7 @@ import ContactsUI
class
ContactsViewController
:
UIViewController
{
class
ContactsViewController
:
UIViewController
{
@IBOutlet
weak
var
searchBar
:
UISearchBar
!
@IBOutlet
weak
var
contactsTable
:
UITableView
!
@IBOutlet
weak
var
contactsTable
:
UITableView
!
var
contactStructArray
=
[
ContactStruct
]()
var
contactStructArray
=
[
ContactStruct
]()
var
contactStruct
:
ContactStruct
?
var
contactStruct
:
ContactStruct
?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment