Hi all, as the tilte is possible autoimport or there is an option in xcode that allow to import all callbacks of a delegate(as MKMapviewdelegate or other)?
I use this option in Eclipse (Java) to import getters/setters methods to access class variables.
Thanks in advance.
...
I've been trying all day and just can't make the the TTPickerTextField work. It displays, I set its dataSource to the example code's MockDataSource and type in a name from the mock and it doesn't work. There doesn't seem to be any documentation or any examples anywhere on the internet, something that I find surprising.
So: does anyone h...
Is there a way to tell the system to cancel all touch event sequences that are currently happening in your app?
In one part of my app, I show a new view when a user selects a particular table cell. But, I want to make sure they aren't simultaneously touching any other buttons. For example, if they are holding a toolbar button while th...
I'm developing an iPhone game with Game Center integration. The game is being built as Debug (not release/distribution). On the simulator, Game Center always uses the sandbox properly. On the iPhone device itself, it will go for a few days using the sandbox, then suddenly decide to use the real Game Center servers (which results in an er...
I have an app that will display a bunch of images in a slideshow. Those images will be part of the bundle, thus distributed with the app.
All the images are photographs or photographic, etc.
I've read that it's preferred to use PNG as the image format, but seeing that the JPG version will be much smaller, I'd rather be using that.
A...
The last time I deployed on a device was last week. Since that time, I've been tweaking on the simulator. My developer certificate expired on Oct 11th. I tried to deploy on my iPhone today and got some code sign errors. I checked it out and discovered my developer certificate expired, so I went ahead and renewed it on the Provisionin...
If I have two threads in my Cocoa app, and (let's say), I'm reading from file X on the disk with an NSData +dataWithContentsOfFile:, and another thread is concurrently updating or replacing that same file X, with, say a -writeToPath:atomically:?
I'm unfamiliar with what Cocoa's standard file read/writes modes are. Could the read operat...
I'm after some a script or tool to automatically add iPhone, iPad, etc devices to the Provisioning Portal. Is there anything out there (preferably OSS) that I can use?
Bonus points for generating Ad-Hoc certificates!
...
I want to group the results of a NSFetchRequest by entity. The entities all share the same abstract parent. For example:
animal
|
|-cat
|
|-dog
The NSFetchRequest has includesSubentities set TRUE and entity set to animal. It is possible to set sectionNameKeyPath of NSFetchedResultsController to entity.name but it is not possible to do...
The task: create an image from a PDF file as fast background preview for my PDF displayed with the CATiledLayer (slower, higher resolution).
Problem: I get pretty fast an error warning on my iPad "Received memory warning. Level=1" and shortly after "Received memory warning. Level=2" .. then the app crashes.
- (void) drawSinglePage:(CAL...
Hi
I am developing this app which was accessing http://api.twitter.com/1/statuses/public_timeline.json for twitters public time line.
Until yesterday everything was fine but now I am getting an empty array as a response.
I've tried it in the browser & response is [] ie empty json array.
Twitters status says everything is okay.
Ho...
hi How do you display a Alert when not connected to the internet ? iOS
not connected to internet means has no wifi , no connection to remote host ( www.google.com)
no Cellular Data Network
as i have seen many applications showing this message when i am not connected to the internet.
i have tried downloading the Reachability from appl...
Can anyone please tell me what is this error, I am trying to compile on xcode
"_OBJC_CLASS_$_CATransaction",
referenced from:
objc-class-ref-to-CATransaction in RefreshTableViewHeader.o
And this error
"_kCATransactionDisableActions",
referenced from:
_kCATransactionDisableActions$non_lazy_ptr
in RefreshTableVie...
I've built a basic Web XML to Core Data parsing system, but I am confused about how to set off several parsers at once, and know when they are all done.
This is my current setup, which gets just one parsed xml file ("news"). But I have several xml files I need to parse ("sport", "shop" etc). How would set all of these off, and know when...
Hey guys,
My code is as follows:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
NSDictionary *appDefaults = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithBool:YES], @"show_outer_reference_circle_preference",
...
For the iPad/iPhone can I detect when the user has the keypad lock turned on for inactivity protection?
If you have sensitive information in an application you will still often cache username/password and it is too disruptive to ask for a full username/password challenge after each period of inactivity.
I want to ensure that if the...
Which part of the app is it that "triggers" the iPad app as it's own app as opposed to running the iPhone version in a universal binary?
What do I need to change to make my app Universal, after clicking "Upgrade current Target for iPad"? My app runs on outside of the simulator, but my images are too small and my text is out of place. Wh...
Hi, Im trying to create a video that shows two videos one after the other using avcomposition on the iphone. This code works, however i can only see one of the videos for the entire duration of the newly created video
- (void) startEdit{
AVMutableComposition* mixComposition = [AVMutableComposition composition];
NSString* a_inputFile...
If I append the @2x suffix to my own images, will iOS 4 automatically replace my images with the Retina compatible ones, or does that only apply to Apple defined images? (Icons, for example.)
...
I know that sharing a single context between threads is bad news. I know that I can safely create and use a context with an offscreen framebuffer on a secondary thread when nothing is happening with GL on the main thread.
I haven't yet been able to find a definitive answer to the question of whether I can safely create two contexts on t...