Tag: uitableview

Loading multiple tableviews in a UIView (UIView Controller)

I’ve been searching all throughout the internet for assistance, however there has been little to no solutions to my issue at hand. My project that im trying to get a gasp on is somewhat unique (UI is not exactly following the typical norms). Current Development Enviroment: xcode 4 storyboards instead of nibs Below is a […]

Reloading UICollectionView causing flickering

I have subclassed a CollectionView and using it using to display a collection of images in different categories. For example: Most Popular, Most Viewed. I access each category/page through a TabbarController. The classes I have are: Main class – MediaList – Base class for fetching and displaying media in a collection view depending on what […]

Swift: PrepareForSegue, Swift Cast failure

I would like to select one cell in my TableViewController. The text of the cell should be transferred via segue to FirstViewController’s label. I always get the error shown below. The identifier is correct. My code: override func prepareForSegue(segue: UIStoryboardSegue!, sender: AnyObject!) { if (segue.identifier == “BackToCalculator”) { //let myRow = tableView.indexPathForSelectedRow().row+1 let vc = […]

Add one row to TableView each day app used

I am building an app that will be used as a daily reading guide. The data is all stored in an XML that will be stored in app, and sorted based off pubDate. On the number of rows in each section code, if I put in just a number, I get errors, but if I […]

UITableViewCell from a custom .XIB file doesn't create outlets

Update 2: Long story short, I was being silly (and, in my defense, not properly educated) about this. It works now. My questions have derailed from the original topic a little bit, but that’s because I wasn’t understanding what was going on in my application. I would like to close the question with one last […]

UITableView delegate and datasource in a separate class after parsing

I need to set my UITableView delegate and datasource from a separate class (data ready after parsing called by a method), but every time my table is emtpy. I’m using ARC and this is simplified code: //HomeViewController.h #import <UIKit/UIKit.h> #import “TableController.h” @interface HomeViewController : UIViewController { IBOutlet UITableView *table; TableController *tableController; } @end and //HomeViewController.m […]

UISegmentedControl not updating view

I am building an app in Xcode 5, and I ran into some strange behavior of UISegmentedControl. first some info on the app i’m building: I’m building an app in which I want to allow users to order products at registered companies. As an extra service, I want to allow them to see the orders […]

Affecting a UINavigationBar's Back Button Method (iOS)

I have a table view that pushes to a detail view controller. From the detail view controller, when I press the ‘back’ button, I’d like an integer value to change. How do I edit the navigation bar back button‘s action programatically. The back button is automatically placed in my app because I’m using a table […]

Swift-Access UILabels in dynamic cells in UITableView

I created a prototype cell and use it as template for dynamic UITableView: How do I access the UIButtons and UILabels in the cell to set the content and custom Action for each cell?

Custom UITableViewCell does not show the labels in storyboard

In this screen shot you can see that I have added UITableView in UIViewController then customized the UITableViewCell by adding some labels in it. But the issue is when I run the application. All of the cells are empty. There are no labels at all. I am not getting what can be the issue. I […]