Totally new to Objective-C and Core Data, coming from a .net background I really want to put all of my fetch requests into some sort of class that I can call, preferably statically to get my objects, something like:
ObjectType *myObject = [CoreDataDAL GetObject:ID];
Anyone have a pattern to implement this?
I am hacking my way through ...
I have a folder structure that I would like to have in my bundle.
If I create groups on Xcode and drag files to them, these groups are not real folders and the files will be all placed at the same place.
Then I tried dragging the folders from finder directly to the project on Xcode. This time, folders were created inside the project s...
How can i make a new CFAttributedStringRef with increased font-size based on a CFAttributedStringRef i got?
In my specific project i would like to dynamically increase the size.
If i call CFAttributedStringSetAttribute(...) on the whole string using CTFontRef the string will lose it's formatting and the new will replace all the others ...
I'm working on a simple program that will do some database pulls and return results for cars. The fact that I'm using an iPad is becoming the issue as I need to focus on "making it pretty" for the end user. So far I've come up with a simple search screen that has a couple of segmented controls to select between new or used and car,truck,...
Solved
Hey all,
I'm currently working on a Split-View Based Application for iPad. I want the Root View Controller to navigate to another TableView, and from there, the users can select the appropriate row and display the information in the DetailViewController. I managed to code the navigation part in (The Root View Controller navigate...
I'm having lots of trouble displaying a fullscreen movie in my iPad app and then allowing the user to dismiss it with either the Done button or the "un-fullscreen" button on the player controls.
Initially I was using MPMoviePlayerViewController for the movie presentation, but I wasn't receiving the enter/exit fullscreen notifications fr...
Hi,
I'm just new to the ipad development world, and have come across the Instapaper app, and I just love the UI on this app.
Specifically,
Can you tell me what techniques would be used in creating a Navigation Controller with toolbar items, all on a transparent background?
How did they do it?
This seems like a common pattern in ...
Hi,
I have an iPad application that builds and runs perfectly the first time. But if I exit the application and open it again, the interface is completely unresponsive. If I exit and open another time, it never gets past the splash screen.
What's strange is that if I wait a minute or two before opening it again, it always runs fine.
A...
I have looked at http://stackoverflow.com/questions/1493950/uiscrollview-any-thoughts-on-implementing-infinite-scroll-zoom, but it didn't exactly address my issue. I'm puzzled, though, because I would guess that other folks haven't seen my problem, so maybe it has to do with the details of my code. The sample code provided by Allisone ...
Does anyone know if the onbeforeunload event is supported on the iPad and/or if there's a different way to use it?
I've tried pretty much everything, and it seems like the onbeforeunload event is never triggered on the iPad (Safari browser).
Specifically, this is what I've tried:
window.onbeforeunload = function(event) { event.return...
Are NavigationViewControllers as relevant in ipad applications as in iphone apps, or are they less relevant as the window has place for multiple elements and not strictly a stack?
...
Hello
The iPad and iPhone4 both are armv7 (not 6), and I'm curious to know how to specify two separate icon sizes given that the target architecture is exactly the same. Specifying two in a typical universal app is simple, however I'm not sure how to do this. I can't find it in the documentation, although it may be! (Sorry if it is; ...
For the iPad imaging app I am writing I have include the ability to email a friend or send a Twitter tweet for world-of-mouth marketing. Here is what my Twitter widget currently looks like:
Am I asking for trouble by using the Twitter logo in this manner? Will this send up a red flag in the Apple app approval process?
Thanks,
Doug
...
My iPhone app (http://hexalex.com) is not universal but it has a feature that I'd like to enable for people playing on iPads. Is there some way to detect that you're running on an iPad in compatibility mode? The UIDevice methods for detecting machine specs all return the values you would get on an iPhone (on the simulator at least). T...
I have two different views (portrait and landscape) for each screen (home, user info, etc).
The difference between portrait and landscape views is enough to have each one into a different view and view controller because it's not only a relocation and resizing of controls.
To perform the switching between the two views I have a contain...
Hi there,
We intend to launch a free iPhone/iPad app on the AppStore.
The content will actually be accessible thanks to a subscription model (login/pwd authentication in iPhone app).
The subscription (about 100$ a month) is handled via a dedicated web server.
If used without subscription, this app will provide minimum value.
Does any...
-(void) setOrientation
{
UIInterfaceOrientation toOrientation = self.interfaceOrientation;
//toOrientation = [[UIDevice currentDevice] orientation];
if (toOrientation == UIInterfaceOrientationLandscapeLeft ||
toOrientation == UIInterfaceOrientationLandscapeRight )
{
}else if(toOrientation == UIInterfaceOrientationPortrait
...
I am a developing an iPad application in which i have to use CTRunDelegate. Ihave defined all the the callbacks that are required viz CTRunDelegateGetAscentCallback , CTRunDelegateGetDescentCallback , CTRunDelegateGetWidthCallback. I dont know how to use CTRunDelegateRef object that I am creating. Right now what is happening is that my c...
Hello All,
I am working on IPad application. As per requirement On detail page of SplitviewController I am adding one customized UIBarButtonItem leftbar button on navigation bar.
Now in Portrait mode when I click this button I am getting following error
Terminating app due to uncaught
exception
'NSInvalidArgumentException', re...
Hey everyone,
I'm making a checklist program using UITableView and I managed to implement everything up to selection and making a checkmark appear. However, when I scroll away from the cells. The checkmark disappears.
I have the following code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath...