Feb 10, 2015 12:59
How would I get the subtitles on the cell?

let cell: UITableViewCell = tableView.dequeueReusableCellWithIdentifier("MyTestCell", forIndexPath: indexPath) as UITableViewCell

When adding the "style: UITableViewCellStyle.Subtitle" an error says I'm using to many parameters
Feb 10, 2015 12:58
one more question if that's okey
Feb 10, 2015 12:56
Yes
Feb 10, 2015 12:55
I'll reward you with the bounty
Feb 10, 2015 12:55
Wow, awesome Ronny. I'll remove that implementation and replace it with just indexPath.row then
Feb 10, 2015 12:52
got it
Feb 10, 2015 12:50
Feb 10, 2015 12:50
Wierd, could you try to send me the project?
Feb 10, 2015 12:46
Is my segue alright you think?
Feb 10, 2015 12:45
no
Feb 10, 2015 12:45
That is where I'm am now, it's just those table cells that won't respond to my actions
Feb 10, 2015 12:44
Done
Feb 10, 2015 12:42
That is done
Feb 10, 2015 12:41
Oh, but I would still be able to push the data? or?
Feb 10, 2015 12:36
I've just cleaned the project. And when I click a cell it just gets selected, i'm not being pushed to the RestaurantViewController
Feb 10, 2015 12:33
It's in my gist over here:

https://gist.github.com/jackbillstrom/217f1fdcd62b15437c72
Feb 10, 2015 12:21
is that self.tableData = resultswhich jams everything up right now
Feb 10, 2015 12:20
The function looks like this:

dispatch_async(dispatch_get_main_queue(), {
self.tableData = results
UIApplication.sharedApplication().networkActivityIndicatorVisible = false
self.redditListTableView!.reloadData()
})
Feb 10, 2015 12:20
And that´s this /Users/jackbillstrom/Documents/untitled folder/DalaLunch/DalaLunch/AutomaticCitySelectionViewController.swift:54:38: 'NSArray' is not convertible to 'NSDictionary'
Feb 10, 2015 12:19
I just get one error when doing as you said
Feb 10, 2015 12:16
Hi there
Feb 10, 2015 12:15
So, on some lines down we have func tableView(tableView: UITableView!, numberOfRowsInSection section: Int) -> Int { return tableData.count } My application breaks here, should I somehow try to nest out arrays and return them?
Feb 10, 2015 12:15
AutomaticCitySelectionViewController
Feb 10, 2015 12:15
I get an error on line 54: self.tableData = results as NSDictionary!. The error is: 'NSDictionary' is not convertible to 'NSArray'
 
Feb 10, 2015 07:51
@TammoFreese
Feb 10, 2015 07:03
On all lines?
Feb 9, 2015 15:56
But then I guess I need to change some functions as well to get the JSON-parsing to work? ..
Feb 9, 2015 15:56
I replaced that of course, so the main problem is currentResponse? How should I store the data then? Suggestion?
Feb 9, 2015 15:56
currentResponse is a NSArray which gets populated with data, which on the other hand populates the table.
Feb 9, 2015 15:56
No, if I comment out prepareForSegue the controller shows correctly, but without data. With the prepareForSegue the app just crashes when I click a row.
Feb 9, 2015 15:56
<DalaLunch.RestaurantViewController: 0x7ffb99492400>is my output now
Feb 9, 2015 15:56
Link to my Xcode project
Feb 9, 2015 15:56
My console outputs (lldb) and Thread 1 opens up (swift_dynamicCastObjCClassUnconditional).
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Jul 24, 2013 21:28
I will check it out guys, cheers!
Jul 24, 2013 21:27
@OctavianDamiean I meant like exporting the routes. Not map layers, I will continue to google!
Jul 24, 2013 21:25
Hi! Does someone know about any webservice where you can draw routes on a map and export these to XML or JSON? :)
Jun 17, 2013 17:46
Hi!
Someone with some XML API skills?
Jun 2, 2013 16:58
Zirak: Checked but everything looked well, and I got the unicorn. Everything alright now however
Jun 2, 2013 16:57
Nvm
May 30, 2013 20:00
@Jhawinsss The part about the need to take a drink
May 30, 2013 19:57
You talk like my mom @Shmiddty
May 30, 2013 19:56
Yes sir
May 30, 2013 19:55
I'm trying to earn back my -100 bounty :/
May 30, 2013 19:55
@Jhawinsss +1
Could someone link a "Community wiki post"?:)
May 30, 2013 19:53
I really don't see "Wiki" on Stack..
http://stackoverflow.com/badges/254/tag-editor
May 30, 2013 19:49
I need a drink...
May 30, 2013 19:45
At my office, I just gets designs on my tables, making them into web and sometimes small adjustments. No office hours, and I finnish school 2014. Baylife
May 30, 2013 19:39
I study and workes besides my studies, no taxes over here mates ;)
May 30, 2013 19:36
At the office @Jhawinsss
May 30, 2013 19:35
@Jhawinsss what do you work with?