Skip to content

Commit d1d85a0

Browse files
committed
Updated WorldFacts README
1 parent 7aacdc2 commit d1d85a0

File tree

1 file changed

+24
-33
lines changed

1 file changed

+24
-33
lines changed

WorldFacts/README

Lines changed: 24 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
=======================================================================
22
WorldFacts
33

4+
Version 2.0 16 Feb 2014 Update for iOS 8 and UISearchController
45
Version 1.5 20 Feb 2013 Move core data file to App Support dir
56
Version 1.4 31 Dec 2012 Add default launch images to support retina
67
4 inch display
@@ -10,13 +11,10 @@ Version 1.1 21 June 2012 Add Storyboard segue to country view
1011
Version 1.0 6 June 2012 Initial Version
1112
=======================================================================
1213

13-
The WorldFacts App demonstrates how to use Storyboards to create a
14-
dynamic table view cell using a prototype cell. This is a big
15-
improvement over iOS 4 where it was necessary to design the cell
16-
in a separate NIB and then manually load it and instantiate each
17-
cell.
18-
19-
For further details see:
14+
The WorldFacts App has gone through a number of iterations over the
15+
years as the capabilities of iOS have changed. Originally it started
16+
as an example of how to construct custom table view cells with a
17+
storyboard. For further details see the post:
2018

2119
useyourloaf.com/blog/2012/06/07/prototype-cells-and-storyboards.html
2220

@@ -30,6 +28,20 @@ in the following post:
3028

3129
useyourloaf.com/blog/2012/09/06/search-bar-table-view-storyboard.html
3230

31+
The release of iOS 8 saw a number of changes to update and modernise
32+
the code:
33+
34+
+ UISearchDisplayController is deprecated and replaced by the much
35+
cleaner UISearchController
36+
+ Modules are now used instead of precompiled headers
37+
+ The Storyboard is now universal
38+
+ Include a launch screen storyboard
39+
+ Autolayout is used
40+
+ Dynamic Type is used for the content
41+
+ Asset Catalogs for the icons and images
42+
+ Base Internationalization
43+
+ Remove old orientation handling code.
44+
3345
The geographic data used in this App is from GeoNames and used under
3446
the Creative Commons Attributions License (see www.geonames.org).
3547

@@ -59,27 +71,9 @@ to import an initial set of geographic data from countries.plist.
5971
View
6072
=======================================================================
6173

62-
Country.storyboard
63-
The storyboard file used to create the table view and custom prototype
64-
cell.
74+
Main.storyboard
75+
The universal storyboard file used to create the table and details view
6576

66-
UYLCountryTableViewController.xib
67-
Traditional NIB file used to load the country table view when not using
68-
a storyboard. This NIB file is not used in the final version of the App
69-
but is included for reference. If you want to revert back to
70-
using this NIB you will need to add it to the target.
71-
72-
CountryCell.xib
73-
Traditional NIB file used to create the custom table view cell when not
74-
using a storyboard. This NIB file is not used in the final version of
75-
the App but is included for reference. If you want to revert back to
76-
using this NIB you will need to add it to the target.
77-
78-
UYLCountryViewController.xib
79-
Traditional NIB file used to show the country detail view when not using
80-
a storyboard. This NIB file is not used in the final version of the App
81-
but is included for reference. If you want to revert back to using this
82-
NIB you will need to add it to the target.
8377

8478
=======================================================================
8579
Controllers
@@ -89,12 +83,9 @@ UYLCountryTableViewController.h
8983
UYLCountryTableViewController.m
9084

9185
The table view controller used to show the list of countries with
92-
details on the capital and population in a custom cell layout. The
93-
table view controller implementation is a standard implementation of
94-
an NSFetchResultsController.
95-
96-
The key code showing how the cell NIB is loaded is contained in the
97-
method -tableView:cellForRowAtIndexPath:.
86+
details on the capital and population and manage the search interface.
87+
The table view controller implementation is a standard implementation
88+
of an NSFetchResultsController.
9889

9990
UYLCountryViewController.h
10091
UYLCountryViewController.m

0 commit comments

Comments
 (0)