iphone

Issue while adding 'Cc' Field in 'TTMessageController' (Three 20)

Hi All I am using the TTMessageController class for compose mail.There is only 'To' recepients Field in this class. I added the Cc Field in it. I have used this code: - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { _fields ...

How to Loop NSThread?

Hello everyone, I am curious to know if you can loop an NSThread for the iphone sdk. I have learned that instead of using NSTimers which do run off of the main UI, I can use NSThreads to run actions in the background. Most of my NSTimers have the "repeats:" to YES, thus I need to know if NSThreads can be looped. Thanks Kevin ...

iPhone:Tabbar item actions are not happening

Hello all, I created a window application, which has a tabbar controller with four tabbar items. Each tabbar items are linked with a tableview. I have also set Navigation bar for each tabbar items. I have appdelegate file, which calls the first tableview controller of which is set for first tabbar item. I am trying to retrieve and do ...

App shuts down when pushing UIbutton!

For reasons unknown my app shuts down upon pressing a UIButton in the simulator. I have dynamically added my UIView, if that is of relevance. No tracelog or debug information just a rush exit... This is the simple code (.m-file): - (IBAction) testButtonPressed: (id) sender{ NSLog (@"Testbutton pressed."); } From the header file: ...

using a test account for in app purchases??

i created in app purchases in my application.But still my test account doesn’t work fine. When i test my application using test account the sandbox environment asks me to buy the product and after buying it asks me to buy the product again straightaway. Is it some problem while using test accounts or is there a problem in my coding?? thi...

Tableview reload data problem iphone sdk

Hi all, I have a class A which is a subclass of uitableviewcontroller and one more class B which actually displays my tableview with its content is a subclass of A. There's an xml parser which parses my xml and stores the content in an nsmutablearray of application delegate. Now, I fetch this delegate array into a local nsmutablearray ...

will be assumed to return id

I import oourafft.h and oourafft.m class, but get strange error while ooura initialize. OouraFFT * myFFT = [OouraFFT initForSignalsOfLength:1024 numberOfWindows:10]; OouraFFT may not respond to +initForSignalsOfLength: numberOfWindows Messages without matching method signature will be assumed to return 'id' and accept argument - ...

Facebook Connect in Iphone header include path.

Hi, I am trying to compile facebook library for my iphone application. But I am getting this error. error: FBConnect/FBConnect.h: No such file or directory I have added the location of the folder in header search paths and yet it is not compiling. This is the path that I have added- /Users/nishant/Downloads/facebook-facebook-iph...

Drawing individual pixels with iphone sdk.

Hi, I've been trying to figure out how to make a powder toy style game on the iPhone. My problem is how to draw pixels to the screen. From what I've read, OpenGL is better for games as it is faster/hardware accelerated, but there is no method to draw pixels directly to the screen. Apparently drawing pixels to an off-screen frame buffer ...

Can you automate the new product registration in iTunes Connect (In App Purchase) ?

I am considering using In App Purchase for our iPhone app. But since we will offer a larger quantity of content items (>10 video items each day added), I would like to automate the new product registration in iTunes Connect. Is this possible ? If not: how long does it typically take before Apple approves a new registred product in iTune...

Table View Page Control Code

Hi Everyone this is what i want to achieve 1) Have a page control that allows user to do a swipe to 6 different pages 2) each page is a table view controller 3) everything is done via code NOT IB The tutorials that are i find either use VIEW CONTROLLER or is done via IB. I am not very good with IB and prefer to have everything done vi...

Selectively push part of UIViewController

In the Twitter for iPhone application (the app formerly known as Tweetie) there is nifty effect when pushing from the tweet view controller to the account view controller. The name of the account, the profile image and the users name stay fixed in position while the navigation controller animates pushing a new controller on to the stac...

iPhone: cannot see any labels on my core plot graph

Hello, I'm building a graph with core plot, that works fine except that I do not see any labels on the x and y axis. I can only see major and minor ticks but no value next to them. There must be something I'm missing but I do not know what. Also, is it possible to add a label for each axis, for instance: x (hours), y (value). The graph...

How to organize delegate files

In cocoa-touch development... Use AppDelegate for delegate classes Create separate delegate class and locate in new .h/.m for each class need to use delegate Use view controller classes(whenever such exist) to do that job for all classes managed by this controller What would you recommend? ...

How to show Multiple Data Source in a Single Tableview ?

Hi all, I have a situation where i have a single UITableView and a single UISegmentedControl with 3 bar buttons.Now my requirement is if i change the segment of segment control i want different data source to be loaded to my tableview.But i failed to achieve this, Every time i change the segment cellForRowAtIndexPath: is showing same d...

Converting String values to xml

Hi, I have some string values that are retrieved from json data. I need a process of converting this strings to xml format and Post it to a url ...

Memory leak using NSMutableArray in RootViewController called from App Delegate

I've written code to restore the state of my app, but there's a memory leak in the NSMutableArray. I'm new to Xcode so I apologize if this is something trivial I have overlooked. Any help is appreciated. lq AppDelegate.m - (void)applicationDidFinishLaunching:(UIApplication *)application { [rootViewController restoreState]; } RootV...

Launching image picker is slow the first time

Is it normal for the imagepicker to take a while to load the photo album the first time and subsequent views are fast? ...

MonoTouch deploy to iPhone

I have developed a number of apps using MonoTouch, and been using the emulator for the iPhone, now I need to deploy me application to my iPhone for further testing. I have purchased the iPhone SDK from Apple, but I can't find how to deploy and activate the MonoTouch application to my iPhone. Any pointers please? ...

How can I restore the back button in UINavigationController?

I have created my own leftBarButtonItem: UIBarButtonItem* homeButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemBookmarks target:self a...