Hi all -
The latest version of Apple's UICatalog example application includes zero code in the TextFieldController for handling keyboard show/hide events, and yet the table view still slides up and down beautifully with the keyboard.
Does anyone know what the new trick is? Are there settings in the XIB that allowed them to forgo regis...
Hey everyone,
I have an app in dev that involves a small list of people, a small list of places, and dates and times.
What is the best way to save this data?
People - list will be < 30 people,
with simple name fields and other
small string feilds. Should i save
them as property lists? Is there any
way to simply create a pointer to a
...
I'm trying to learn Objective-C for xcode.
I was wondering if there was an open source depository for custom classes.
Things that programmers re-use.
( ie. playing card class, or peer to peer methods )
I've searched google, but so far haven't seen any type of site.
...
Hello,
How to get a resized uiimagepickercontroller, I mean non fullscreen?
Thanks for your help :)
...
I just switched my code from Objective-C to Objective-C++. Everything goes swimmingly except for two lines.
NSString * text1=[[NSString stringWithFormat:@"%.2f",ymax] UTF8String];
This line complains that
error: cannot convert 'const char*' to 'NSString*' in initialization
The second error related to the first is from the line:
CG...
I am creating a library which contains an API for setting the current location based off some value collected by the GPS. I want to store this location in my class and later, change the behavior of my library if it is set.
What I had in mind was:
@interface myLib
{
@property (nonatomic, retain) CLLocationCoordinate2D *location;
}
@...
I have my CD store setup and everything is working. Once my initial fetch is performed, I need to perform several fetches based on calculations using the data from my first fetch. The examples provided from Apple are great, and helped me get everything going but I'm struggling with executing successive fetches. Any suggestions, or tutori...
Hi,
Is it possible to gain access to a delegate method that will allow additional actions to be performed when the "clear" button is pressed on a UITextField / UISearchBar?
Thanks
...
My question concerns markup that surrounds some of the default phone number labels in the Person entries of the Contact list on the iPhone.
I have created an iPhone contact list address book entry for a person, "John Smith" with the following phone number entries:
Mobile (604) 123-4567
iPhone (778) 123-4567
Home (604) 789-4561
Work...
I have an NIB file with a button. When I click this button, the setWallpaper: selector is called. Everything works as expected (the image is saved), excepte by the error thrown by malloc.
malloc: *** error for object 0x184d000: pointer being freed was not allocated ***
set a breakpoint in malloc_error_break to debug
I've set a breakpo...
Hey all, I've been building an app for a client and part of it uses Apple's TopSongs sample app to download data on another thread. I finally got enough done to start testing that part and found >1000 leaks!!! A closer look at the leaks made me check TopSongs for leaks, since none of the my methods were in leaks report. Running TopSongs ...
Hi
I was just wondering, I have an app that relies on Core Data for saving user inputted data and a plist file for keeping track of user settings etc.
What happens when I, as a developer, put a new version in the store and a user downloads the update? or a new user downloads the app? How will I make sure their data and settings are not...
Hi,
Can anybody make a video or a more detailed explanation on how to implement the adwhirl sdk? I'm confused on steps 6-7 on the provided instructions. Thanks in advance.
...
I am implementing map kit in my app and i am using this first time so please tell me how to find the current position of the annotation.?
...
OK, for two days now i have been trying to solve an error i have inside the cellForRowAtIndex method, let start by saying that i have tracked down the bug to this method, the error is [CFDictionary image] or [Not a Type image] message sent to deallocated instance.
I know about the debug flags, NSZombie, MallocStack, and others, they h...
Total noob to anything lower-level than Java, diving into iPhone audio, and realing from all of the casting/pointers/raw memory access.
I'm working with some example code wich reads a WAV file from disc and returns stereo samples as single UInt32 values. If I understand correctly, this is just a convenient way to return the 32 bits of m...
the quality of saved image will lose when i'm using this method ...
UIImage *img=imageview1.image;
UIImageWriteToSavedPhotosAlbum(img,nil,nil,nil);
...
I'm setting out to create an app where it will use 7-10 instances of a custom class, lets call them "books" each class will consist of a number of pages, a title, a int of how many pages a book contains and possibly some notes of the author associated with a specific page.
My question is what is the best way of creating these objects. i...
Does anyone know of an app that implemented an in-app subscription?
EDIT
====
Just to be clear I'm referring to implementing an in-app purchase of type "subscription" as apple defines it and not implementing a consumable and calling it subscription.
=====
I thought about how the subscription model can be implemented and always ends...
If I have a UITableView in edit mode, w/ reordering turned on, it seems I can't move some (but not all) cells into some (but not all) empty sections. For example, if I have this layout :
Section 1
apple
banana
Section 2
doberman
Section 3
Section 4
Then I can move 'doberman' into any slot in section 1 (except after 'banana'), b...