iphone

Show custom objects in UITableView row name

I want to show my custom objects (images, formulas) in UITableView row name. Is it possible to do it? ...

Iphone 3.3 blocks

I am tyring to use Objective C blocks on an iPhone 3.3 app but am getting a linkage error: "_NSConcreteGlobalBlock," referenced from: Any ideas as to whether blocks are supported in the iPhone 3.2 SDK? I found conflicting reports on the internet. ...

save a view with NSUserDefaults {iPhone SDK}

hi . i try to use NSUserDefault or something like this , to save a specific view after quit from application and when user lunch application again load from that view ... but i dont know how! ...

iPhone:How to give URL link to the Text?

Hello friends, I have Text(http://www.mywebsite.com) in a view, in which i need to provide URL link, so that clicking on that one will take user to the browser. How do i achieve it? Please provide your suggestions. Thank you very much. ...

Create iPhone app programmatically, in its entirety

I recently became interested in iPhone app development, so I've been looking at online tutorials, and also reading a book, trying out the examples as I go along. I'm getting better, but one of the things I still find quite annoying about the usual development model is that I really have no idea what the SDK is really doing behind the sc...

My UITabBarController's didSelectViewController method is not getting called?

Here is my code stub for my app-delegate.m -- it never gets called. - (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController { NSLog(@"%s", __FUNCTION__); } It is defined in this app-delegate.h @interface OrioleAppDelegate : NSObject <UIApplicationDelegate, UITabBa...

cannot dismiss the email composer view in iphone?

I am new to iphone development.I have created a tabbar based application . In the first i want the email composer to be displayed. I am able to display it but the cancel and send button are not working,I don't know where do i go wrong .Please help me out. Here is my code. - (void)viewDidLoad { [super viewDidLoad]; [self displayComposer...

iphone app userid

Hi, I have an app where we want users to be able to send us email/info. This would be a standard template which will open up on a button click within the app. I am struggling at the moment to find a legit way to do it. The problem is there are 2 things I need. 1) A way to let users send email to me 2) A way of knowing the person sen...

Date Sectioned table?

I have a plist which contains an array of NSDictionary 's which represent a certain event each dictionary contains a few pieces of information about the event and a NSDate with the date of the event e.g. I wish to create a sectioned table view with this date very much like in the Calendar app which ships with the iPhone when you click o...

glow when touch the button in the view in iphone

Hi, I am new to iPhone development. I have seen the Facebook application in Facebook --> Camera(Click)--> Photo Albums-->Thumbnails--> Write a caption View. Here click event is highlighted. In this view where ever I touch, the touch is highlighted. How can this be achieved? Is there any sample code available? Please help me out, Than...

Iphone sdk : Where to put code for a grouped table.

I have a root view controller with no nib file, I tried adding this at cellForRowAtIndexPath as that passes in a UITableView as tableView. So I put : tableView = [[UITableView alloc] initWithFrame:self.view.frame style:UITableViewStyleGrouped]; It ran with no error but it didnt seem to change anything. ...

Facebook Connect post feed from iPhone app without preview broken?

I just downloaded the latest FBConnect build, popped in my keys and getting a mysterious hanging error only when I try to post a feed without previewing (setting preview to zero). The activity indicated disappears and the blank dialog window just hangs there. (This mirrors what I was getting on the app I was developing). If I try to p...

iPad Icon names?

Hey Guys, Do I have to put 2 icon images in my build for iPad? and what are the names of those 2 build, one is Icon.png and what is the other one? Thanks for all your help ...

iPhone: Sharing protocol/delegate code

I have the following code protocol snippets: @protocol FooDelegate; @interface Foo : UIViewController { id delegate; } ... @protocol FooDelegate ... // method 1 ... // method 2 ... @end Also, the following code which implements FooDelegate: @interface Bar1 : UIViewController { ... } @interface Bar2 : UITableViewCo...

iPhone: Proper use of View and View Controller

I've recently been doing a lot of Objective-C programming, and just got back into doing more iPhone development. I've done a lot of programming using MVC in other languages/frameworks, but I just want to make sure I'm using MVC properly in my iPhone Development. I created a new iPhone Utility Application, which creates two views: MainVi...

Avoid hardcoding iPhone screen size with programmatic view creation

Hi, I was looking up how to create a view programmatically and found the following example code: self.view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)]; This works great, except I don't like that it hardcodes the size of the screen. Is there a way to look up the size of the screen? An important point someone brought up ...

Why is my view controllers view not quadratic?

I created an UIViewController subclass, and figured out that the default implementation of -loadView in UIViewController will ignore my frame size settings in a strange way. To simplify it and to make sure it's really not the fault of my code, I did a clean test with a plain instance of UIViewController directly, rather than making a su...

Objective-C library recommendation for AES-256 in CTR mode

Hello, I'm looking for recommendations on an Objective-C library for AES-256 encryption in CTR mode. I have a database full of data encrypted with another library using CTR and seems the included CCCrypt only supports ECB or CBC with PKCS#7. Any idea on the best portable library I should use? I'm not looking to port the original implem...

Displaying Photos on iPhone

Hi all, I'm working on an iPhone app and I need to be able to display images to users. I have already gotten the code that takes the photo and stores it into the filesystem working well. Now I just need to figure out how to display the image. I've looked at the Three20 project I've read about on a few of the posts here, but it seems ...

Save object in CoreData

I am using CoreData with iPhone SDK. I am making a notes app. I have a table with note objects displayed from my model. When a button is pressed I want to save the text in the textview to the object being edited. How do I do this? I've been trying several things but none seem to work. Thanks EDIT: NSManagedObjectContext *context = [fe...