Hello. I'd like to add a Calendar picker control to my iPad app that is similar in appearence and functionality to the Calendar picker control in the upper right corner of the native Calendar app on the iPad.
I've looked into a couple of the 3rd party frameworks that have Calendar controls like this (such as the Tapku Library), but beca...
I'm an Objective-C newbie and am enjoying reading/learning Objective-C in order to do iPhone development but I'm struggling to understand some of the code, especially the code that comes with the UIKit framework.
For example, take this line:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSelection:(NSInteger)section {
.....
I've been looking into creating a gallery mode in my application.
The functionality will be identical to the built in Photos App.
Here's the flow:
1. You touch on a thumbnail and ...
2. a modal view displays a large detail version of the image
3. You have the ability to scroll horizontally through all the images in the gallery while in...
I'm looking more for advice on the correct design for a view.
What I have is a UIScrollView that contains one or more custom Views I have created. My problem is, who reports to the scrollview what it's contentSize should be? I have the following:
UIView
+-UIScrollView
+-CustomView 1 with dynamic height depending on data
+-Cus...
I am using Open Source toolchain to compile my iPhone apps. So I have no Interface Builder or XCode. How would I setup the layout of widgets like UIButton, UITextView, etc. Also, how would I add an event handler to those UI widgets? Please remember that I don't have Interface Builder or XCode.
...
I have noticed that some applications (BeejiveIM) that you can put the red badge on a UITab. What message must be passed to add a badge to a tab?
...
I want to use Tabview for my whole app. However in certain view, I have more operations than I can fit in the navigator bar. So I thought of using Toolbar but toolbar should be located at the bottom, right? Toolbar looks weird to be on top of the tabview, and hiding tabview for one view doesn't really make sense. I guess I can go wit...
Basically I am trying to do the following but I'm stuck.
How do I get data from the addressbook and add them to a tableView. (no pickers)
I'm only interested in people who have an address in their AddressBook card. (so I want to ignore those entries that only have a telephone, IM, phone, etc).
Thank You
...
Hi,
I'm trying to select no tabs at all in my application. At first the first tab is selected, but I'd like to deselect it so no tabs at all would be selected.
Don't ask me why, it's just that way the client wants it! hehe
Thanks for your help!
PS: I already tried:
// rootController = UITabBarController
rootController.tabBar.sel...
Developing an iPad interface, I have a scenario where I have a UIViewController which manages a view that gets placed directly as a subview of the main UIWindow.
Before being placed in the UIWindow, that view gets resized to a non-standard size, let's say, 768x460, and positioned at the bottom of the screen.
When rotating the device, t...
I got a basic application where I want the action method of UIBarButtonItem to be in the parent controller. My view has been created programmatically, so I can't use IBAction.
RootViewController -> NavigationViewController -> NavigationView -> UIBarButtonItem
Here's how have done it for the moment, it works for now... but it's not a ...
Does anyone know if there is an open source project for an UIView element that acts in a similar way to the lock screen for the iPhone.
I am working on an app that has some sensitive data, and I want to add another layer of comfort for users, to be able to setup a 4 digit pin number on the app.
I've seen apps like LoseIt and Weightbot ...
I have a subclass of UIView which draws itself based on data held in a corresponding model class, which is a subclass of NSManagedObject.
The problem is, some fields in the data model (e.g. the position of the view) are already held in the view (i.e. the frame property in this case). I then have a data duplication/synchronization probl...
Hi all,
I am getting an warning while building my source code as follows:
/* com.apple.ibtool.document.warnings */
/Users/biranchi/Desktop/Hotlist v2.0/Classes/HLCheckinViewController.xib:6: warning: The separator style "Single Line Etched" is not supported on iPhone OS versions prior to 3.2.
What is this error due to ?
Thanks
...
I'd like to build an app with a tabbar in the style of Tweetie 2/Twitter for iPhone (that is, images with no labels). I can't see a way to do it with normal UITabBarController/UITabBar, and my current thinking is that it's actually a UIToolbar with a custom view controller that is pushing and popping views from an array to simulate the U...
Is there a good way to provide custom transitions between view controllers? For example, in the Photos app on the iPad, tapping on a photo album changes the navigation controller, but it also animates nicely into the grid of photos.
Thanks.
...
I have created UITextField in UITableViewCell in my app, and I receive strange memory leak with it.
When I launch my application and tap this UITextField - there is no problem with it. I can type text in English, no leaks at this moment.
But when I press globe button on a keyboard to switch to another language(for instance, Russian), I...
How do I arrange some UILabels and/or UIButtons of a variable length? I just want to add them to a UITableViewCell and they should arrange in a left-to-right flow, much like lines of text in a paragraph.
I only found possibilities to create lables with a fixed size and position using "initWithFrame:...". Same seems to be true for Inter...
I need to represent a linear process (think wizard) in an iPad app.
In principle I could use a UINavigationController and just keep pushing new controllers for each step of the process. But this seems rather inefficient since the process I'm modeling has no notion of navigating backwards so all previous views would pointlessly stay aro...
I am implementing a CATiledLayer into a UIScrollView. In the CATiledLayer, I have a function to draw the layers like so:
- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx {
CGContextTranslateCTM(ctx, 0.0f, 0.0f);
CGContextScaleCTM(ctx, 1.0f, -1.0f);
CGRect box = CGContextGetClipBoundingBox(ctx);
NSData *d...