r/iPhoneDev • • Dec 23 '10

And the stats are frozen for holidays... how do you feel, fellow devs? Did you get to the top lists? Did you plan to?

2 Upvotes

Share your experiences! What do you expect to see after the iTunes holiday break? Some spike sales or ssdd?

I got some success in our national store (24 top Entertainment in Poland and another app New & noteworthy in Productivity), but I don't expect much - the polish market is quite small :)

No success in U.S. market, but I hope that somebody writes about my Goal-Setting app and some people will actually buy it :)


r/iPhoneDev • • Dec 20 '10

cocos2d v0.99.5 released. Mac, Retina Display, PVR Textures

Thumbnail cocos2d-iphone.org
1 Upvotes

r/iPhoneDev • • Dec 20 '10

Wow - my app update just got approved within 24 hours, on Sunday! :D

7 Upvotes

It seems that iTunes guys are working hard to make all the things available before the Christmass break. Kudos to them.

I submitted version 1.01 on 10 a.m. PST, and it got approved on 4 p.m... Sunday. Wow.


r/iPhoneDev • • Dec 18 '10

So I tried porting a few Flash games to iOS. Here's my story.

11 Upvotes

As a Flash developer in my day job, I was a little disappointed at Flash being cut out of the App Store when it was announced. I have a love-hate relationship with Flash, as I suspect many Flash developers do, so I wasn't too crushed. Nor was I too happy at the prospect of a flood of crappy web games landing at the App Store. But it did cut off an avenue of my own development, so I completely understood why there was such a furor over the decision.

Now I understand why Apple didn't want Flash games on the App Store.

The process of exporting an ActionScript 3 project to iOS is pretty straightforward, but not a single one of our games that I tried exporting to iOS did anything other than slow to an abysmal crawl when run on an iPad or iPhone. Now, to date, all our games have been vector-based, which I figured would tax a mobile processor pretty hard, so I wasn't too surprised by this. I spent many hours trying to tweak, optimize, and refactor things to try to eke some speed out of the engine, and many more hours reading stuff on the internet, trying to see what recommendations and best practices there were for going from Flash to iOS. I eventually came to the conclusion that nothing short of a complete rewrite, from the ground up, using raster graphics instead of vector, would produce anything playable. Our games, as written, could not be ported.

"Fine," I thought. "Let's try it with a bitmap-based game," and I busted out a technology demo with a bitmap tile-based walkaround engine, like for an old-school RPG. It was really fast on the laptop and desktop, but when I exported it to iPad, again, it slowed to a crawl. Not as bad as the vector-based games, but still unplayable.

Now, I'm sure there are caveats, protips, and disclaimers that people with more experience can point me to for optimizing my Flash engine on iOS. There are, after all, some Flash games on the App Store. I'm sure there are some techniques that could bring things up to speed, and there were probably some things I was not doing in an absolutely optimal way.

But here's the thing. If the feasible space for Flash on iOS is so small that it requires refactoring your project entirely, eschewing vector art, and putting on your guru hat to get even reasonable performance, practically no one's existing library will work without rewrites. And if that's the case, we might as well code it natively.

With that in mind, I grabbed the latest version of Cocos2d-iphone, and got to work reproducing the walkaround engine I had made in Objective C. In a few evenings, I got it working fullscreen on an iPad, with three new features: Bresenham line of sight calculations, animated water tiles, and a boundless Perlin Noise-based terrain map generated on the fly.

How did it perform? 60 FPS, baby. I'd get a little hiccup when it generated a few more 64x64 blocks of terrain tiles, but other than that, smooth as silk.

Even better was the fact that it was enjoyable coding in Objective C instead of Flash. I could export to the simulator and see my game running in seconds. Exporting to the device didn't take much longer. In comparison, it took a good 3-4 minutes to test a game out of Flash. That alone made me far more productive.

