I wonder if I've been doing too much myself, and could be relying on CoreData more. Suppose I have two managed objects, Dog and Tail, which have a one-to-one relationship. Dog has a relationship, tail, that is optional. Its inverse is owningDog. The delete rule from Dog to Tail is cascade. Tail's owningDog relationship is also optional. ...
Im doing an Iphone app with a UIPickerView. The picker view has two columns that contains NSStrings.
I have a button that generates a NSString containing the selected value of both columns in the PickerView and prints it in the log.
The problem is that it only prints the first two items in the picker view even if i change the selected v...
I have a UITABLEVIEW where I want to show the delete function for only certain cells (that is, certain cells are user deletable certain cells aren't). As far as I can tell, seteditable: is only set at the table level. Is there a way to override this or hide the delete button on certain cells?
...
These days everyone who worked in mobile software talks about Android and iPhone.
I just wonder what is missing part from Java ME compared to these mobile software platforms.
Open application store?
Rich APIs?
Compatibility?
Big company support?
...
Do you have any idea on it? How Sun (or Oracle) can strengthen Java ME?
...
In my application i am using a plist. please anyone explain what are the uses of plist with an example or a sample code?
...
I am trying to test in app purchases for my iPhone App and I see how to setup test users, but I am not sure how to create a product id that I can use. I do not want to submit my app to the app store without testing, but it seems like you have to submit in order to manage in app purchase? What am I doing wrong?
...
Because I'm a novice to all things C++ and gcc related I need to understand something that's potentially critical. If I use .mm files in a new iphone project whose output is a static lib I get this error:
"___gxx_personality_v0", referenced from:
If I change the C++ Standard Library type from Dynamic (the default) to static the err...
I am looking for anyone that can help create some source and a tutorial with me to answer how to create a game like "air control" or "harbor patrol" - just a simple source file where a user can draw using their finger and an object will follow - no need for final collision detection just the simple follow path source.
Thanks
Matthew
PS...
I'm working on a game and I'd like to give a non-developer friend a little level editor so they can build levels while I continue working on the development.
I quickly knocked up the following to see if it would create a file my friend could copy and email to me for later use.
// Archive Test
NSMutableDictionary *leveldata = [NS...
Hi guys,
I'd like to respond to a touch on the return button of the virtual keyboard. Maybe I'm missing something obvious but it looks like I should set a notification for "textFieldShouldReturn:" and have that call some return key handler. Is this the easiest way to do this?
Thanks!
...
Forgive me as I'm new to Objective C.
I am getting back dates from a .NET webservice in the /Date(xxxxxxxxxxxxx-xxxx)/ format. I'm looking for some direction on how to best parse this into an NSDate object. I've tried using dateWithTimeIntervalSince1970 on it but it comes back with a date in the year 1969 for a date I know is in 2006. ...
Hello.
I wanted to know if it's possible to WRITE and COMPILE/TEST iPhone apps on a linux platform.
I've been on google for a couple of days now, and people either talk about "Mac OS X only!", or "Develop jailbroke apps on Linux".
My dev partner has a mac and has a certificate to sign the apps. I don't have a mac, but I will be doing mo...
For a basic app with nonconsumable in-app purchases, has anyone figured out best practices for using SKPaymentQueue's restoreCompletedTransactions?
Observations
I know it's recommended to always register a transaction observer to receive pending transactions that make their way back to the app, but this is a different question. It loo...
When It comes to .plist files, it's a bad practice to use them to save data other than user settings ?
For example, using plists to save the data of levels in a videogame, or the prices of an item in a RPG game, ect.
...
Hi,
I have a plist file with root of type Array in the resources in the xcode project. On a button click i need to access this plist and find if the plist already contains the particular item if not write the new item(NSString) to the plist.
I am doing this as follows,
NSMutableArray *array = nil;
NSDictionary *dictionary = nil;
pat...
No matter what I try (build -> content, NSUrl, filename) I get a 'null exception': file not found when I try to play a .caf sound file in monotouch.
//var path = NSBundle.MainBundle.PathForResource("MatchGame", "caf");
//var gameSong = SystemSound.FromFile( new NSUrl(path, false));
var gameSong = SystemSound.FromFile("MatchGame.caf");
...
Looking for write once deploy across multiple platforms, is there such a thing? Also looking for an tools that would help speed up mobile development, OSX/Linux based preferred.
...
Hi,
My problem is,
I have table of names. And when I touch on each name, a new view should appear and image of corresponding name.
For all the names only one view should be there and the image should change dynamically.
Thank You.
...
I'm completely new to OpenGL, and I'm trying draw on a white background by reverse engineering GLPaint. I've gone through every combination of kSaturation, kLuminosity and glBlendFunc, AND just about every combination I can think of for brush texture (black on white, white on black, white on trans, alias/no alias, etc), but haven't stumb...
My project and web services work fine in the simulator but crash when uploading to an iPhone. It had been working fine before I updated Monotouch from 1.1. Can I revert back to earlier versions of Monotouch? Here is the problem:
I have a monotouch app using web services. When I export the project to Xcode, I get a build error statin...