UITableView - How do you set datasource and delegate? Please help

I've been looking through documentation, code examples, and searching online but I can't seem to find out how to use a UITableView that I've have placed inside of my view using Interface Builder.
In my UIViewController class for the view I have a UITableView *tblView linked to my table view in Interface Builder. All I want to do now is be able to implement numberOfRowsInSection, and cellForRowAtIndexPath so that I can populate my table view.
I've read that I have to set the datasource and delegate to be able to populate the table view and process events. How do I do this properly so that I can implement the methods for the UITableView in my view controller class?
Any help would be greatly appreciated. Thanks!

Hi, if you'Re using interface builder than you just have to control-drag (click on hold the left mousebutton while pressing the control-key) from the tableView to the viewController. You need to do this two times (delegate and dataSource each in one step).

Similar Messages

  • HT201320 how do you set up and exchange account for google mail

    how do you set up and exchange account for google mail

    If it's a free gmail account, you don't. Google no longer permits free accounts to be set up using Exchange Active Sync. Only paid google apps accounts can be set up as Exchange accounts.

  • How do you set up and generate address labels in pages?

    How do you set up and generate address labels using Pages?

    https://discussions.apple.com/message/12924429
    Yvan KOENIG (VALLAURIS, France) samedi 17 décembre 2011 23:27:32
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How do you set up and work single image variations?

    Howdy Forum,
    My question is L4 workflow related.
    As everyone else, I select an image file and fiddled about in the `Develop` mode until I am happy with the result which is great.
    The modified image is in the catalog which is also great.
    On other occasions I may wish to revisit the `original`image file and perhaps fiddle about for a different result to that above.
    What or how is the best way set up a process for single image variations?
    Should I simply be creating a few `copies` in advance on my hard drive, then import them in the usual way?
    Cheers 

    Read up on virtual copies and history states

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • How do you set up iphone 5? everytime i put it into the computer it erases all my contacts how do i stop this and get my contacts back?

    how do you set up a iphone 5 everytime i conect it to the computer it erases all my contacts how do i put them back on my phone and stop the computer erasing them again?

    Are your contacts not on your computer?

  • How can you set up more than one device on iTunes. I have an iPad, iPod, itouch and iPhone. I don't want the same on all devices.

    How can you set up more than one device on iTunes? I have an iPad, iPod, itouch and iPhone. I don't want the same on all devices. I have all my music/videos on iTunes on my mac book pro. Can you set up separate folders for each device and drop in what ever music/videos from the main iTunes library?

    In itunes it is called syncing and you can choose exactly what content to sync to all devices and it can be different for all of them
    How to sync

  • How do you set defaults in pages such as font and moving between cells in a table?

    How do you set defaults in Pages such as font and moving between cells in a table?

    Default layout and styles can be set by setting up a sheet with your settings and saving as a user template (File > Save As Template).  I don't know of a way to set defaults for moving between cells in a table.

  • How do you set the default magnification for Acrobat.  All documents that I open enlarge to 174% and are too big.

    How do you set the default magnification for Acrobat.  All documents that I open enlarge to 174% and are too big.  I see how to change the size after the document is open by going to File/properties/initial view and saving this setting.  I want all documents to open at 100% when they are first opened.  Can I set this as a default view?

    Hey Kris,
    You might go to Edit> Preferences> Zoom
    Do this without opening any particular PDF so that it applies to the program itself and not just one document.
    Try this and then let me know.
    Regards,
    Anubha

  • How do you set up the stock and weather ticker on notifications?

    How do you set up the stock and weather ticker on notifications?

    The next question will be what weather and stock apps will display data in Notifications similar to an iPhone. Sure there are lots of apps available but nothing I found will duplicate the features found on the iPhone.

  • How do you set up to back up iPad notes in iCloud?  I turned on backing up notes in iCloud settings, and it asked me to create a .me account, which I did, but I don't see my notes anywhere on iCloud, and I never received a password for my .me account.

    How do you set up to back up iPad notes in iCloud?  I turned on backing up notes in iCloud settings, and it asked me to create a .me account, which I did, but I don't see my notes anywhere on iCloud, and I never received a password for my .me account.

    You'll find your notes under Mail in iCloud. There's a separate folder on the left that's labeled notes so you can access them anywhere. And your me.com account will have the same password as your Apple ID (in fact, you can log into iCloud with just your Apple ID, as the two accounts are permanently linked).

  • I connected my Canon printer to time capsule, and can print OK. However, I can't get the printer scanner to work. How do you set up the scanner with Time Capsule?

    I connected my Canon printer to time capsule, and can print OK. However, I can't get the printer scanner to work. How do you set up the scanner with Time Capsule?

    You cannot use USB. It has to be a network capable printer.. is it?? You did not indicate how it is connected.. but by wireless or ethernet then scanning is possible otherwise not.

  • HT1373 how can you set up another iTunes account but keep all your purchases and music from a previous account

    how can you set up another iTunes account but keep all your purchases and music from a previous account

    An iTunes account is something you log into online to buy music.
    An iTunes library is a collection of media and other items (including apps) on your computer.  This is what you see when you open iTunes.
    So, do you mean account or library?  You can set up a new iTunes account but all your purchases made in that account will remain in the old account and cannot be moved.  You can set up a new library by starting iTunes and immediately hold down the option key.

  • How do you set up Port Forwarding for ARD 2.2 in AEB N?

    Help,
    I'm a novice at Apple Remote Desktop (ARD) - not an IT guy, so it has to be pretty basic and detailed.
    How do you set up Port Forwarding for ARD 2.2 on the Apple Airport Extreme BS router, 802.11 N. I have one at each end of the internet connection. At one end I have an Airport Extreme N router with 2 macs and eventually 1 windows XP machine (if I can) that I would like to be able to connect to over the interenet (the clients) and at the other end, I have a Mac with ARD 2.2 installed also with an Airport Extreme N router. Note: Both routers use Static IP addresses and all computers use static IP's internally not through DHCP. What are the settings or directions to do this.
    I have read and printed out the directions for Configuration of ARD 3.0 that are posted many times in the ARD discusion group, but it uses a Linksys router ( http://www.starkpr.com/ard.htm posted by Dave Sawyer). The Mac router is different, particularly with the place to set a Private IP address. I'm not sure about alot of things, but especially about the Private IP address, what number do I set it to, the one that is in my Network connections list? It automatically changes to a different number in AE N setup for Port Forwarding (by one) as if it is not suppose to the same?????
    Are there any directions available that are as straight forward for the Airport Extreme N router, as the one's that are listed here for the Linksys Router's? ( http://www.starkpr.com/ard.htm )
    Any and All help will be greatly appreciated.
    P.S. I know I should have 3.0 but bought 2.2 just weeks before 3.0 came out and they would not give me an upgrade price, so I'm waiting for 4.0 to upgrade.
    Thanks,
    Jim

    Try the following for each AirPort Extreme ...
    AEBSn - Port Mapping Setup
    To setup port mapping on an 802.11n AirPort Extreme Base Station (AEBSn), either connect to the AEBSn's wireless network or temporarily connect directly, using an Ethernet cable, to one of the LAN port of the AEBSn, and then use the AirPort Utility, in Manual Setup, to make these settings:
    1. Reserve a DHCP-provided IP address for the host device.
    Internet > DHCP tab
    o On the DHCP tab, click the "+" (Add) button to enter DHCP Reservations.
    o Description: <enter the desired description of the host device>
    o Reserve address by: MAC Address
    o Click Continue.
    o MAC Address: <enter the MAC (what Apple calls Ethernet ID if you are using wired or AirPort ID if wireless) hardware address of the host computer>
    o IPv4 Address: <enter the desired IP address>
    o Click Done.
    2. Setup Port Mapping on the AEBSn.
    Advanced > Port Mapping tab
    o Click the "+" (Add) button
    o Service: <choose the appropriate service from the Service pop-up menu>
    o Public UDP Port(s): 3283
    o Public TCP Port(s): 3283
    o Private IP Address: <enter the IP address of the host server>
    o Private UDP Port(s): 3283
    o Private TCP Port(s): 3283
    o Click "Continue"
    o Click the "+" (Add) button
    o Service: <choose the appropriate service from the Service pop-up menu>
    o Public UDP Port(s):
    o Public TCP Port(s): 5900
    o Private IP Address: <enter the IP address of the host server>
    o Private UDP Port(s):
    o Private TCP Port(s): 5900
    o Click "Continue"
    o Click the "+" (Add) button
    o Service: <choose the appropriate service from the Service pop-up menu>
    o Public UDP Port(s):
    o Public TCP Port(s): 5988
    o Private IP Address: <enter the IP address of the host server>
    o Private UDP Port(s):
    o Private TCP Port(s): 5988
    o Click "Continue"
    (ref: "Well Known" TCP and UDP ports used by Apple software products)

  • How do I set date and time on apple tv?

    How do I set date and time on apple tv?

    Fixed the same problem, STEPS
    1. Reset your apple TV
    2.It will again stuck on that setting, ignore it by press menu
    3. Unplug ethernet wire
    4. Try to connect with wifi, it should be work with wifi connection as mine.
    5. Then you can switch back Ethernet wire after get fixed.
    Thanks. Lemme know dude if it's work.

Maybe you are looking for

  • Com.adobe.edc.Problem connecting to policy manager

    Hi Adobe team, We've started to get some intermittent failures to connect to our policy server. I'm currently trying to debug the problem, we do have a full stack trace:- Principal principal =  InfomodelObjectFactory .createSpecialPrincipal(Infomodel

  • Help in file to RFC scenario

    hey guys i m doing a File to RFC scenario using BPM and taking help from the following blog /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit i m a bit confused about the services being used in figure 19 and figure 20,for a File

  • OSStatus error -101 - has anyone seen this?

    I can't play any videos, or music from my iMac.  ANY help would be greatly appreciated. <Email Edited by Host>

  • How to use d2kwutil for calling win-api programs in form 6i

    I WANT TO USE d2kwutil for calling win-api programs in form 6i. PLEASE GIVE ME IT'S SOLUTION.

  • MeetingPlace v7.1.2.6 Outlook 2013 Integration

    Anyone know if MeetingPlace v7.1.2.6 is capable of Outlook 2013 Integration? Judging from documentation it only supports up to 2010 but I check with the community before I call it confirmed. Thanks in advance! David