Drawing in a Custom iPhone View Part 1
Loading...
2,227
Loading...
Uploader Comments (Nethfel)
see all
All Comments (12)
-
Another great video, do you write apps or parts of apps for other people? If so what do you charge.
-
You dragged an object into the mainwindow.xib file . Could you please explain that why you did that ? I understood when you dragged a MasterViewController into the delegate file but why the mainwindow.xib ?
-
Now it's just one thing after another! It won't let me drag the IBOutlets? I've googled this but can't find how to do it?
-
@Nethfel Also thank you, you're being really helpful
Loading...
In this particular video, I was doing all of the linkups within IB as opposed to creating an instance of the root view controller and setting it within the actual source code. Before I had made this video, some people had asked for a demo on having the root view controller instantiated by having it be part of the MainWindow.xib. That's what this does - the system will create an instance of the Master View Controller and connect it to the rootView IVAR.
Nethfel 1 month ago
Sorry for not getting back to u the other day but I have a feeling it didn't work for a good reason. Now I have the Xcode 4 but, how did u get your code down the bottom?
peterrory 2 months ago in playlist More videos from Nethfel
@peterrory I don't understand the question - what are you trying to ask? What code "down the bottom" and what do you mean by "down the bottom"? BTW - if you're doing this tutorial with XCode 4, you need to make sure to turn off ARC on the project otherwise it won't work right - this code as presented is not for use with ARC.
Nethfel 2 months ago
@Nethfel Thanks I take a look. I've only just downloaded it yday so still getting to grips with it. Right what I'm talking about is the layout of the SDK windows/panels? U have your code down the bottom so u drag from object to outlet? My code is next to the IB and I click on the .h file and that goes next to that! I can't see anything to drag!
peterrory 2 months ago in playlist More videos from Nethfel
@peterrory Oooohhhh, ok - yeah, that's an easy fix. In XCode, go to the View dropdown -> Assistant Layout -> and select where you want them (in my case I have them set to the bottom of the screen.
Nethfel 2 months ago
@Nethfel It wasn't as easy as that but managed it in the end. Now I'm gonna rewrite this one frm scratch and this time it should work! Also the ARC is switched off or not associated to the files until u make this happen manually...
peterrory 2 months ago in playlist More videos from Nethfel
@peterrory Actually, ARC is turned on for projects by default (check mark at the beginning) unless you turn it off or specifically tell it to do so for a specific file with -fno-objc-arc (or if you have ARC turned off using -fobjc-arc to turn it on for a specific file)... And really - it is that easy to get the assistant window to show up down below :)
Nethfel 2 months ago