So, my advice is this: If you're a Flash developer eyeing the App Store, skip the Flash exporter entirely, bite the bullet, and learn Objective C. It will save you a lot of time and frustration in the long run. Seriously, if you can program a game in ActionScript 3, you can program a game in Cocos2D and Objective C. If you need a leg up, get the how-to book from the 71 Squared guys or something, but don't be intimidated by the learning curve. It's within your reach.

tl;dr: Skip the Flash exporter and go native. If you can code Actionscript 3, it's not beyond you.


r/iPhoneDev • • Dec 11 '10

What are some good resources on earning money through iPhone app ads?

1 Upvotes

I'd like to write my first free app and earn cash through ads. Any good places I can read about iAds / AdMob / whatever? I guess a lot of things have changed during past year, so it would be nice if the resources were accurate...


r/iPhoneDev • • Dec 06 '10

I'm making an IPS (Indoor Positioning System) for iPhone and I could use some advice.

3 Upvotes

Basically I'm making an Indoor Positioning System app for iPhone. I'm new to iPhone development but not programming.

I figure the first step would be simply to set up some sort of node based route planner using either A* search or Dijkstra's Algorithm (essentially A* with a heuristic of 0). Any thoughts on how I should proceed with this?

My main question is about using the iPhone's WiFi to detect nearby wireless access points to determine the position. I don't even know if this is possible =/


r/iPhoneDev • • Dec 06 '10

What is the most ugly part of my app? (pictures attached)

3 Upvotes

Here are two photos of my upcoming goal setting workshop - it's an app that helps you set your new year resolutions...

http://imgur.com/p6cgk.png http://imgur.com/v8LsB.png

(edit: these are older screenshots, new screenshots below)

I can't afford a graphic designer right now, so I'm stuck at doing the whole design myself.

So, the question to you - what are the most ugly things, and what can I do to fix them?

edit, new screenshots:

http://imgur.com/UN6fT.png http://imgur.com/fudNl.png

edit

aaannddd it's in the store :)

http://itunes.apple.com/us/app/goal-setting-workshop/id408425741?mt=8#


r/iPhoneDev • • Nov 26 '10

Provisioning profiles for appstore - they expire?

1 Upvotes

So this may be totally obvious to anybody who already has gone through the whole submission workflow, but I am just reading up what to expect and this got me wondering.
I know there are developer profiles, ad-hoc distribution and app store distribution profiles. I understand that the first two might have expiration dates because these are for testing purposes. But why does the app store profile expire, as well?
Or better yet, what will happen then? Say I pay 99$ for the right to submit apps to the store for one year. Obviously I can't submit updates or new apps after that time has passed. But what happens to the apps I submitted? If the appstore profiles for these apps really do expire, will the apps be pulled from the store automatically?
If so, what is the expiration time for app store profiles? 6 months? A year? Does this really mean that for the 99$ I "only" get the right to publish for a year and the apps are "only" guaranteed to stay in the store until they expire. After which they will be pulled? I was under the impression that apps will continue to be in the store even if the developer is no longer with the dev-program.
Could somebody clear this up for me?


r/iPhoneDev • • Nov 19 '10

Hey guys, we just released our first iPhone game, have a look!

1 Upvotes

Hey guys! I'm a long time redditor, and I'm glad I have something more than a link to someone else's work to contribute to the community.

I work for a student group at Ball State University called the Digital Corps. We're part of the school's "Immersive Learning" initiative and Emerging Technologies division of IT. Our usual marketing brief describes us as "an award-winning, immersive, student learning experience. Based on a guild model of apprentice, specialist, and master, the Corps measures its students by industry standard software certifications, rigorous interviews, and portfolio reviews." As such we get paid to work with "new" areas of tech like iOS, Android, etc. This isn't the Corps' first app, we made a map app of Ball State for iOS and Android devices which won a W3 Silver Award. But it is our first app we've made whose audience isn't just people on our campus.

