I have an entity header and it has a attribute NSDictionary wich was declared transformable in model. Now I want to not sort the array of headers in fetchedRequestController. And passing nil or null object gives error. Please help its urgent.
Let me reframe from the last time : if i have an entity, with a transformable attribute headers...
I'm making a Web app (at chirpid.com) for the iPhone that plays audio files for cricket chirp identification. The user can start and stop the audio by tapping screen buttons. But if the user taps the home button while a sound file is playing, it continues to play in the background (an iOS4 feature). I want to stop the audio in this case....
Hi,
So I'm still very new to this whole objective C think and I ran into a problem I'm not sure the root cause for.
My h file looks basically like this :
@interface DrinkDetailViewController : UIViewController<UITextFieldDelegate>
{
UITextField* nameTextField;
UITextField* activeView;
}
@property (nonatomic,retain) IBOutlet UI...
Hi all. I'm trying to use more than one sprite sheet because I can't fit them all on one and having two makes my ordering them easier (sprite sheet one sprites are in the back and have a lower zOrder). I'm currently doing:
spriteSheet1 = [[CCSpriteSheet spriteSheetWithFile:@"spriteSheet1.png" capacity:3] retain];
[[CCSpriteFrameCache sh...
hi ! i am a biginner for iphon and i want to make scrolling the iphone simulator ..
how can i make it possible can anybody give me code for it ....?
...
I have a UITextView that is editable on a parent view along with a few other things. How can I set the UITextView to focus when the parent view shows up?
...
How can I load a web page when internet is available and cache it for offline use and it updates to the latest version when internet becomes available again?
...
I have a fairly simple iPhone application that I want to have run on both the iPhone and the iPad. I'd like to just have the iPad version be a bigger version of the iPhone version, scaled up or not -- I'm working on an iPad-specific version of the app that makes better use of the interface, but wanted to make sure my existing customers h...
Hi,
I'm localizing an app to spanish, and characters are encoded in the Localizable.strings file for that language using Unicode. For example, I have the entry: "login.saveSettings"="Guardar configuraci\\u00F3n:"; which is displayed in a UILabel exactly like that ("Guardar configuraci\\u00F3n:"), instead of "Guardar configuración:". I t...
I get the following warning after building my app for distrobution.
warning: building with 'Targeted Device Family' set to iPhone only ('1') not supported with SDK 'Device - iPhone OS 3.2'.
Should the base sdk be set to the minimum OS that I want to target?
...
Hi,
I've been tasked with creating an iPhone app which will tap into a series of REST API JSON feeds from Twitter.
I'm somewhat new to iPhone development, but I've created a few apps before, though none of them required tapping into API data.
So let's say we have 3 views in Interface Builder that are being controlled by a tabcontrolle...
Hi ,
i have the following code :
-(void)loadVersionDataToTable: (int)versionIndex{
OptimizationReportDate* datedVersions = [self.optimizationReport.datedResults objectAtIndex:0];
ReportDateVersion* version = [datedVersions.versions objectAtIndex:versionIndex];
ReportDateVersionSegment *seg = [version.versionSegments objectAtIndex:0]...
Hy everybody,
I have two targets: MyApp and UnitTests
MyApp contains two classes: ClassA and ClassB.
ClassA has a method "getSomeNumber" that uses a ClassB method.
UnitTest is a "Unit Test Bundle" and in "Groups & Files" section i have a folder named "UnitTests" where i create a "MyAppTest" Class.
MyAppTest Class has the following me...
I am able to use tintColor to change the color of my NavBar, but this causes the NavBar to appear "flat". The standard NavBars have a shading to them - is there any way to accomplish this shading without using a custom image in place of the NavBar?
...
I've got a UISearchBar in my view, and when the results button is pressed I'd like it to load in a new view. Is this possible without using a navigation controller?
I'm new to iPhone development so not entirely sure if moving between views is solely reliable on a navigation controller or not. From all the examples I've seen using pushVi...
I have the following code
- (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo{
NSLog(@"failed");
}
which checks for the error, and it prints out time I run the following
-(IBAction) addWallpaper{
UIImageWriteToSavedPhotosAlbum( [UIImage imageNamed:[NSString stringWithFormat:@"%d....
I'd like to find out and store information about a users device.
I'm looking for the date, the type (iPhone/iPod/iPad), the locale (Language) and location.
The date should be simple to get, as is the device type.
What code is used to find out the current locale/language of the device interface?
...
-(void)viewWillAppear:(BOOL)animated{
//something here
[super viewWillAppear];
}
my question is is this line [super viewWillAppear]; always required? if not when and why do you use it?
...
I've seen tutorials in books and on websites that offer .sqlite files for download. The sqlite files are used for Core Data.
How do I get a .sqlite file FROM an app or core data store on TO my desktop?
...
I need a UIDatePicker for selecting Month and Year only. I checked the class reference documents. Looks like UIDatePicker is a UIView. I imagined UIPickerView may be a sub view and I can hide the component if I can grab it. But no. That was not possible. Do I have to create my own custom picker then? Any ideas?
...