sdk

Upgrade to iPhone 3.0 sdk and now simulator shows blank screen.

I have an iPhone app that uses an UITabBarController, which contains two UINavigationControllers, each of which in turn contains one or more TableViewControllers (actually, customized UIViewControllers implementing UITableViewDelegate and UITableViewDataSource. ) On launch, it displays the UITabBarController with one of the tableviews di...

NSDictionary into 1 NSMutableArray

Hi Is it possible to take 2 NSDictionaries and populate 1 NSMutableArray? So lets say I have this situation: dict1 = key/value of: id/firstname dict2 = key/value of: id/lastname (These are populated from a database query to the server) Now, I want to combine the dictionaries into an NSMutableArray of "user" objects. the user object ...

What are the differences between J2ME Wireless Toolkits and which one to choose?

I already know the differences between Java Edititions (ME, SE, EE), the ME Configurations (CDC and CLDC), Profiles (like MIDP), and additional APIs specified by JSRs. But I am totally clueless about the differeces of the several Wireless Toolkits. For example, Mobile Tools for Eclipse explicitly supports these ones, and states that o...

iPhone Memory Leak JSON Library

I'm getting an instruments Memory Leak with this iPhone 3.0 SDK code. I'm using the JSON from http://code.google.com/p/json-framework/ Here is my code: // .h @property (nontatomic,retain) NSMutableArray *tweets; // .m import" JSON.h" @synthesize tweets; ... tweets = [[NSMutableArray alloc] init]; NSURL *url = [NSURL URLWit...

NSOperation, observer and thread error

hi I've got a problem with NSOperation and observer. I've a tabbarcontroller and a splashController. I want the splashscreen load and download the file and when the file is downloaded make the tabbarcontroller appear to the screen. The probleme is that i 've an error : bool _WebTryThreadLock(bool), 0x3d2fa90: Tried to obtain the web ...

Inserting a Table into a Word Document using OpenXML SDK

I'm trying to insert a new table into a document but have run into a frustrating problem. The insertion point is currently defined by a Bookmark and I want to be able to add the table between the BookmarkStart and BookmarkEnd elements but have found that if they reside within a Paragraph element then Word won't open the resulting docum...

WMWARE ESXI 4.0 support Web Services SDK 4.0

I can't understand from the official site. A collegue told me that in ESXI4.0 the web services sdk is not supported anymore. Is it true? ...

IPhone SDK: Using Interface Builder to link arrays

Hi everyone, I´m trying to use Interface Builder (IB) to gain time in my app development. So I´m trying to do new things, for example, connecting objects between File´s Owners and Controllers. The situation is: 1 - I have a ViewController with a Nib. This view controller have an array set as a IBOutlet. 2 - I put a custom TableViewCo...

Security implications of storing a password in Settings.bundle and getting with CFPreferencesCopyAppValue

Hello, Apologies for the seeming obviousness of this question, but for whatever reason I haven't been able to find a definitive answer in the Apple documentation about where and how Settings.bundle password info is stored. My question: if I need to store some credentials for an app, and I use a Settings.bundle so that the password is en...

Export multiple values from a single Combo Box? (Adobe Acrobat)

I'm trying to export 2 values from every single item from the combo box field. I have found two methods to insert items into a combo box: 1) insertItemAt http://www.verypdf.com/document/acrobat-forms-javascript/pg_0048.htm 2) setItems http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?co...

Loop through labels iPhone SDK

Ok I have 8 labels and I want to loop through them but am having no luck. This is what I have tried. for (int i; i = 0; i < 10; i++) { double va = [varible1.text doubleValue] + i; int j = 0 + I label(j).text= [[NSString alloc]initWithFormat:@"%2.1f", va]; } This errors out. My labels are named like this label0, label1, label...

More than 1 appDelegate object?

Hi While fixing third-party code I've discovered a really brilliant idea) Guy was using 2 appDelegate objects in project xibs. I assume he thought that this would be some kind of singletone or such. But after some rethinking of that piece of code, I found that there is no technical restrictions on it. Here is my example: simple project w...

IBOutlet instances are (null) after loading from NIB

I am working on an iPhone app and am getting (null) references to IBOutlet fields in my controller. I have a UIViewController subclass that is set as the File's Owner in my XIB. I have a set of UI elements that are wired into the controller. After loading from NIB and attempting to set properties on those UI elements, I find that they ar...

WM_ERASEBKGND not followed by WM_PAINT

My app is getting a WM_ERASEBKGND message which is not followed by a WM_PAINT message. Naturally enough my application erases the background, and then just sits there with a blank window. I am running under Vista, but it happens under XP as well. I am pretty sure it is my fault, but what could I be doing so that Windows does not behave?...

differences when compiling a project using flex builder and flex sdk

The following code compiles fine in flex builder 3, but throws an error when compiled using the command line and flex sdk 3.3. <?xml version="1.0" encoding="utf-8"?> <ww:TestApplication xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:ww="*" layout="absolute" backgroundColor="#FFFFFF" > <mx:Label x="10" y="10" tex...

how to post a login to a web form and keep the session -iphone sdk

iphone sdk question: I need to login to a web app and keep the session (session cookie) and then get an xml feed. I haven't found a good example for this. ...

iPhone SDK log to base 10

Is there a method for determining the base 10 log of any number in the iPhone language? Any help with the math for this would be appreciated by a newbie budding iPhone developer. Thanks in advance. M ...

How do you like SDK samples to be presented?

Samples are often distributed with SDKs to provide real world details on how to use the product. Some samples are complete applications, some are bare bones console applications and some are just plain text tutorials with code snippets. How do you like SDK samples to be presented? ...

What is an SDK? (C++)

Just in general terms, for a noobie. I apparently need an 'SDK' to install something; what is this? ...

Print server - want to catch print command

How should i know at print server whether any client has fire any command. or any way to hook into printer driver at printing driver at server What is print server ??? How print server work in Window??? How muliple client will send request to single print server??? Is any utility is running??? Can anybody clear me on this things??? ...