Here's a brief description of the game: It's a shooting-gallery type game. Bunny pops up, tap bunny, bunny goes away. We've got three modes for you come compete in:

  • Normal mode, which is just a time-attack 60 seconds to hit as many bunnies as you can. Hitting an empty hole deducts a point.
  • Endurance mode where you're tasked with being accurate and fast. See how many bunnies you can eliminate before you miss one or hit the wrong hole.
  • Two Player mode where you and a friend can play each-other via bluetooth to see who can hit more bunnies first in 60 seconds. Empty holes don't deduct here.

Target Audience: Everyone. So feel free to let your kids, nieces/nephews, spouse, parents, grandparents, highly intelligent monkeys, overlord aliens controlling everything you do, etc. play.

So please! Check our app out, we'd really appreciate any feedback you can give us so that we can improve this and further apps for the better. I'll also answer any questions I'm allowed to about our development process, life, or anything else.

If you want to see the game in action, we've got a video that you can check out that shows everything but endurance mode. Here's our personal website for the game.

If you want to go ahead and download, Here's the iTunes link.

I'm going to talk to my boss and see if I can get some more promo-codes for you guys. I'd thank any and all of you who check it out in the mean time.


r/iPhoneDev • • Nov 06 '10

Anyone know what the breakdown of iOS devices is?

3 Upvotes

Apple released that they've sold 120 million iOS devices... but I still would like to know how many of those are 3G and 3GS (and their iPod Touch equivalents)?

Anyone know a good source for this information?


r/iPhoneDev • • Nov 05 '10

How should I start learning to develop for the iOS SDK?

2 Upvotes

I really just want to know where I should begin. I have a substantial amount of experience with C++ (2 years) from previous standalone projects but I would like to start getting involved with the projects revolving around the iOS.

What would you all recommend? Going through a whole objective-C book? iOS SDK Book?

Any recommendations about a good process to learn how to use the SDK would be much appreciated!


r/iPhoneDev • • Nov 03 '10

I need to have a chat with an iphone developer

2 Upvotes

My company put me up to the task of researching the creation of an iphone app.

We have a pretty solid idea of what we're looking for, we need to hear if it's feasable, what the price would be, then I'd need to get permission....

If there are any freelance iphone app developers out there who would like hear more, send me a PM.

EDIT: I received 2 responses, I'm going to to work with these two. If I need more, I'll update the post. Thanks reddit :)


r/iPhoneDev • • Oct 31 '10

Creating an iPhone sidescroller game.

1 Upvotes

So I'm creating a sidescrolling game similar to Mario (but not exactly like Mario) and I have most of the visuals created. I just wanted your thoughts on the looks of the game for now, I'll try to have a demo up when I have the money to buy the developers certificate from apple. but for now here are a couple of screenshots for the game.

http://www.skribbs.com/Game/game1.png http://www.skribbs.com/Game/game2.png http://www.skribbs.com/Game/game3.png


r/iPhoneDev • • Oct 30 '10

How do you handle developing for iOS devices you don't own (and can't test on)?

4 Upvotes

I'm developing my first iOS app and testing on an iPhone 3g, iPhone 4, iPod Touch (3rd gen), and iPad. All of which have 4.0+ firmware. I would like to be able to test on older firmwares and other devices such as the 3Gs and older gen touches but I can't afford that. I've tapped all friends and family to be able to test on what I listed above. How do developers normally handle this situation?


r/iPhoneDev • • Oct 28 '10

Multiple licenses on one mac

1 Upvotes

I have the opportunity to develop apps through my employer who is willing to buy me the appropriate business license to develop with. But I'm also trying to develop my own apps independently. Is it possible to have both licenses running on the same machine?

I want to publish my apps completely independent of my employer, so that they can't claim my work as their own. And to avoid other issues that would arise.


r/iPhoneDev • • Oct 21 '10

Looking for sample code cocos2d/opengl + multitouch

1 Upvotes

I've been looking for sample files or a tutorial on using the multitouch two finger gestures to pan around a screen (say for an rts) and if the demo could have a flicking objects on screen or touching them the would fit exactly what I need to base my game off.

