For example if I had this predicate format string, would that have the same security benefits like prepared statements in SQL offer?
@"name == $LAST_NAME"
I am not sure if this is a plain stupid substitution which still allows bad "SQL" injection to core data, or if this is just as good as prepared statements known from modern db tech...
I get this codesign error when i build the application
codesign: unrecognized option `--entitlements'
Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign
codesign -v [-v*] [-R testreq] path|pid ... # verify
codesign -d [options] path ... # display contents
codesign -h pid ... # displ...
Is there a tool that will aggregate all the rerpots that Apple provides on sales of apps? Apple's reporting tool is very poor and hard to use without manually pulling data into Excel each period.
...
The following code deletes a core data object if the user did not end up modifying the new entry (this happens on an insert operation). The root view controller created the entity and passed a reference to my view. It works fine if the user hits a "done" button on my view, but if instead they navigate backwards using the "back" button on...
I have an tabbar-application with four tabs. Every tab loades an nib with its viewcontroller.
In my first nib i have two views. In the first view (placeholder) is a button to switch to the second view (view1) and reverse (With an Boolean to see if the second view is on top or not).
-(IBAction)transitionFlip {
[UIView beginAnimations...
Hi guys!
I have to integrate FaceBook connect with the iPhone App.
I downloaded SDK, added new app on the facebook.
But I have a problem. All samples and tutorials contains feature with feeds publishing.
In the sample which included in the SDK I have to insert Template Bundle Id instead of '9999999':
- (void)publishFeed:(id)target ...
I'm using Three20 TTStyledTextLabel and when I change the default font (Helvetica) to something else it creates some kind of height difference between links and regular text
The following code demonstrate my problem:
#import <Three20/Three20.h>
@interface TestController : UIViewController {
}
@end
@implementation...
Hey everyone,
So we have a problem with our app. We put push-notification in, and it works flawlessly in development. Then, once we got on the app store push no longer works. By looking at our server logs it looks like the the registration call is failing and not getting a device token.
Has anyone encountered this before?
Cheers,
...
Hi out there:
i got an object with contents of html markup in it, for example:
string = @"<p>This is wonderful</p> <p>Also some ‘ entidies ’ <p>";
so i want first to convert this entidies in for my label text.
the second step would be to convert my p tags to line breaks.
the third step to convert my "img" tags to uiima...
How do apps like Apple's "Remote" app control mac applications and send data?
is this via php with exec() commands or some other method? and how would I do it in c?
Also, how fast is this rate of transfer (can I use it to send real-time data like streaming video or audio?)
thanks to anyone who cares to enlighten me on this issue :-)
...
I have an application that needs to update its display every minute or so. To achieve this I was using performSelector:withObject:afterDelay, calling the selector that most of the time just changes some text in a label based on a very simple (and quick) calculation.
[self performSelector:@selector(updateDisplay) withObject:nil
af...
Hello!
I've subclassed the UIButton class and now a custom view will be drawn using quartz 2d. It all looks fine, but how can I darken the button at clicking it.
How can I set the views for the different states if I am using quartz in the same class to draw the button?
Thanks for your help
...
Hi there,
i am doing some experiments with coredata and objective-c.
My application works fine in the simulator.
It also works on my iPodTouch. But how to i copy my local database to my device?
thanks,
...
I have a favorite image to display on a UIBarButtonItem, on an toolbar.
How do you do to change it when this item is unselected/selected like this screenshost http://i50.tinypic.com/10gzehi.jpg ?
Thanks!
...
I tend to release my stuff in -dealloc, and now iPhone OS 3.0 introduced this funny -viewDidUnload method, where they say:
// Release any retained subviews of
the main view. // e.g. self.myOutlet
= nil;
So -viewDidUnload seems to get called when the view of the view controller has been kicked off from memory. And if I have s...
I'm trying to mix C++ and Objective-C, I've made it most of the way but would like to have a single interface class between the Objective-C and C++ code. Therefore I would like to have a persistent C++ object in the ViewController interface.
This fails by forbidding the declaration of 'myCppFile' with no type:
#import <UIKit/UIKit.h>
...
Hi Everyone:
I am wondering if there is some way to make it so CLLocationManager doesn't automatically returned a cached location. I understand that the documents say "The location service returns an initial location as quickly as possible, returning cached information when available" but this cached location could be extremely far awa...
I've got an interesting issue with my socket test application.
I've set up a listening socket with an AcceptCallback function. I've connected to the listening socket using :
CFStreamCreatePairWithSocketToHost(kCFAllocatorDefault,
(CFStringRef) self.clientService.hostName,
...
I have a uisearchbar at the top of a uitableview
I have a button which I would like to be able to scroll to the top of the table (thus bringing the searchbar back into view) and then open it for editing. At the moment I have to scroll to the top and then tap on the scroll bar itself.
The scrolling shouldn't be to difficult but what I c...
in the latest symbolicatecrash for iPhone SDK 3.2 beta 2, i'm getting the error Error: can't parse OS Version string iPhone OS 3.1.2 when trying to symbolicate crash logs build on older crashlog formats.
the latest symbolicate crash has introduced a build and version string for the OS version. For older versions of the crash log, you wi...