The Cocoa Touch frameworks that drive iOS apps share many proven patterns found on the Mac, but were built with a special focus on touch-based interfaces and optimization.

learn more… | top users | synonyms

0
votes
1answer
17 views

Button not showing on phone but yes on XCode simulator

I've created a popup UIView that is a subview of my main view and a UIButton that is a close button that is a subview of my main view. As shown in the picture the button shows in the XCode iPhone ...
1
vote
1answer
15 views

Is there a best practice for using instance variables with NSLayoutConstraint's Visual Format?

Let's say I have an instance variable from a superclass named label, and I want to set auto layout constraints using the visual format. If I try to use self.label in the format string, I get parse ...
0
votes
1answer
8 views

Call Void on First View Controller from Second View Controller in Xcode

I am still very new to Xcode so bare with me. I am using Xcode 4.6.2 and have created a new Tabbed Application using apples template. I have placed a UIWebView on my First View Controller and loaded ...
1
vote
2answers
2k views

Using custom controls with Interface Builder

I have a custom ViewController which allows selection of an image from a grid. The ViewController uses the AQGrid control and is really just a modified version of the samples shipped with AQGrid. ...
1
vote
2answers
18 views

Does -[NSOrderedSet indexesOfObjectsPassingTest:] really return either an NSIndexSet or NSNotFound?

I have this code: NSIndexSet *indexes = [anOrderedSet indexesOfObjectsPassingTest:^BOOL(id obj, NSUInteger idx, BOOL *stop) { if([self testObj: obj]) return YES; else return NO; ...
-3
votes
1answer
32 views

When submitting an update, does all the information get saved?

I am developing a game with 15 levels; the first 5 levels are free and remaining levels are paid (inApp purchase). I am also having some special power in inApp purchase. In future I plan to add extra ...
2
votes
2answers
1k views

How to format and print float numbers on iOS?

I would like to create a formatted output of a floating point number with correct localization on Cocoa-Touch. The output should be equivalent to that of printf("%<a>.<b>f", n), where ...
2
votes
1answer
108 views

Will NSUndoManager undo changes happening in the background?

I've got an edit view controller which I'm using an NSUndoManager for which is the one set for my persistence store (core data project). One of the features of my app is synchronisation with an ...
19
votes
18answers
27k views

-didSelectRowAtIndexPath: not being called

I'm writing an iPhone app with a table view inside a tab view. In my UITableViewController, I implemented -tableView:didSelectRowAtIndexPath:, but when I select a row at runtime, the method isn't ...
-1
votes
0answers
11 views

Anaglyph effect on iOS

Anyone knows how to do anaglyph effect on iOS? I only found C# samples for .NET and some shaders but nothing that got a picture from my iPhone photo album and applied the effect. I didn't find ...
1
vote
4answers
86 views
+50

Is there any way in iOS to browse through Core Data objects from the Detail View, a function similar to “Notes” app

I can't find much info about this, so I don't know exactly where to start. What I'm trying to do is to add a UIButton on my Detail View, so that when I'll press it, it will load the next Core Data ...
0
votes
0answers
9 views

AVCaptureConnection isVideoMinFrameDurationSupported is false?

So in my app, I am recording video. I want to cap my fps of the recorded video to 15 fps because any faster and I have issues with processing every frame. The app is targeted at iOS 5.0+, so I don't ...
0
votes
2answers
26 views

iOS - How to get notified when AFHTTPClient is done with all operations

I use AFHTTPClient to upload files to an API as a AFMultipartFormData. AFHTTPRequestOperation-s are created in a loop so I don't know how many they are or which one will be the last operation. How ...
0
votes
1answer
272 views

Load Plist in UITableView for only 10 row

Actually this is to follow up my question before UITableView show only first row. Now my problem is that I only want to view the 10 list in my plist. If there are 11 items, the first item will be ...
15
votes
6answers
15k views

iOS 6 shouldAutorotate: is NOT being called

I have been scouring the internet for a solution to this but am finding nothing. I am trying to make my iOS 5 app iOS 6 compatible. I cannot get the orientation stuff to work right. I am unable to ...

1 2 3 4 5 1706
15 30 50 per page