Tag: xcode

Basic Registration Page – iOS

I am a complete beginner with iOS (started yesterday). I am trying too create a simple register page with text boxes and labels. I have done this with a UITable view – which looks pretty decent for a first attempt. However, I am facing an issue where the bottom values on my form are hidden […]

XCode / iOS: Iterating through all instances of a given class?

I am working on a 3d game engine for the iPhone and Im currently working out how Im going to be handling all of my 3D objects. I have a class that holds information pertaining to each 3D object such as vertexdata, texture information, etc. I also have a method that is called once every […]

Pop up Animation with UIVisualEffects is disabling button underneath

I am trying to add a pop up with a blurred view behind it to hide the view controller content. However the button to access this pop up is positioned underneath the blur effect which is disabling the button. Does anyone know how to fix this? Heres my code: import UIKit class View2: UIViewController { […]

ABPeoplePickerNavigationController display all contact data in a single cel

Hi i am developing a app where when i click contacts it goes to ABpeoplePicekrNavigationcontroller and display all contacts in the form of list in the table.But i want to select all contacts so that i want to perform some action.So how can i achive this. I am not sure this is the right question […]

incrementing variable names in xcode?

This question already has an answer here: Objective C Equivalent of PHP's “Variable Variables” [duplicate] 2 answers

Using UITableViewCell in a UITableView

I’m a little confused with something. I’m trying to create a custom cell and I want to use the interface builder way. The normal way I create a table is to have the table as: .h @interface AssessList : UIViewController { IBOutlet UITableView *tblAssessList; } @property(nonatomic, retain) UITableView *tblAssessList; @end .m – (NSInteger) numberOfSectionsInTableView:(UITableView *)tableView […]

IBAction in UIView – Compatible with MVC?

I’m trying to understand the implementation of the MVC-Pattern in iOS Apps with Objective-C. Right now I have a DataProvider object which holds and provides my data to other objects in my application (Model). Furthermore I have a View (.xib) with an additional class (UIView; lets call it “ViewClass”). I told my view to be […]

Using SharedSingleton to attribute value to NSInteger

In my viewcontrollerA.h I have: @property (nonatomic, assign) NSInteger showCommentOrCreate; + (PhotoViewController *) sharedManager; in viewcontrollerA.m I use: PhotoViewController* sharedSingleton = [PhotoViewController sharedManager]; …(long)sharedSingleton.showCommentOrCreate… + (PhotoViewController *)sharedManager { static PhotoViewController *shaderManager = nil; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ shaderManager = [[PhotoViewController alloc] init]; }); return shaderManager; } …to find the value of the integer. In […]

Xcode 4.2 Build on iPod touch 1st gen

I’m having problems building my app on 1st generation iPod touch. I’ve changed the Architecture value to “armv6 armv7” and also the deployment target to 3.0 iPod touch is running iOS 3.1.3 Anyone has a solution for that? Thanks

UITableViewCell with Checkmark, duplicating checkmarks

So far search on Stack Overflow I havent found a situation that is like mine. Any assistance is greatly appreciated: I keep seeing that if I put a checkmark on Person A, Person H will also have one as well as does a person about 10 away. Basically abut every 10 it repeats a check […]