Hey Guys,
So I have a lot of configuration settings in the plist, but do not like to invoke the infoDictionary all the time when accessing the objects. I was thinking to load all the configuration into a settings class and make that accessible throughout the application.
So in the plist, say I have a key "font" and a string "Arial".
...
When i connect my device to xcode, and run the application, i get an AdErrorDomain, is this suppose to happen on debug mode?
the simulator displays test ads,
Device doesn't display anything
Device through xcode gets AdErrorDomain
...
Hi!
I'm learning about AccessoryViews and testing the Apple example: KeyBoardAccessory
I'm trying to show the accessory view avoiding the Keyboard to show, but I can't do it :-(
I'm returning NO in textViewShouldBeginEditing to avoid keyboard and animating the resize of the TextView before return, but nothing happens.
What I'm doing ...
I want to run my application in background ...
What things must I do to support this?
...
I have an XCode project where when I click on Project->Edit Project Settings I have things set to iOS 3.2, but when I build, XCode sets the Framework Search Paths to iPhoneOS3.0.sdk. I've set the following using Project->Edit Project Settings:
Base SDK = iPhone Device 3.2
iPhone OS Deployment Target = iPhone Device 3.2
Targeted Device...
In my code, I use a singleton object as a central point in my app to load and cache images the app frequently needs, so I don't have to do resource-intensive memory allocation each time I load an image.
But there are times during the execution of my app where memory usage gets intense and I would like to release the cached image data. C...
hi,
I am new to webservice stuff. I have a axis service which sends a response which has a MTOM attachment of file. without using utilities like wsdl2objc is that possible to extract the file from the response ?
It is a zip file.
if yes please let me know how to do it.
...
Every now and again, the following comes out as -1
int randomIndex = random() % [directionsArray count] - 1;
The init method for this class is where directionsArray is created and srand() is called. It looks like this
- (id) initSprite
{
if ( ( self = [super initSprite] ) ) {
speed = 1;
directionsArray = [[NSArr...
I have an UIViewController which contains a UITableView (subclassed) and another UIView (subclassed). They are on the same hierarchy level but the UIView is added last so it is the frontmost.
I overrid touchesBegan/Moved/Ended to intercept the Gestures from the top UIView: my goal is to get the selected UITableViewCell and, if double tap...
How can I add an indent or offset to text inside a UILabel? It needs to be a specific pixel size, independent of the font size.
...
Hi,
What are the possible ways to send data to previous view in iphone. Without using Appdelegate. Because there are chances for my view class to be instantiated again.
...
i want to show different image for button after user taps that button ..
how would i do tat
...
hi,
I have a large table of around 2500 entries. I am displaying it on tableview. however the search bar is too slow while doing dynamic search. ie I am filtering the table everytime the user puts in a character on search bar.
following is the code:
- (void)searchBar:(UISearchBar *)theSearchBar textDidChange:(NSString *)searchText {
...
Ok so what I am trying to do is get an image from the camera roll, displaying it through the image view, and then getting some pixel data and modifying it (change brightness levels through the RGB values of the pixels). I'm a beginning dev and I can't seem to really get the hang of CGImage to actually get the pixel data. Could anyone hel...
Hi, does anyone know how to test when the last character in a UISearchBar is deleted. i.e. you type ...
Gary > return "Gary"
Gar > return "Gar"
Ga > return "Ga"
G > return "G"
> return ???
.
-(void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText {
[self FG_Filter:searchText];
}
I was thinking ...
Ok, this is an odd one and I can reproduce it with a new project easily.
Here is the setup:
I have a UISplitViewController. In the left side I have a UITabBarController. In this tab bar controller I have two UINavigationControllers. In the navigation controllers I have UITableViewControllers. These table views have search bars on them.
...
So here's the deal, I've been making a game based off of the open-source tweeJump as a small part of a larger application.
I have successfully gotten the game to load (from a tableView) and am able to play it, but I am not quite sure how to stop running cocos2d and return to the table view that starts the game. I have tried implementing...
I am working on an update to my iPhone app and I would like to add very quick video tutorials on how to do things in the app, e.g. how to back up & restore. What's the best way to do this? I could link to online tutorials but I don't want to kick any of my users who lack multitasking out of the app. I am thinking about including the vide...
Hi all,
I was implementing an iPad application. For this I need to customize the UIImagePickerController, I mean to say that I need to implement it with out using UIPopOverViewController that is my requirement. I tried in many ways to support my requirement but I didn't su Is it possible to implement?. Can you guys please help on this.
...
hi,
Is there a way to zoom out or reset a uiwebview programatically ? if yes how ?
...