|
smug forum rear end in a top hat posted:I need help with something basic: Don't worry about it! The -didFinishLaunchingWithOptions is what Apple recommends now, but wasn't introduced until iOS 3.0, so older tutorials won't have it. It lets you handle fancy remote notifications and stuff, but really don't worry about it for now, just return YES and it'll be the same as -didFinishLaunching You sound like you care about details and understanding the fine points, which is awesome, so if you want more info read up on both of those methods in the documentation.
|
# ¿ Mar 30, 2011 17:47 |
|
|
# ¿ Apr 29, 2024 12:04 |
|
Xenomorph posted:Can I install Xcode 4 over Xcode 3 and keep using the iOS 4.2 SDK?? You should be compiling with the latest SDK, but you can set your "Deployment Target" to something earlier so you can run it on your phone.
|
# ¿ Apr 3, 2011 18:23 |
|
Xenomorph posted:It let me pick "iOS 4.3" or "Latest iOS (4.3)". No option for anything earlier. I of course got an error when it put the app on my phone, since I'm not running 4.3/4.3.1 When you change the deployment target you'll get more options for "Run", check out these screenshots (Xcode 4) but poo poo you're using Xcode3, I think you'd have to go into the Project Settings? iOS 2.0 is ancient, you'll learn the fundamentals but there's been a ton of changes/improvements.
|
# ¿ Apr 3, 2011 19:06 |
|
Hey guys I'm at Voices that matter this weekend, are any of you attending?
|
# ¿ Apr 8, 2011 16:38 |
|
NOG posted:Thanks. I'm going to see how a per-frame basis works out and how much I can push it. The "dt" will be the time since the last call. So if you're updating position it should look like code:
|
# ¿ Apr 15, 2011 20:02 |
|
NOG posted:So how can you have a method checked every frame? Yeah that will be every frame, cocos2d will hook into CADisplayLink if it can.
|
# ¿ Apr 15, 2011 21:12 |
|
Bob Morales posted:Beginner question: For UIKit I'd use UIImageView, because it's so easy and you can tap into sweet UIView animations. However if you're going to have a ton of objects on the screen moving around and you want to have accurate positional info about them you might want to use OpenGL (cocos2d is pretty great). It's more helpful for "real-time" games. (as opposed to turn-based)
|
# ¿ Apr 18, 2011 03:10 |
|
Tapjoy's going down (maybe), if you don't know about it, it's like those "sign up for these free trial offers to get a new iPod!" http://www.tuaw.com/2011/04/19/apple-banning-pay-per-install-apps-from-the-app-store-says-tapjo/ I'm glad I avoided that bullshit, do anyone of you have any inside info about this? OHIO fucked around with this message at 16:47 on Apr 19, 2011 |
# ¿ Apr 19, 2011 16:44 |
|
modig posted:^^ Sorry no idea ^^ Have you tried having the TV out open in the simulator before starting your app?
|
# ¿ Apr 25, 2011 03:54 |
|
modig posted:Now I've actually done this, and it seems to work so far. Thanks. What do you want to do with the second display? Speaking of external displays, I had some custom code to show some stuff on it back on iPad 1, but I've been getting reports of that breaking the cool iPad2 external mirroring feature. Is this a known conflict or is my code just bad? How can I detect if they're doing the iPad2 mirroring?
|
# ¿ Apr 27, 2011 20:42 |
|
Some patent troll is asking for licenses on people using in-app purchases: http://cultofmac.com/ios-devs-under-fire-by-patent-troll-for-offering-in-app-purchases/94916 I hope Apple helps him out, I don't know what the gently caress I'd do. OHIO fucked around with this message at 17:43 on May 13, 2011 |
# ¿ May 13, 2011 17:30 |
|
mmm11105 posted:Two quick questions for anyone who may know: Why not just make a website if that's your skill set? The iPad can use websites no problem. You get 100 devices for a regular account.
|
# ¿ May 15, 2011 21:33 |
|
OHIO posted:Some patent troll is asking for licenses on people using in-app purchases: http://cultofmac.com/ios-devs-under-fire-by-patent-troll-for-offering-in-app-purchases/94916 Apple is not going to stand for the in-app-purchases patent troll! http://www.macworld.com/article/160031/2011/05/apple_legal_lodsys_letter_text.html
|
# ¿ May 23, 2011 20:46 |
|
Lumpy posted:Double checking something I am 99.999998% positive of: I have a client who I am building an app for, who does not won a computer, only an iPad. When I generate an Ad Hoc build .ipa file, there is no way to install this on a device w/o using a computer and iTunes, right? (I know it's possible w/ jailbreaking and whatnot, but his device isn't jailbroken, nor do I wish to go down that path.) You can distribute your adhoc builds from a website. I have my clients visit a page on their device and it installs it no problem, no syncing, no iTunes. I use https://github.com/TheRealKerni/HockeyKit - just the server-side stuff though, I haven't messed with the client-side autoupdating functionality.
|
# ¿ Jun 1, 2011 20:52 |
|
Bob Morales posted:Anyone have ideas (or even have this problem) on preventing peoples fingers from getting 'lost' on the touch screen in games? I agree, but ideally you could design the game around a touch interface and not put in a fake game controller.
|
# ¿ Jun 4, 2011 20:40 |
|
Vinlaen posted:However, I'd also like suggestions on a good book for an experienced developer on learning Objective-C (instead of a book that is for a new programmer, etc). I know this isn't a book but Apple has a nice primer on Objective-C.
|
# ¿ Jun 15, 2011 16:58 |
|
lord funk posted:Hacky question ahoy: You can write to your /documents folder inside your app. So on the first run, copy 'thefile.txt' to your /documents, then always load that file from /documents and edit it as necessary.
|
# ¿ Jun 16, 2011 01:12 |
|
NOG posted:I'm including the header of the subclass in the class I'm using it with if that's what you're asking. Is the class @interface defined in that header? Or in the .m file?
|
# ¿ Jun 21, 2011 00:42 |
|
Yodzilla posted:I've inherited an iPhone app and I've got maybe 12 hours of experience in Xcode 4 and Objective C so I'm kind of stuck slamming my head against a wall for some issues I've encountered. The biggest problem I'm having is figuring out the best way to display the contents of an RSS or XML feed in a nice dynamic layout and have each item be clickable. I've found some example code online but half of them don't compile for whatever reason and there doesn't seem to be any quick any easy way to parse XML in Objective C. If anyone can point me in the right direction it'd be much appreciated. As a rundown of what I'm trying to do: I use (and recommend) ASIHTTP for grabbing web stuff, and hpple for parsing (because you get XPath). But Google's objective-c XML parser is also great. For your requirements it sounds like a Table View is a natural fit. Also Ray has a tutorial related to your situation.
|
# ¿ Jun 21, 2011 16:34 |
|
trigger9631 posted:I'm working on a research project for work about mobile apps and would like to interview some developers about marketing/promotional strategies for apps. It would be a quick interview, just five questions or so, and I could do it over phone or email. It's simple, just get featured by Apple.
|
# ¿ Jul 18, 2011 17:37 |
|
xelfer posted:I thought this thread might find this link useful: http://mattgemmell.com/2011/07/25/network-link-conditioner-in-lion That looks incredibly useful, thanks for the heads up!
|
# ¿ Jul 26, 2011 01:20 |
|
pokeyman posted:I can't figure this thing out about a table view cell's editing accessory view. I've made a little project to show off the issue I'm having. If you have a minute, could you run it in the simulator for me? Selecting a cell toggles its editing state if you want to play with it. That's weird. I messed around with your sample code, and although I couldn't come up with why, I can reproduce the effect with this code. (just used in a View template project) code:
code:
|
# ¿ Aug 15, 2011 19:41 |
|
Akuma posted:Application failed codesign verification. The signature was invalid or it was not signed with an Apple submission certificate. The last thing I check if this fails is my scheme. Are you 'Archiving' it? Edit your scheme and see what the build configuration is under the 'Archive' section on the left.
|
# ¿ Aug 17, 2011 17:00 |
|
Sinestro posted:Why is my loving UITableView being retarded and not displaying the data? I have implemented UITableViewDataSource on my controller, so what the gently caress? How are you initializing your ForumListViewController? Maybe you accidentally called the wrong initializer. Are you sure your 'forums' array is being populated?
|
# ¿ Aug 18, 2011 18:24 |
|
Funso Banjo posted:Apple are driving me crazy. What does your app do?
|
# ¿ Sep 6, 2011 20:41 |
|
CAT ON THE COUCH!! posted:Let me clarify the problem: What's "subscriberDetailsXML"? Also I can't speak for the other people, but if you make a simple project that just consists of the issue it's easier for me to poke around at it. Otherwise I gotta do that myself and
|
# ¿ Sep 23, 2011 19:09 |
|
zorm posted:They should really be doing the same thing that they did with Siri though, and buy out the app/company that produced it so that the original developers get their fair share. And education apps. They're not making their own, and are in fact heavily promoting 3rd party education apps to schools!
|
# ¿ Oct 5, 2011 19:39 |
|
lord funk posted:I got tired of not having a good image of accelerometer / gyroscope motions for the iPad, so I made my own. Figured I'd share if anyone else wanted it for a manual or something: Awesome, thanks!
|
# ¿ Oct 7, 2011 20:25 |
|
stray posted:My question is: Why do I necessarily care about retaining str if I'm simply passing it in as a parameter? If we use the setPosessionName: method, which sets posessionName equal to str, then why would posessionName lose its value if str was released after setPosessionName: was called? Because 'str' and 'possessionName' are pointers! (see the * in NSString *) They're not basic data types like 'int'. possessionName won't lose its value, that is, the memory location of where it's pointing. But the memory at that location becomes worthless when 'str' releases it (if that is the final release that causes a dealloc on that NSString *)
|
# ¿ Oct 10, 2011 19:14 |
|
lord funk posted:Where do you begin when EXC_BAD_ACCESS just points to your main() instead of a specific variable or function? There are 10 million things that could be happening here, but there has to be a way to see what's really causing this. Have you tried Zombie mode with the profiler in the simulator? That might give you some helpful info.
|
# ¿ Oct 13, 2011 17:27 |
|
code:
You need to allocate memory for your object before you can initialize it, even if it's an instance variable. So do what you already did in your next example: code:
|
# ¿ Oct 18, 2011 17:15 |
|
lord funk posted:I'm in the habit of doing something like this: Won't the compiler complain about you declaring a local variable when you declared it as an instance variable?
|
# ¿ Oct 18, 2011 17:47 |
|
BigRedDot posted:Yup, I got rejected for Austin and worked on an app in the app store as well. Lame. I got into Seattle! I don't know what their criteria is though. I also went to the one in November 2009 if that matters?
|
# ¿ Oct 28, 2011 19:05 |
|
Sulk posted:Can someone explain why linking windows is so unbelievably loving difficult? I'm trying to create a main window for this map application the book wants me to make because I'd rather just learn how to make the window than use their hacked file. I keep getting errors saying that the nib was loaded but no view was set. Will you post your "applicationDidFinishLoading" method?
|
# ¿ Oct 29, 2011 16:05 |
|
Check out https://github.com/davedelong/DDMathParser It's made by a guy who works at Apple.
|
# ¿ Nov 6, 2011 03:18 |
|
I think you should not worry about it for now, and instead try and make your code clear and comprehensible and functional. Then later on in the project when you want to increase the performance, run a profiler and optimize the bottlenecks. From my personal experience I regret pre-optimizing, it just hasn't been worth it.
|
# ¿ Nov 18, 2011 02:33 |
|
Funso Banjo posted:Anyone have their paydate on Connect yet? I don't have a date yet either but I'm not worried. Did you get featured? Congrats!
|
# ¿ Nov 23, 2011 17:00 |
|
Malloreon posted:Quick question. I'm making a class for a deck of playing cards. This is in the deck init/shuffle method: Did you initialize your deck array?
|
# ¿ Dec 13, 2011 21:12 |
|
What does your draw call look like? Your first 3 points are a straight line, not a triangle.
|
# ¿ Dec 14, 2011 03:37 |
|
|
# ¿ Apr 29, 2024 12:04 |
|
nolen posted:
The 'GL_TRIANGLES' is the primitive you're drawing. Here's info on how you're supposed to specify different primitives.
|
# ¿ Dec 14, 2011 05:16 |