Hello,
I'm getting the above error and have no idea where its happening. Is there any way to debug it. I've put in some breaks points already buts its not abending its not abending those areas.
Code below:
-(void)viewDidLoad
{
if (managedObjectContext == nil)
{
managedObjectContext = [(NewWorkoutViewC...
Hi all,
I want to clarify whether there is a memory leak in this code? As far as I feel its there.
in .h file
@interface MyClass{
NSMutableArray *dataArray;
}
@property(nonatomic,retain) NSMutableArray *dataArray;
in .m file
-(id) init{
self. dataArray = [[NSMutableArray alloc]init];
}
-(void) dealloc{
...
Hi,
I have to manage a table on a large database with over 20k records (the db size is 25MB). I use standard queries like SELECT\INSERT etc. programmatically using SQLITE framework. But the app on the Device is VERY VERY slow. When I tap the icon, the Default.png freezes for 10-20 seconds and the app crashes. When I run it on the simulat...
I'd like to build a preferences screen in my iOS app that has a segmented control at the top and, depending on its state, it will determine which sliders and switches are visible, as well as where they're positioned. When you change the state of the segmented control and the layout of the screen changes, I'd like it to animate smoothly ...
I'd like to do an application that detects if someone is blowing/whistling into an iPhone mic.
Something like Ocarina by Smule.
Any code examples / tutorials on that subject?
...
Hi
I am making a search form with a number of free text fields that I would like the user to edit in line on a tableview (and not go to a seperate view for each individual item). So far I have it so when you press on the field, a text input dialog appears, here is the relevant code:
- (UITableViewCell *)tableView:(UITableView *)tableVi...
I just started Objective-C recently, and this has once again gotten me to the point of asking SO for help. I need to rewrite this method so that I can call it using [self URLEncodedString];
This is what the method currently looks like -
- (NSString *)URLEncodedString {
NSString *result = (NSString *)CFURLCreateStringByAddingPerce...
Hi, I've got following problem with the recognition of touch-Events
First of all I push a programmatically created view with a lot of imageViews inside.
Before I click the button to push this view all touch-Events are called correctly, but after pushing the new view no touch-Events are called.
Thanks for help!
...
I have some items that change the navigation bar color when the detail pages are accessed. My issue is getting back to the default navigation bar color. What color is it? It is not blue or gray for sure.
Also when going "back", where is the best place to put this color change? Unload does not seem to work for this. On the table view con...
I guess my question stems from ignorance on how network communication is done on different threads on the iOS platform. I have a TcpConnection class which is a wrapper for input and output streams to a printer. the Open call looks like this:
CFStreamCreatePairWithSocketToHost(kCFAllocatorDefault, (CFStringRef) ipAddress, port, &read...
Hi,
I like to know about teh various tools required to develop for jailbroken application.
I have seen many links dealing with jailbroken devices says about the Open Toolchain . Does it really required for developing applications for jailbroken devices. Can anyone clearly elaborates regarding the open toolchain and other development t...
Hi everybody,
I'm trying to implement the in App purchase mechanism in my iPhone app. To do so I need to make a json object out of the receipt string on my rails server, and send it to a iTunes server.
How can I create a json object out of a string? to_json didn't work for me...
How can I send that json object to the specified Server ...
Hi,
I am programming an app for iOS, allowing the user to make connections via tcp/ip. The user is able to save a server as a favorite. To make this possible I am serialising the server object and storing it to the NSUserDefaults.
Is this the correct way to go or should I rather save the serialised object to the file system?
Thanks,
M...
Is it anyway possible to tag certain phone numbers on your iPhone as high priority numbers, and then filter them out to perform some actions on them?.. e.g. allowing calls from these numbers to come through even when the ringer is off.
Does Apple even provide the dev access to phone api's to allow this sort of work?..
Thanks..
...
Hi, I'm using a regular UIScrollView.
How can I make the pinch-out gesture create a larger zoom? let's say two-times the zoom I get today...
10x
...
i hav seen in some other projects like they hav slider pop view to show up images and videos and all other contents in thumb nails and when i try to add using interface builder i can not do this ..
where is the option in IB for SPV....
...
I want to allocate a memory buffer and initialize it with data of a mathematical equation in order to gain a pure DTMF tone. I am using the AudioQueueServices library to allocate and fill the buffer. I used a formula of 2 sine waves and 2 different frequencies. However, neither a sound nor a tone is not played.
It may be important to me...
I have an array :
//current array
NSMutableArray *arrayCurrentArray;
//and index
indexCurrentPage = 1;
the array needs to be initialized at run-time like this:
arrayCurrentArray =
[[NSMutableArray alloc]
initWithArray:arrayBrotherPirateEnglish
copyItems:YES];
this is how the array is initialized:
arrayBrothe...
Hey guys, i have a simple app just a load of images in one image view. Each is just included in a plist file and called when a cell is selected in popover window. All i want is a button with an action to get next item in plist and display in the image window. this sounds easy but i cant figure out the code to grab next item in plist? can...
I want to build a multiplayer iPhone game that allows multiple iPhones (clients) to connect to a single iPad (server) using Bonjour. Since I only have one iPhone and one iPad, is there a way to run multiple instances of the iPhone simulator to simulate the multiplayer app?
If not, does anyone have any creative solutions to testing a mul...