Added: 3 months ago
From: azamsharp
Views: 1,151
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (18)

Sign In or Sign Up now to post a comment!
  • I also don't understand how the "Save" button calls the "save" method. Is that build-in functionality, or am I missing something?

  • I don't understand how firstNameTextField and lastNameTextField magically have the contents on the UITextFields from the Storyboard. What am I missing?

  • Followed video's code, filling in blanks as best I could. Why is self.firstNameTextField is returning null?

    NSLog says:

    - newCustomer created: -Customer: 0x6c137b0-

    - [self] set to -AddCustomerViewController: 0xca01320-

    - self.firstNameTextField set to (null)

    inside -save method: NSLog(a"newCustomer created: %a", newCustomer); NSLog(a"self set to %a", self );  NSLog(a"self.firstNameTextFiel­d set to %a", self.firstNameTextField );

  • @murraypoopchin i uploaded a zip of my Xcode project, as far as i was able to get given the current video, to my minus.com account. min.us/mmHvrGrlr#1o

  • I am beginner of programing ,I am learnning transferring data with storyboard in tableview like remainder app.

    I would like to know about customer.h and customer.m .

    what do I have to write in here? I am sorry but I am not good at English so its very helpful with those video . Thank you so much and please continue.

  • @iapple8037 try putting this in Customer.h:

    @property (nonatomic, copy) NSString *firstName;

    @property (nonatomic, copy) NSString *lastName;

    and this in Customer.m:

    @synthesize firstName, lastName;

  • You are a teacher who is in my dream. thank you so much Mohammad.

  • you are just typing away without explaining what the object or function is and where it came from e.g. segue.identifier. did you create this ?

  • went through it several times but still don't understand how to pass variable between views.

  • I am confused too. All of a sudden there are additional classes with code. How were they created and what is in the code? I wish I could read the code but with the black background it makes it very hard to see the words so I cannot transcribe it. Source code would be very helpful.

    Very hard to follow along and without the missing steps it takes a great tutorial generally useless.

    Thanks anyhow Mohammad

  • @tree502 The AddCustomerViewController and CustomerViewController are simply view controller files. AddCustomerViewController is a subclass of UITableViewController since it uses static UITableCells. After creating these files you simply select the scene from the Storyboard and assign it a particular view controller. 

  • @azamsharp Exactly!!!!! how to assign storyboard to the view controller. That's what I came to this video for but you have skipped it....

  • @robertlam18 Hi, Just select the Storyboard story. When you select it a blue rectangle will appear on all the edges. Now, in the properties windows (window in the right pane) set the class to your custom view controller. Simple!

  • @robertlam18

    - In Storyboards, select the Customers Table View (so blue border shows up around it)

    - In the Xcode interface, in the right pane window (the Utilities pane) click on Identity Inspector icon at the top

    - Under Custom Class click the drop down menu button, it should now show your AddCustomerViewController and CustomerViewController classes

    - for Customers Table View choose CustomerViewController from the drop down

    - repeat for Add Customer Table View

  • - File > New File

    - choose "Cocoa Touch" > "UIViewController subclass", click NEXT

    - AddCustomerViewController for Class name

    - UITableViewController for Subclass Of

    - uncheck create "Targeted for iPad" and With .XIB file for user interface"

    - click NEXT, click CREATE (saves your class files in the same directory as the rest of your classes)

    - this generates a AddCustomerViewController.h and AddCustomerViewController.m file for you

    - repeat for CustomerViewController

  • When I create a CustomerViewController it looks nothing like yours. Can you post source code anywhere so at least I can follow along? I noticed that allot of these tutorials do not have source code with them making it real hard to follow along if you forget to do something in the video.

    Or perhaps you can create a tutorial to fill in the missing steps?

    Thanks

  • Great series has helped me understand some things. This might be a stupid question because I'm totally new to all of this but between part 15 and part 16, how did the CustomerViewController and AddCusotmerView Controller get in? Is it something that gets automatically created when you create another view or do you have to make it from file>new file>uiviewcontoller subclass? I'm using xcode 4.2. and can you post links to sample code? Thanks

  • Excellent series! Thanks for taking the time to put it together.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more