Rensselaer Center for Open Source Software

Wording and comments updates

6 files changed, 10 lines added, 8 lines removed

Changes

--- ios-app/RPI Directory/MasterViewController.m 3e220cbfa296631a7718c7f4fc880882bb95a662
+++ ios-app/RPI Directory/MasterViewController.m 0a8dc2d418b4229bdcde4d2fa294f32c5e558255
@@ -12,8 +12,8 @@
-const NSString *SEARCH_URL = @"http://rpidirectory.appspot.com/api?q=";
-const NSTimeInterval SEARCH_INTERVAL = 3;
+const NSString *SEARCH_URL = @"http://rpidirectory.appspot.com/api?q=";     //  Base search URL
+const NSTimeInterval SEARCH_INTERVAL = 3.0f;                                //  3 seconds
@@ -55,6 +55,8 @@
+    //  Update the array of people on the main thread, when a new array is available.
+    //  Also make both table views reflect the new data.
@@ -81,16 +83,15 @@
-        return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
+        return (interfaceOrientation == UIInterfaceOrientationPortrait);
+//  Asynchronously search for people with the current query.
-    //  Search if the search text has changed since last call,
-    //  then set the timer between searches
@@ -103,7 +104,6 @@
-        NSLog(@"Search URL: %@", searchUrl);
@@ -153,6 +153,8 @@
+//  Search if the search text has changed since last call of this function,
+//  then set the timer between searches.
--- ios-app/RPI Directory/en.lproj/MainStoryboard_iPad.storyboard 3e220cbfa296631a7718c7f4fc880882bb95a662
+++ ios-app/RPI Directory/en.lproj/MainStoryboard_iPad.storyboard 0a8dc2d418b4229bdcde4d2fa294f32c5e558255
@@ -130,7 +130,7 @@
-                    <navigationItem key="navigationItem" title="Search RPI" id="40"/>
+                    <navigationItem key="navigationItem" title="RPI Directory" id="40"/>
--- ios-app/RPI Directory/en.lproj/MainStoryboard_iPhone.storyboard 3e220cbfa296631a7718c7f4fc880882bb95a662
+++ ios-app/RPI Directory/en.lproj/MainStoryboard_iPhone.storyboard 0a8dc2d418b4229bdcde4d2fa294f32c5e558255
@@ -68,7 +68,7 @@
-                    <navigationItem key="navigationItem" title="Search RPI" id="36"/>
+                    <navigationItem key="navigationItem" title="RPI Directory" id="36"/>
RPI Directory App • 61 weeks ago