PDA

View Full Version : How do you use the UIScrollView with the Interface Builder?




springframework
Jul 15, 2008, 06:00 PM
I would like to know how you get the UIScrollView to be in the Objects Library window so that I can just drag it into the .xib window.

Thank you.



Xino
Sep 17, 2008, 07:45 AM
I really would like to know this aswell :)

Is it possible to drag more items in an UIView (or UIScrollView) via Interface Builder? I'm affraid I've to add those items via code?

springframework
Sep 18, 2008, 04:29 PM
it seems to be in the interface builder now.

codecrafty
Nov 8, 2008, 10:54 PM
The interface builder can put the UIScrollView on the base-window/view
and I can place an oversized picture into it and set it not to auto resize, But for the life of me I cant figure why it won't just scroll? All the samples create the UIScrollView from code, which is just rediculous. Please someone tell me I am making this too hard.... I'm starting to think the SDK is a halfbaked crapPie(not the fish):confused:

wizard
Nov 9, 2008, 09:48 AM
All the samples create the UIScrollView from code, which is just rediculous. Please someone tell me I am making this too hard.... I'm starting to think the SDK is a halfbaked crapPie(not the fish):confused:
I'd strongly suggest avoiding the use of IB as much as possible! It is that bad. Some of the biggest set backs I've had in the process of developing my little app have involved IB and it's very buggy nature. The only reason I have a xib at all is that I'm basing my app off some of Apples sample code and even that might be a mistake.

Now part of that might be me not understanding IB well as it is new to me. I do understand bugs though and IB seems to be full of them. In any event no thank you for iPhone development.

Speaking of which IB strikes me as possibly the worst possible approach for a graphical interface builder. I find it to be obtuse and not at all suited to rapid development. I really think Apple went way out of it's way to make the system as unintuitive as possible. Frankly it just drives me bonkers to see words like "outlet" used in an IDE. Outlets are for plugging things into or maybe the stream that drains a lake. I've yet to see where this or the rest of the terminology used in IB makes much sense.

Frankly I'm currently of the opinion that IB and Objective C are about the worst possible combination for rapid development of sound IPhone apps. I know that will ruffle some feathers but even with 2.1 there is still a long way to go before the SDK can be considered stable.