Hi,
I seem to recall that it's possible to return the resulting object count from an NSPredicate in CoreData without actually performing a fetch, but I can't find any reference to this.
Can someone confirm that I wasn't dreaming (sad dream to have!), and would this be safe to do in another thread?
Thanks
Andy
...
I have a view where I add a CATiledLayer as a sublayer. The view is inserted in a scroll view.
When specifically requesting an update by sending setNeedsDisplayInRect: to the sublayer, my application hangs.
Anyone more knowledgable on the why?
EDIT: If I have a UIView explicitly using a CATiledLayer as a backing layer, calling the UI...
Hi,
I am beginner in iphone. I am working on tableview. Please tell me how to remove the arrow button displayed in the each and every row.
...
Hi experts,
Can we add an view to the splash screen in iphone?. I have a default.png file in my resources directory but when the splash screen pops up i want to display an text on the splash screen image is it possible in code.
...
Is there any way of getting the mnc and mcc numbers on an iPhone?
...
Hi,
I have an application where user can record sound and also play the sound either in the speaker or the ear piece. To route the audio I set kAudioSessionProperty_OverrideAudioRoute in the following way:
if(loudSpeakerOn) {
audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;
}
else {
audioRouteOverride = kAudioSessi...
Hi there!
Can you please tell how to be properly displayed interstitial ads in iphone applications. I implemented this is exactly the same way as in Interstitials example (SDK Admob), but this always showing videos with zombies - so it should be, really? If I understand correctly, I should specify my own video url and it will be adverti...
Hi,
I am trying to get to grips with programmatically configuring views. I have a UIViewController and want to add a UIButton to its view.
Well, I created the button:
UIButton *newViewButton = [[UIButton alloc] initWithFrame:CGRectMake(baseX + viewPlusX, baseY + viewPlusY, viewWidth, viewHeight)];
[newViewButton setTitle:@"View" forSta...
Hi,
I have an application in which I have to show the alerts for user specied reminders,
I am able to show these reminders when my application is running but my problem is
i have to show thsese reminders to the user when my application is not running?
is it possible to show the alerts or remindsers when the application is running?
wha...
I have a table view controller with multiple UISwitch controls in them. I set the delegate to the table view controller with the same action for all switches. I need to be able to determine what switch was changed, so I create an array of strings that contains the name of each switch. The indexes in the array will be put in the tag prope...
Hi,
I used interface builder and changed my tableview style as grouped and seperator as none. I was able to see the change in the display style which is grouped right now. But The seperator change is not getting reflected. Kindly help me how to remove the seperator.
...
how can i display current time on a label iphone?
...
Hello everyone
I hope to use the MAC OS's icons at
http://oleb.net/wordpress/wp-content/media/apple-symbols-font-glyphs-table.png
how can I access these icons, export them from MAC system to png files or dynamically access them in cocoa codes ?
Welcome any commnent.
Thank
interdev
...
I have code UITextfield in rounded shape
but the cursor position is not in center for UITextBorderStyleRoundedRect not in center but upper .but the cursor position is center for UITextFieldBezel.
why is it so?
...
i am applying CABasicAnimation for position property of a layer it is animating well but after animation complete its coming back to original position how to avoid that and to make image to stay in animated position only?
...
I am trying to create an animated spinning image. This is all fine and I am using CABasicAnimation as described in this thread http://stackoverflow.com/questions/486609/how-can-i-use-animation-in-cocos2d
My problem is that I want to spin the image more than once a random number of times and I want to spin it from it's last position. At ...
Is there any method for setting tick marks for UISlider. NSSlider has something called
- (void)setNumberOfTickMarks:(NSInteger)numberOfTickMarks. But UISlider does not appear to have one.
What i want to do is get the slider values as 0,1,2,3,4 etc if say i set the min as 0 and max as 5. Now as such UISLider returns something like 0.0,0....
Hello everyone
Is there a handy tool to draw transparent icons for iPhone app.
I know PhotoShop can do this, but I prefer a simple one
Thanks
interdev
...
hi all,
I have 2 UIImageViews laying on top of each other ( picture + overlay frame ) and I want to save them to the camera roll as 1 picture.
How should I combine those 2 UIImageViews so that I can call the UIImageWriteToSavedPhotosAlbum function, using a 'result' UIImage?
...
I am trying to disable the automated sleeping of iPhone for certain period in my app.
Used [[UIApplication sharedApplication] setIdleTimerDisabled:YES] which works fine as long as I play no music.
But when I play music the Idle Timer seems to get reactivated.
I have tried all kinds of tricks from NSTimer firing silent sounds every 10 ...