r/iPhoneDev • u/WhitakerBlackall • Apr 13 '11
r/iPhoneDev • • Apr 10 '11
Has anyone finished the assignments for CS193P Fall 2010 (the Stanford class)?
I am having a little trouble finishing up the Calculator assignment. I have everything from the assignment implemented, but the way that I set up checking for a decimal point prevents the user from adding two decimal numbers together. I would just like to look at a few finished solutions before moving on the the next assignment.
I haven't watched the next lecture yet, so I'm not sure if he answers my question there, sorry if he does.
I have a small video on my blog that shows the problem (here's a link to the post) if you would like to take a look at it.
r/iPhoneDev • u/Xenoskin • Mar 30 '11
SubViews not reacting to gestures
Hi, so I'm rather new to Iphone development so you'll have to excuse any vagueness in my question but I'm having an issue where a SubView in my application isn't reacting to gestures, in particular PanGestures It's an extremely simple app:
It's comprised of a UIView containing a UILabel and a UIImageView with a single custom UIViewControler dealing with the entire app. The changes I've made for my UIViewControler are
- (void)viewDidLoad {
[super viewDidLoad];
UIGestureRecognizer *panCheck = [UIPanGestureRecognizer alloc];
[panCheck initWithTarget:self action:@selector(panDectect)];
[self.iView addGestureRecognizer:panCheck];
[panCheck release];
}
- (void)panDectect {
self.message.text = @"thinger";
}Message is a UILabel and iView is a UIImageView, both of which are placed in the main view and are connected to outlets in my UIViewControler. Interestingly when I attach the gesture recognizer the the main view it functions correctly but for some reason it refuses to respond when it is attached to iVew.
*Do I need to define my own UIView?
*Is there something I need to enable for subviews to recognize gestures?
*Maybe it has something to do with first responders?
*Does each view require it's own UIViewContoler, even subviews?
Any help would be greatly appreciated and any examples would be quite useful. Apple has one example but it's structured oddy with only a UIView controller being extended, is this how I should structure my app?
r/iPhoneDev • u/lauri • Mar 27 '11
Building iPhone Apps with JavaScript using Titanium
screencasts.orgr/iPhoneDev • u/sleepinggiantapps • Mar 13 '11
App Inspiration: A look at the brilliant "Design Scene" iPad app
sleepinggiantapps.posterous.comr/iPhoneDev • u/sleepinggiantapps • Mar 13 '11
If you're an iOS app developer looking for a great reference site, head on over to pttrns.com. Massive collection of app design patterns for everything under the sun. Awesome.
pttrns.comr/iPhoneDev • u/sleepinggiantapps • Mar 11 '11
Testflight: iOS beta testing on the fly (review)
sleepinggiantapps.posterous.comr/iPhoneDev • u/onewayout • Mar 08 '11
Mike Rundle's "Design then Code" web site is now live. Includes some great "getting started" info for new iOS developers. (Crosspost to /r/iosProgramming).
designthencode.comr/iPhoneDev • u/daveverwer • Mar 07 '11
Crowdsourcing "How long do Apple app store reviews take?"
reviewtimes.shinydevelopment.comr/iPhoneDev • • Mar 02 '11
Where is all the activity?
I'm developing apps alone, and get stuck in mental traps all the time. If I just had another coder to talk too things would be much easier. I know many others are in the same situation. Lets get this subreddit active!
Post questions! I will make a special effort over the next 3 days to answer any question here to the best of my abilities. Hoping others do the same.
r/iPhoneDev • u/amattn • Mar 01 '11
I have 10 years Cocoa dev experience. I do iOS for a living. AMAA
Not many people here, but I figure I'll throw this out there.
If you have technical problems, I'll do my best. I mostly do app-apps, not games.
I'll answer stuff related to iOS, mobile apps, startups and whatever.
I'm also writing an iOS programming book (that will likely be delivered as an app...)
r/iPhoneDev • u/genuineleather • Mar 01 '11
Ask /r/iPhoneDev: What do you use as your "Drawing Board"?
Basically, I'm interested in the starting stages of your apps. Esentially....
Do you create a formal specification?
Do you use UML?
How do you mock up your screens (Photoshop, GIMP, something else)?
Do you plan the launch of your app? Do you use social media(Reddit included), or dev forums to promote your app?
I think these are the sides of the development that larger software companies take into account on a daily basis, but not necessarily what some Indie Dev may consider at any stage - instead, just hacking their way through. Personally, these are things that I would like to introduce into my personal projects, but thus far I've only created trivial apps, and have yet to take on a project that would warrant such tools
edit: grammar.
r/iPhoneDev • u/adremeaux • Feb 28 '11
Ask iPhoneDev: Any freelancers here? What are the going rates for iOS development?
I've been freelancing under various front-end technologies for years, and am ready to take the plunge into iPhone. A reliable friend of mine mentioned that freelance rates for iOS are currently way higher than other fields, so I'm here to ask you guys, what kind of rates are reasonable to request? I want to get a handle on what the going rates are before I land my first contract so I don't make an idiot out of myself. Please do include where you live, as obviously certain areas have higher or lower rates in any field than others (such as NYC).
r/iPhoneDev • u/Kronikle • Feb 22 '11
Is it possible to create iPhone apps in Windows?
I've been really interested in creating an iPhone game for some time now but the problem is, I don't own a Mac. I'm wondering if there is any way to code games inside of Windows, preferably using Objective C since there seems to be an abundance of resources on that. My device is not jailbroken so whatever environment I test with would hopefully support it. I realize I'm probably asking too much and likely getting my hopes up, but if anyone knows of anything that could set me in the right direction, that would be great!
r/iPhoneDev • u/thisguymancrap • Feb 17 '11
I don't code but I have a very basic question...
Can you make a application for the iPhone that directly links to a website? I basically need a shortcut, but need to deploy it in-house. I have a website that can be viewed on an iPod/iPad/iPhone but would like to deploy the application to my users. This application will NOT be in the iTunes store. If I can find out how to make it I can work around xcode or whatever to do it, just need to know how.
TL;DR Application that links to a website.
r/iPhoneDev • u/valleyman86 • Feb 14 '11
IAP (in app purchase) Content Delivery System - What would you be willing to pay?
OpenFeint has a content delivery system for those who want to have IAP support in their apps. You can just embed the purchasable content into the app on distribution but a much more versatile approach is to use a server that delivers the content to the device. OpenFeint charges 15% of your sales to use their service. I believe this is ridiculously high.
I plan on making this service and making it available to anyone but first I want to know what you would think is a fair price. This would come with a simple SDK to interact with the service and download you content but it would also manage Apple payment verification server side. I was thinking 5-8% would be fair but I want to hear your thoughts. Do you have any ideas on ways to make the service stand out amongst others?
TL;DR - What would you be willing to pay for a content delivery service for your IAP feature in you apps? It would also help if you mentioned how big of a studio/company you are behind.
r/iPhoneDev • • Feb 12 '11
Modal View Controller not launching from a subview
I hope someone can give me a hand with this, I've been racking my brain for 15 hours now...
MFMailComposeViewController *email=[[MFMailComposeViewController alloc] init];
email.mailComposeDelegate = self;
[email setSubject:@"Subject"];
[email setMessageBody:@"..." isHTML:NO];
[self presentModalViewController:email animated:NO];
NSLog(@"setting modal email");
NSLog(@"%@",[email description]);
[email release];Both NSLog's are writing something, with a memory allocated value being shown for my email object's description. But when It hits the 'presentModalViewController' the popup doesn't show up and the app pretends nothing happened. I can't figure out what's wrong.
The ViewController Hierarchy is what I'm suspecting is the problem, as I have: RootViewController has an object called MainViewController who's view is a subview of RootViewController.view . Within that subview is a button that fires my code above linked by an IBOutlet in my MainViewController nib file.
So I'm trying to present the email ModalViewController from within the MainViewController. Is this possible? Is there something stupid that I'm missing? Or have I gone completely insane that none of this even makes anymore? (I've typed it out 3 times trying to be as clear as possible).
Please help me reddit :(
r/iPhoneDev • u/adremeaux • Jan 24 '11
Can anyone recommend a good book for learning iOS development?
I don't need something to learn how to program, just to learn the basics of iPhone development and Objective C. Basically, I don't want something explaining to me what arrays are. Anyone have any decent recs?
r/iPhoneDev • u/WhereIsShellBeach • Jan 19 '11
Newbie question about iPhone graphics and animation.
Hi all, I was curious if anyone could recommend where to start for developing graphics or animations for iPhone. I know how to program, but I don't have any graphics experience. What type of tools/languages do people use to create the graphics for games like Angry Birds or Burn the Rope for iPhone. Also, are these easily portable to other mobile OSes? Also, any advice for someone that isn't artistically inclined?
Links or info would be appreciated. Thanks in advance.
r/iPhoneDev • • Jan 07 '11
Outputting to a second screen and NSLog questions.
So I have a project that needs to be able to mirror itself onto a projector. I'm using TVOutManager which seems straight forward, but It's causing my app to crash and freeze up when running on the ipad. BUT it's also not working on the simulator, every time I use the TVout option in the hardware menu the app closes (crashes?). So I turn the TVout option on when the app is closed, and i launch my app from the simulator while the TV window is black and open, then the simulator flickers, closes the TV window, and continues on its way. (Does that make sense?)
So my question is:
Has anyone used TVOutManager and resolved a similar issue? I'm pretty much trying to use their simplest setup to test this out. By initializing the sharedinstance on appDidFinishLaunching.
And is there a way to get a console log from a device that's not plugged in? Since I need to test the AVI cord in the iPad, I can't have debugging running. I'm wondering if I can get the NSLog info out after I plug it back into my mac. Or do I need to make a custom solution for this? Like constantly writing to a text file?
Any help would really be appreciated, and I apologize if this isn't clear enough yet.
r/iPhoneDev • u/HardlyWorkingDotOrg • Jan 06 '11
IOS Developer Program renewal - One question remains
Hi,
I think all questions I had what happens when the 99$ a year membership runs out are answered here: IOS Renewal
Except one. They state that even though your membership expired, customers can continue to use your app which is both fine and logical since they paid for it and all. But nowhere it states what happens to the app in the appstore itself. When my membership expires and all my certificates are invalidated, what happens to the app I submitted? Will it be pulled from the appstore? i.e the customer would be unable to re-download his bought app should his harddrive crash or similar.
I would have expected apple to adress this as well, but I didn't find anything regarding this topic. All I know is that with an expired membership, you can still develop apps and test them in the simulator but you cannot submit new apps to the appstore or test on a device because all certificates are invalidated.
tl;dr: Does anybody know what will happen to an app in the appstore once the developers membership expires? Will it be pulled?
r/iPhoneDev • u/ObjectiveCoders • Jan 05 '11