-4
votes
2answers
50 views

How to pass the string from controller's UITextField to model [on hold]

IBOutlet UILabel *display; IBOutlet UITextField *textfield; and, I have this button to update the text from textfield to label -(IBAction)updateLabel:(id)sender { display.text=textfield.text; } ...
1
vote
4answers
70 views

Objective C Communicating to one view controller that another has changed

I have two view controllers - one "main" view controller which displays the main content and one "settings" table view controller which is held in a container within a slide-out view. The concept is ...
0
votes
1answer
42 views

Objective C MVC patterns - Settings Panel task delegation

By the suggestion of SO folk in a previous question (here), I'm in the process of making my primary model object a singleton to share between a "main" view controller and a "settings" view controller. ...
0
votes
3answers
39 views

How to share a Data object among a set of delegates?

Following the MVC pattern stressed in various Objective-C programming guides, when I use Model with Controller, I should set the Controller as the delegate of the given Model. Now I have a huge Data ...
2
votes
4answers
63 views

How can all of my ViewControllers for iOS have user login information available to them?

I'm not sure what the correct pattern for this situation is, so I'm not really sure what to search for here... Basically, I want to have my iOS (iPhone) application start with a login page always. ...
0
votes
1answer
106 views

Two-way KVO: controller updates model, which notifies controller

I'm currently re-writing a form controller for iOS. It's a custom object that is bound to a model, and handles editing form fields, jumping to the prev/next field, handling custom keyboards, ...
10
votes
2answers
3k views

Understanding Model-View-Controller

I have an app where I want to have one “background” view (view controller view), and on top of that, multiple UIViews that draw themselves as circles. I just don't understand how to implement all of ...
0
votes
0answers
44 views

Posting NSDictionary as json to C# mvc service

Im trying to post a bit of json data in objective c and post it to a mvc restful webservice written in c# This is the code im using in objective c looks like this. NSMutableDictionary * opGame = ...
0
votes
1answer
67 views

Quartz 2D MVC Drawing

all. I'm trying to follow a tutorial on making a ball bounce around the screen of an iPhone. The tutorial constructs the application in a MVC scheme. I'm having trouble wrapping my head around this ...
0
votes
2answers
98 views

Does this code follow standard Objective-C and MVC conventions? [closed]

I have written a basic app in Objective-C which displays a users contacts with pictures. The issue is, there is no compartmentalization and I feel I am violating certain standards. Everything is ...
1
vote
1answer
56 views

Connecting C++ Model to Controller with Signals2 in Objective-C/C++

I'm developing a cross-platform C++ data model with almost 1,000 different kinds of data items (but < 100 different data structures/classes). To handle the Model to Controller messages (i.e. ...
0
votes
4answers
43 views

Using uitextviewcontroller to go to another view

So want I want to be able to do is click on a button, have a tableViewController pop up appear and then click on one of the entries to bring me to a new view. I already have the tableView pop up set ...
0
votes
1answer
73 views

Classical MVC in Cocoa

I'm trying to structure some view-code out of the controller (obviously without using a nib). Therefore, I tried a simple example, but for some reason, I can't add the target to the button in the ...
2
votes
3answers
228 views

Objective C Domain Driven Design

Normally when programming in C# I architect my project after the domain driven principles. I am new to programming in Objective C for iPhone and was wondering if anyone had any sample projects or ...
0
votes
1answer
37 views

Xcode iPad storyboard

So I'm looking at an iPad Objective-C Xcode project's source code and I am new to this and having trouble figuring out what's going on. So I'm looking at the file MainStoryboard_ipad.storyboard which ...

1 2 3 4 5 17
15 30 50 per page