2010-11-17

00:42 BigRedPimp joined #geoloqi
00:52 BigRedPimp joined #geoloqi
01:02 verbal joined #geoloqi
08:38 workshop joined #geoloqi
09:51 MarkDilley joined #geoloqi
09:52 MarkDilley joined #geoloqi
10:10 verbal joined #geoloqi
11:59 workshop joined #geoloqi
12:19 workshop joined #geoloqi
12:34 <aaronpk> workshop: quick question about UITabBar if you have a sec
12:34 <workshop> sure
12:39 <aaronpk> in the Geoloqi app in the "Tab Bar Controller" xib file, I click on "Map" and i see "GLMapViewController" in the "Nib Name" of the properties (http://aaron.pk/snip/2010-11-17_1239.png)
12:39 <aaronpk> but,
12:40 <aaronpk> geonotes doesn't have that (http://aaron.pk/snip/2010-11-17_1240.png) so where does it find which view to load?
12:48 <aaronpk> (brb)
13:15 <workshop> aaronpk: what is happening there is an interface builder thing
13:15 <workshop> you can find it one of two ways... one is to switch the main ib window to list view
13:15 <workshop> and then look at the tab bar controller
13:15 <workshop> one sec, pic coming
13:16 <workshop> the other is to inspect the tab item in the view layout
13:16 <workshop> if you select the fourth tab (the class tab, among other things) when selecting the geonote button
13:16 <workshop> you get this
13:17 <workshop> you don't see it the same was as the first tab in teh window
13:17 <workshop> since it's not a flat view controller, but a nav controller subclass
13:17 <workshop> and those just don't list their class name or linked xib the same way
13:20 <workshop> i guess this is a good time to point out that the geonote nav controller is not xib-backed, either
13:20 <workshop> perhaps that's part of it
13:20 <workshop> it's all code
13:20 <workshop> the main reason it's a separate class (GeonoteNavigationController) that doesn't do anything differently was from when i broke things out into tabs
13:21 <workshop> i made those because inevitably, at some point custom stuff will need to get added to that nav VC
13:21 <workshop> and it's clearer in code if each tab has a "master" class responsible, even if it is stock nav VC (for now)
15:16 <@phyre5> @caseorganic Wow. That's awesome! I still think @geoloqi will be the best since it'll have geonotes. Can't wait until official release
15:43 <aaronpk> workshop: ok, that makes sense. What I'm confused about is how the "GeonoteFriendPickerController" class/xib is ever loaded into that screen, it doesn't seem to be referenced anywhere
15:43 <workshop> one sec
15:43 <aaronpk> what I'm trying to do is just start the tab by loading GeonoteMapViewController
15:45 <workshop> that's also in the nib
15:45 <workshop> the friend picker
15:45 <workshop> as the vc embedded in the nav vc
15:45 <aaronpk> oh!
15:45 <workshop> then it's actions push the next vc onto the nav vc stack
15:45 <workshop> how that was likely built was dragging in the friend picker
15:46 <aaronpk> no way! ok...I guess I didn't see that before. I assumed it was all done in code there because the window says "View" instead of "Loaded from ..."
15:46 <aaronpk> well cool, that's all I needed!
15:54 workshop joined #geoloqi
15:54 <workshop> ack, bad connection
15:55 <aaronpk> cool, I got it to work
15:55 <workshop> nice
16:08 <aaronpk> this may be a silly question, but why aren't the methods in GLMapViewController.m declared in the header file? https://github.com/geoloqi/Geoloqi-iPhone/blob/master/Geoloqi/GLMapViewController.h
16:13 <workshop> whoever wrote the class originally missed them, most likely
16:14 <workshop> actually, no
16:14 <workshop> none of them are custom methods
16:14 <workshop> all are either stock vc methods
16:14 <workshop> or delegate methods
16:15 <workshop> that are declared in the delegate protocols
16:15 <workshop> the request ones are part of asihttprequest
16:15 <aaronpk> oh, ok
16:15 <workshop> the locationUpdated is a notification callback
16:15 <aaronpk> aaronpk is learning Objective C
16:15 <workshop> the mapview one is mkmapviewdelegate
16:15 <workshop> no worries :-)
16:15 <aaronpk> but so far I've been able to make a few changes successfully!
16:15 <workshop> cool
16:16 <workshop> i wish i had more time, just slammed lately
16:16 <workshop> or i'd help
16:16 <aaronpk> no problem
16:16 <aaronpk> hm, how is it that with the location switch "off", the map view can still get the user's location?
16:17 <aaronpk> does the map have its own way of putting the blue dot there?
16:18 <workshop> yeah
16:18 <workshop> properly userLocationVisible
16:18 <workshop> if the app has perms, it can show that
16:18 <workshop> that's just a prop on the mapview
16:18 <workshop> the switch is an app-specific thing that controls our poller
16:19 <workshop> so it's not related
16:19 <workshop> *property
16:22 <aaronpk> works! awesome
16:23 <workshop> nice
16:32 <Loqi> 11 files modified, 1 new files, 1 files removed in https://github.com/geoloqi/Geoloqi-iPhone/commits/master by Aaron Parecki
16:32 <aaronpk> wheee!
17:05 workshop joined #geoloqi
17:17 MarkDilley joined #geoloqi
17:39 caseorganic_ joined #geoloqi
18:02 caseorganic1 joined #geoloqi
18:47 caseorganic__ joined #geoloqi
20:04 MarkDilley joined #geoloqi
20:13 MarkDilley joined #geoloqi
20:24 MarkDilley joined #geoloqi
20:25 MarkDilley joined #geoloqi
20:36 <aaronpk> aaronpk is playing with the Settings plist file
21:20 verbal joined #geoloqi