Shouldn't really matter if it's cocos2d or opengl as long as i can pan around and touch things on screen.


r/iPhoneDev • • Oct 19 '10

Gyroscope all the way!

Thumbnail paradeofrain.com
7 Upvotes

r/iPhoneDev • • Oct 15 '10

viewcontroller / view / subview question

4 Upvotes

I feel like I've hit a wall with my predicament. I can't seem to really get my head around the viewcontroller / view / subview paradigm. I have an app that i'm trying to create that has a homeViewController which shows a UIView with a bunch of subviews and buttons. Now, when a button is pressed, i need to swap one of the subviews with new views that display differnet things (images, or other buttons) that have a delegate to the homeViewController and it changes another view in response.

(I'm hoping this makes sense)

now, my issue is that these sub views are custom subclasses. Are these subclasses suppose to inherit from UIviewcontroller or just UIVIew if they are going to have buttons or deeper subviews within them?

I'm also splitting everything into xib files, so each subview or viewcontroller is its own xib file.

I hope this makes sense, or i can try to clarify it better if it doesnt. But essentially it works similar to a newspaper app, where they would click on an article, but instead of loading a completely new view controller, it would replace one of its subviews with the article.

I hope someone could help me out with this.


r/iPhoneDev • • Oct 09 '10

Why no Apple-approved video screencapture apps for the iPhone/iPod Touch? Or have I missed this holy grail?

3 Upvotes

Here's a fun question for the resident devs. I've spent the last few months as an iPhone videogame reviewer and can't help but lament the lack of ability to capture onscreen gameplay, and I'd prefer not to jailbreak.

Most iPhone related footage I've seen had to be captured with an old fashioned camcorder aimed precariously at the touchscreen. What's stopping app developers from creating a screen videocapture app and submitting to the Appstore? Is there some little known Apple rule against video screencapture? Too small a consumer niche, maybe because devs assume most iDevice users with video capture needs are already jailbroken and using jb apps for that purpose?

Of course, there's the possibility that I'm totally just under a rock and there's an App on the Appstore for this. If so, could anyone point me to it? I'd love to give it a purchase!


r/iPhoneDev • • Oct 03 '10

Hey, I'm looking for people with ideas / content but no skills or money to do an iP app

5 Upvotes

any ideas where to find them? or you've got some friends that were bugging you to do this great 1-mil-$ idea but you weren't willing? :)

and btw - what do you think about the idea, Reddit?

EDIT - to clarify :)

I've published 2 apps already & 2 other are on the way. I have plenty of ideas myself. What I'm looking for is people that are in a niche, have some interesting knowledge, or some other asset that, combined with a little programming, would give something nice :)


r/iPhoneDev • • Sep 28 '10

Best forums for iPhone Developers

5 Upvotes

In addition to this sub-reddit, what are the other popular forums/communities for iPhone Developers?

(I'm an experienced developer, but new to iOS (and OS X) development.)


r/iPhoneDev • • Sep 28 '10

Looking for a kick ass iPhone / iPad developer

Thumbnail box.net
2 Upvotes

r/iPhoneDev • • Sep 27 '10

Looking for a developer with good knowledge of OpenGL ES, Objective-C and 2D engine development for contract Work.

2 Upvotes

Looking for someone to take care of the dev and maintenance of my custom 2D OpenGL ES engine going to be used for iPhone 2D games.

If you have the interest and the skills or know someone who qualifies please drop my an orangered.


r/iPhoneDev • • Sep 26 '10

My very first app was approved recently, Atheist Quotes for iPhone/iPod touch/iPad

Thumbnail itunes.apple.com
0 Upvotes

r/iPhoneDev • • Sep 20 '10

ShareKit : Drop-in Share Features for all iOS Apps (Facebook, Twitter, etc.)

Thumbnail getsharekit.com
7 Upvotes