TableViewCell in Swift?
This should be about right: func tableView(tableView: UITableView, indexPath: NSIndexPath) { let cell = tableView.cellForRowAtIndexPath(indexPath); let cellText = cell.textLabel.text; }
This should be about right: func tableView(tableView: UITableView, indexPath: NSIndexPath) { let cell = tableView.cellForRowAtIndexPath(indexPath); let cellText = cell.textLabel.text; }
if (surfaceArea > 750) //adding 50 dollars to cost if product is //over 750 sq. inches { totalCost t+=50; } make a comment line // . Hope you understood. To write a multi line comment use /* …. */
Make sure you got the latest cocoapods . To check latest pod type pod –version in terminal and make sure its 1.2.0. Even you downloaded the latest Alamofire4 with cocoapods, if your cocoapods is not latest it sometimes download previous version of Alamofire. Check this first, after that use this format : Alamofire.request(url, method: .post, … Read more
Just before your dealloc method you have a spurious */ which needs removing.
I build SDL using SDL2-2.0.9/build-scripts/iosbuild.sh as in SDL2-2.0.9/docs/README-ios.md (It’s not working for me). It started working, when I rebuild all using Xcode only as in the instruction step by step(http://lazyfoo.net/tutorials/SDL/52_hello_mobile/ios_mac/index.php)