I'm using a navigation controller to drill into a detail view when a cell is tapped. When I push my view controller onto the navigation controllers stack, I expect to see a back button that I can tap to pop the previous view off the stack.
The issue is that the back button isn't visible, but when tapping where it should be returns me t...
Is there some tool in Xcode that allows me to store snippets of code I often reuse in various applications so I do not have to retype it each time? I am talking about things like all the code that goes into defining Table Delegate Methods and Table Source Methods, UIAlertViews code and such. I just would like to have my own private repos...
I want my UIView subclass to behave so that when it is fitted in portrait orientation is has a certain size and another size when fitted in landscape mode.
Is it possible to have the view indicate to the view controller that's resizing it when the orientation changes that it has this "ideal size"?
To clarify, I'm confident that this is...
What is a strong iPhone framework to start out developing with, besides the SDK from Apple? Are there any that exist to speed up development time?
...
Hello guys. I'm a newbie to iphone development and I've been struggling with an EXC_BAD_ACCESS error I got a couple of days ago. I'm basically taking the Stanford iphone class independently and I am trying to pass an array of NSManagedObjects to a TableViewController that's supposed to display them. The application launches in the si...
The application I'm creating needs a function like user selects some text, a pop up menu shows, and user clicks "search" menu to perform a search directly.
Problem is the current pop up menu provided by UIMenuController doesn't support to be extended. So my thought is to subscribe "UIMenuControllerDidShowMenuNotification", get the frame...
How do i set a tag for a button programmatically?
I later want to compare to tags for a conclusion
ive tried this
-(IBAction)buttonPressed:(id)sender{
NSLog(@"%d", [sender tag]);
}
but that just crashes the app.... :(
any other ideas?
Cheers Guys
Sam
...
I'm overriding the drawRect: method in a custom UIView, and I'm doing some custom drawing. All was going well, until I needed to draw a PDF resource (a vector glyph, to be precise) into the context. First I retrieve the PDF from a file:
NSURL *pdfURL = [NSURL fileURLWithPath:[[[NSBundle mainBundle] resourcePath] stringByAppendingPathCom...
How can I delay the app loading to show the splash screen for longer?
...
I've got application settings working just fine. However, I'd like to be able to change my app settings from within my app.
It seems as though there should be some kind of generic way to add this functionality to my app without having to recreate all the controls myself. I mean, the code is already written in apple's settings app.
...
I'm building a comic viewer app, that consists of two view controllers, the root viewcontroller basically displays a view where a user decides what comic they want to read by pressing a button. The second viewController actually displays the comic as a uiscrollview with a toolbar and a title at the top.
So the problem I am having is th...
Hi,
Im building a calendar and to find out the first day of the month I do
[formatter setDateFormat:@"e"];
int startDay = [[formatter stringFromDate:newDate] intValue];
On the device this works correctly and the 1st of the month is on the correct day. But on the simulator it is the day after. Although it doesn't overly matter about ...
I'm trying to see if I can find some leaks myself in Apple's TopSongs app. Can someone help me out in at least one and how to identify what is in the Leaks reports and how I can get an idea on finding them?
ie: I got one like this:
# Category Event Type Timestamp Address Size Responsible Library Responsible Caller
0 Gener...
I know how to replace text in a string. But that's using keyboard (ASCII) characters. In Objective C, how do I indicate a degree symbol? Also, how do I get the ASCII code for a character?
...
how to hide current view and show next view if i'm using the PushviewController for moving to nextview
...
I was planning on writing some code whose logic was based upon testing the creation date of a particular file in my app's Documents folder. Turns out, when I call -[NSFileManager attributesOfItemAtPath:error:], NSFileCreationDate isn't one of the provided attributes.
Is there no way to discover a file's creation date?
Thanks.
...
Hello All,
How do i Convert .doc format to pdf file from iphone .
i Want same layout as .doc format.
i Tried with html format but did not get any success.
anyone suggest any solution would be appreciated.
Thank you.
...
I have a question regarding an iPhone game I'm developing. At the moment, below is the code I'm using to currently I loop through my multidimensional array and position bricks accordingly on my scene. Instead of having multiple two dimensional arrays within my code as per the following (gameLevel1).
Ideally, I'd like to read from a text...
example
i try to change cell.accessoryView from picture1 to picture2 by fadein
but my problem is i only have one accessoryView(one UIView)
any idea?
...
Hello EveryOne!!
Hope You all are fine and also in Your best of moods!!
I need You Guys help..
I need to Create an Image Gallery!! That may be use Concept of Scrolling and Paging together.
When i Click on Button, It will open new view in landscape mode. This View is for my Image Gallery..
It Shows 5 Images
1) - Centered Large I...