iboutletcollection Questions

5

I made these (marked with red border) IBOutlets using ctrl + drag But i don't like to have the exact same line 9 times (DRY) How do i put these IBOutlets in an Array?
Petrina asked 17/7, 2014 at 13:38

5

Solved

I want to make an array with a bunch of UIImageViews I have in Interface Builder. Instead of having 20 or 30 IBOutlet UIImageView *img1; and linking them all that way, and then putting them into...
Divebomb asked 5/12, 2010 at 0:16

7

Solved

I'm trying to replicate the Stanford Matchismo game from "Developing ios7 apps for iphone and ipad" in iTunesU in Swift. On page 77 of the 3rd lecture slides, it shows using an IBOutletCollection ...
Moving asked 5/6, 2014 at 5:43

2

Solved

I have 30 buttons in one view in Interface Builder. Each has a different tag between 100001 and 100030. I've found it easy to use the same action for each button, passing along the tag for each one...
Judicious asked 19/12, 2011 at 16:23

3

Solved

New to Objective-C and iOS development, would love a hand here! I have written up some code such that IBOutletCollection(UILabel) NSArray *allLabels; In IB I have linked up all my labels in my ...
Rootstock asked 28/5, 2012 at 7:55

4

Solved

Here, I have pointed to the Referencing Outlet Collection. I am not able to figure out its usage in XCode4. I am asking for the `new feature of REFERENCING OUTLET COLLECTION in InterfaceBuilder...
Occidentalize asked 11/7, 2011 at 11:26

1

Solved

I have 10 UIImageViews which do the same thing (they have some void methods that change their image with a timer). My UIImageView is an outlet and I want to connect all the 10 imageViews to the sam...
Eisenstein asked 5/4, 2013 at 14:46
1

© 2022 - 2024 — McMap. All rights reserved.