Hi, I;ve involved myself so much in NavigationControllers that I've become kinda ignorant with other options.
Heres what i want to accomplish, I've built Subclassed ViewControllers to Push via NavigationController that works pretty fine.
However, to avoid the Idea of going back and getting to a new view doesnt fit for quick access s...
I have a label in a custom cell with 3 labels in a table view. I am trying to display a text message "Updated status one of user" in one of the labels, but it displays only "Updated status" and truncates the rest of the message. What can I tweek to display the whole message in a line or spill it to a second line is necessary? Appreciate ...
Is there any function to remove the white spaces from text message in objective c?
For eg:for "How are you",the result should be "howareyou"
Thanks in advance.
...
The header views in my plain style table view currently scrolls with the content. Is there a way to stop the header views from scrolling and stay in place at the top of the table?
Any help would be appreciated please.
...
I searched a bit, but couldn't find an answer to this (probably very simple) question.
I have an NSString, and I'd like to check if it contains a word. Something like this:
NSString *sentence = @"The quick brown fox";
NSString *word = @"quack";
if ([sentence containsWord:word]) {
NSLog(@"Yes it does contain that word");
}
Thanks.
...
When writing a customized subclass of UITableViewCell, I find that the results work well for the rectangular cells of a plain-styled UITableView, but do not work at all for the rounded cells in a grouped-styled table.
Is there a way to reliably subclass UITableViewCell to draw cells which work for grouped-style tables? (Without using In...
I have an image in a custom cell. Is there any api to add a gray border to an image?
Thanks in advance!
...
Is it possible to set Alpha to .75 or .50 (transparent) for Parent view but the Child views/controls are opaque (Alpha channel 1.0 - completely visible).
Whenever i set Alpha of my main UIView to transparent, all the child views/controls are also shown as transparent. Is there any workaround?
...
I have had many successes programming the iPhone in Landscape mode, but I have been unable to get the Apple PageControl demo to run in Landscape mode and render the content correctly. The demo uses the AppDelegate class as an implicit ViewController which manages a UIScrollView, and the AppDelegate creates a set of UIViewControllers for ...
Can i get system provided icons/images in a UIImage. I'm referring to the icons/images referenced here.
...
I would like make mapkit's callout's DetailDisclosure button to navigate to detailed page for each annotations.
At this point I am reading annotations from .plist and I wonder how can I make there button to link to each others.
- (void)mapView:(MKMapView *)mapView annotationView:(MKAnnotationView *)view calloutAccessoryControlTapped:(U...
So, I am trying to search an nsstring for a term us rangeFromString, but whenever there is not anything matching that result, I get something along the lines of 2748601949 as opposed to 0. I am trying to, for example, locate @"sin(",@"cos(", and @"tan(" in a string like @"1+sin(28)+cos(72)". Thank you
...
I'm planning to release my app as a free version, and then let the user buy the full version through in app purchase. I'd like to customise the artwork so thats if they're on the UK Store it says "Buy full version for 59p" and on the US Store "Buy full version for $1". Is there any easy way to get this information? I know NSLocale can pr...
I've never seen a perfect layout strategy for detail views containing several heterogeneous rows, e.g., one row for name, one for address, one for email, one for age ..., just like the name editing view of Contacts, but more complex.
Obviously, it is a perfect "table" thing, and UITableView's group style is preferable to plain listing o...
Hi Guys,
When i start typing text in a default textView in my viewcontroller, its not going to the bottom of the textfield. It leaves room for 2 more lines of text and then starts scrolling.
I want it to start scrolling when i start going beyond the last line.
I tried everything, and i dont know what i can do?
Anyone any ideas?
...
Should I make a single NSLock instance in the application delegate, to be used by all classes? Or is it advisable to have each class instantiate its own NSLock instance as needed?
Would the locking work in the second case, if I, for example, had access to a managed object context that is spread across two view controllers?
...
Hi guys,
I have a resizing issue when rotating a view controller that has two views which I switch between using the flip animation.
The problem appears if i do the following steps:
Rotate the device when viewing the tableview.
Click the info button.
Rotate the device (infoView appears stretched).
Click on info button (tableview appea...
Hi Fellow iPhone Developers,
I am an experienced software engineer but new to the iPhone platform. I have successfully implemented sub-classed view controllers and can push and pop parent/child views on the view controller stack. However, I have struck trouble while trying to update a view controller when an object is edited in a child ...
Hi
I have been through the Apple Developer guides and tutorials and I been through 2 iPhone books brushing on the subject of Core Data.
I am used to handling the "value object"/"entity" side of things and then send them of to a web service or the likes. But on the iPhone I get to handle everything myself… cruel world:)
The Locations, T...
Hello everyone. I'm programming an iPhone app and this is my question.
I have a NSTimer with an interval of 3 seconds that fires to decrease a value. In the other hand, when I do an action that increase that value I want to restart the timer to count from 3 seconds.
For example, if I increase the value and timer will fires on 1 second,...