I have a UITableView that's populated using core data & sqlite.
I'd like to have sections grouped in the UITableView based on an attribute from the database table.
e.g If i had a category field in the database table called "type", what would be the best way of sectioning that data out?
I've seen examples using arrays, but I'm getting...
Hi All,
I am trying to follow apples XMLParsing for the iphone SDK, but getting in a right muddle around this NSOpenPanel. It appears to be in the mac os framework, but how can i use it as it suggests int he dev centre for the iphone? Any suggestion welcome...
...
What's the link to the ratings page on iTunes for my app?
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"???"]];
...
I have a nav bar with bar button items on the left and right of the title. When I push a new view controller onto the stack, the bar buttons on the left get replaced by a "back" button, and the bar buttons on the right disappear altogether. How can you override this behavior and keep the bar buttons from going away?
...
So what I'm looking for is a table view that supports and displays an array of cells (think excel).
The 2D implementation should have cell caching for performance, optimized for panning.
...
Hey guys,
So, I followed Apple's instructions to capture video session using AVCaptureSession: http://developer.apple.com/iphone/library/qa/qa2010/qa1702.html. One problem I'm facing is that even though the orientation of the camera / iphone device is vertical (and the AVCaptureVideoPreviewLayer shows a vertical camera stream), the outp...
hi, the textViewShouldBeginEditing` is called twice, one after another. i have no idea as to why. the only thing that i can tell is that once i have updated the text property of the UiTextView, by
textViewName.text = someText;
then the next time if i click on the TextViewName the method is called twice. i commented out the above code...
In iPhone development for every page you see there are 2 files, a nib file, and a view Controller (books.nib, booksViewController.m), but in a Cocoa application apple suggests to have 3 files (books.nil, books.m, booksViewController).
What is the point of having 2 class files? is it a bad idea to connect the attributes to the outlets in ...
In short, I want to associate arbitrary key/value pairs with the objects of a Core Data entity, on an iPad app.
My current solution is to have a to-many relationship with another entity that represents a single pair. In my application, I have:
Entry <--->> ExtraAttribute
where ExtraAttribute has properties key and value, and the key ...
Hi there.
I'm wanting to enlarge/augment certain parts of a photo taken using the iPhone's camera. Does anyone have a suggestion as to how I should go around doing this?
I was thinking of applying a filter, if they are available. I was also thinking of cropping parts of the image and then manipulating them.
Would be interested to hear...
One of my testers have ran into an issue where a UITextView would not fully render a line that is only partially displayed initially. This is on iOS 4.0.1 on an iPhone 4.
In the following screenshot, the last line is Xxx TTY zzz. Only the top of the line is rendered initially, but when my tester scrolls up to see the full line, it stays...
Once the iPhone app is in Ready for Sale status, then I want to change some details like support URL or keywords, would it change the status to In Review and again I will have to wait?
...
I have a map with a disclosure button on the callout of it's annotations, which when clicked displays a detail view. Each point on the map needs to load up different data in the detail view - I dont want to build separate views for each annotation, for obvious reasons, but I am unsure of the best way to do this.
How do I flag which ann...
I have the following C Struct defined :
typedef struct {
float x;
float y;
float z;
} metric;
I want to store accelerometer points in an array and do something with it later.
So I have a mutable array that is initialized like so in my viewDidLoad method :
metricsArray_ = [[[NSMutableArray alloc] init]retain];
in my di...
Is there a class to parse JSON from a server in the iOS SDK? (similar to NSXML for XML and by extension RSS.)
...
I have setup a tab bar application with four tabs on the bottom (as set inside IB) Three of them are UIViews and one of them is a UITableView, and the empty shell of an app switches between tabs fine.
Now, being that I have no experience with tab bars, I am not sure where my logic for the view controllers goes. I am used to setting up a...
I'm having a strange issue with a table header disappearing after dismissing the keyboard. Here's the how the problem occurs:
Select the textfield that is a
subview of the table header view.
Keyboard shows up as expected.
Scroll the table so that the header
view is off-screen.
Press the return key, which
dismisses the keyboard, and tel...
Hey,
I want to learn "Core Animation" for the iOS not for the Mac.
Two books exist:
PragProg: Core Animation
AW: Core Animation Simplified
Have you read one of them (or both)? do you have a recommendation?
Thanks.
...
I'm trying to use MPMoviePlayerController in a fairly simple iPhone app. The basic layout is an UIApplicationDelegate associated with a UIWindow xib file. Within the "applicationDidFinishLaunching" method, I'm trying to play a movie with the following code:
// Path to the movie
NSString *path = [[NSBundle mainBundle] pathForResource:@...
I have been having some problems with some variables inside a class being deleted lately.
Here is how I declare:
MyClass *myClass;
-(void)viewDidLoad {
myClass = [MyClass new];
//something using my class
then when I call a function later that uses an array and a dictionary inside the class.
[myClass doSomething];
Here is the code I...