xcode

Can someone please explain CMTime for iOS4?

I would like to use AVPlayer Class' seekToTime. It takes a CMTime. I read the CMTime reference from Apple but its is very hard to understand. Can someone please give me an example on how to use... - (void)seekToTime:(CMTime)time ...

What are the first things people do when starting a new iOS project?

Hello, world! I recently started diving into iOS development and am happy to announce my first free app has been approved by the App Store (don't worry, I won't spam it on here)! Now that I feel more comfortable with building iOS apps, I'd like to begin building out some ideas I have for more advanced, paid apps. As such, I need to co...

How to exclude frameworks in simulator builds in Xcode

How can I exclude libraries which I have compiled only for the iOS device architecture (libssh2, etc.) from an Xcode project when I am compiling the app to run on the simulator? ...

How to include multiple Xcode projects in a master project

I recently asked about the wisdom of using multiple Xcode projects to separate project components. I have decided to follow this route in my next project. I attempted to add another project to a master Xcode project by dragging and dropping it into the sidebar. However, when I #import any of the classes that are defined in the added p...

What is the convention used when abstracting iPhone/iPad code into a Universal Binary?

So I am currently working on a universal binary for an app that is to be ran on iPad and iPhone. The differences are basically only UI changes. So, with that in mind, I have a class called ConfigurationController that is of type UIViewController. I then sub class ConfigurationController into iPadConfigurationController and iPhoneConfigu...

How do You structure an iPhone XCode project?

What are good ways of building groups/folders? I've tried by feature (UI for a feature plus model etc) with a common group. I've also tried by UI, model, etc. The former keeps like things together which fits the iPhone paradigm nicely. The latter means I jump around a bit more. What do you think? ...

Universal iOS app crashing on iPhone/iTouch 3.1.3 due to UIPopoverController

I just updated my app so that it's a universal app. In doing so I added support for UIPopoverController in a certain place. Now the app seems to be crashing on 3.1.3 iPhone/iTouch devices: OS Version: iPhone OS 3.1.3 (7E18) Report Version: 104 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000001, 0xe7ffdefe Crash...

How do i test my app data persistence during development?

Hi, My question is related to the following three questions. http://stackoverflow.com/questions/2099747/iphone-what-happens-to-previous-data-when-app-is-upgraded-to-new-version http://stackoverflow.com/questions/1223696/how-the-application-upgrade-works-in-iphone http://stackoverflow.com/questions/941479/upgrading-iphone-application-v...

XCode Editor Bug? Insertion point and lines change

I've posted a video of this happening to YouTube, this was the easiest way to show what is actually happening. That video is at: http://www.youtube.com/watch?v=XwXbilxME1A Around 6 seconds in I was just typing, no key commands or anything. All of a sudden some lines disappear, some appear, and the insertion point changes. This is only a...

Pass a variable between lots of UIVIewControllers

Hello, In my iPhone app, there is a setup assistant which helps users to input a lot of data. It's basically a UINavigationController with lots of UIViewControllers in it. Now, at a certain point, I want to access a variable that the user entered in the first UIViewController he saw. I could pass the variable between every UIViewControl...

How do you make UIWebView Look exactly like mobile safari when a page loads? (not super zommed in)

Hi guys , how do i make my uiwebview look exactly like safari when a page loaded , take for example this page http://www.240-voltz.com/ it does not load like safari where i can choose where to zoom in? cant upload images need 10 reps ! ...

Tabbing between XCode projects?

Good Morning Ladies and Gentlemen! Let us say that I have two XCode projects open on a Mac and I am going back and forth between them. Is there any hot key that can do this (rather then constantly using the mouse). Something analogous to COMMAND + TAB to flip through applications. Thank you! ...

UIPickerview reloadComponent

Hi, I'm developing a three component pickerview where the labels in each component very according to the selection of other components. The problem I have is that the labels will change, but only after the component has been turned ie. it doesn't change immediately as I thought it would when the code is executed. How can I get the labe...

Getting iphone developer certificate/ Submit Certificate Signing Request

Hello good people, I'm currently using the Development Provisioning Assistant to setup my certificate so I can run my app on my iphone. I'm at the part in Setup called Submit Certificate Signing Request and it is asking me to submit the file that I generated using KeyChain Access. The problem is that it says "The Certificate file select...

UIPOPOVER for Iphone? or is it fake ?

Can anyone take a look a this ? : http://www.woowoomac.com/storage/awesome-note-iphone-note-todo-app-menus.jpg?__SQUARESPACE_CACHEVERSION=1268581762429 As we know iphone 4.0 does not support UIPopovers - any idea how did they manage to create a pop over like that ? ...

How can I increase the font size in Interface Builder

Is it possible to increase the font size in Interface Builder? The ridiculously small side of those fonts, specially on the Inspector, are giving me headaches. ...

iPhone, how do I set the background of a view like the settings screens gray style ?

I'm creating a settings screen, its a child screen and won't push to another screen. I don't want to use a table view. But I need to have the screen look like other settings screens, with the gray sort of background, like this... ...

@synthesized property only sets once, (null) every other time

I'm writing my first splitView controller app for the iPad (and indeed my first major Xcode project), and I've run into a problem I don't understand. When the app loads, theres a list of items in the RootView, and when the user taps on one, it loads another list (a second level). I create a new RootViewController and push it into the v...

Managing Recurring Events (Not EKEvents)

Hello everybody, I'm trying to create an iPhone app for helping me managing my class schedule. This means that I will have various subjects recurring regularly at a given time. So I might have one subject recurring every 2 days, whereas another is recurring every 3 weeks. I'm wondering now what the best way to storage this is, so that i...

Can I download and run XCode & Apple iOS 4.1 on Apple Power PC G5?

I am new and want to start developing apps for iPhone, but I can't afford the high price tag of one of Apple's Intel machine right now, can I start developing iPhone apps on Apple Power PC G5 or Apple MacBook Pro with Intel? Thanks for your help ...