|
Dr. Glasscock posted:How fast did the tickets go last year? Wasn't it a week or something? I'm trying to get my employer to send me this year. Never been, would be awesome. Yeah, somewhere between 8 and 12 days, if my poor memory serves me. Hopefully I will be going as well.
|
# ¿ Mar 28, 2011 15:28 |
|
|
# ¿ Apr 29, 2024 17:17 |
|
Dr. Glasscock posted:drat, turns out my employer was definitely gonna send me. Nobody thought it would sell out in 6 - 12 hours. I figured it would be a day at least. . Next year I guess. Same boat. Got approval to go lat night, went to reg. this AM, and
|
# ¿ Mar 29, 2011 15:25 |
|
UncleGuito posted:I'm not sure if this is the right thread for this, but here we go: If nobody answers here, the Web Design / Development thread deals with questions like this fairly regularly, FYI. Regardless, you'll need to post a URL or CSS / HTML for anyone to be able to help.
|
# ¿ Apr 10, 2011 19:05 |
|
modig posted:http://paulpeelen.com/2010/10/01/programming-in-xcode-iphone-ios4-hello-world-tutorial/ To only answer part of your question: for some things / frameworks, they use straight C. EDIT: curse you Ender.UNF
|
# ¿ Apr 21, 2011 15:59 |
|
UISplitView question time! I have a split view, all is well. When the user does something in the detail (right) side, I change both viewControllers of the split view a la: code:
Is there a way to force the 'willHide' business when switching out view controllers in a split view? If not, how would I go about manually re-creating it?
|
# ¿ Apr 29, 2011 21:33 |
|
pokeyman posted:Just to be clear, you don't receive the ...willHide... message at all? Or does it not come with a bar button item? Assuming the former, are you sure that you have the correct delegate assigned before you change the view controllers? Correct, I do not recieve it at all (until I physically rotate.) Since it behaves as expected every time after the initial change, the delegate is set properly. I'll give your workaround a whirl, thanks for the suggestion.
|
# ¿ Apr 30, 2011 16:23 |
|
I'm working on a app with another developer, using hg as our source control. The one problem we're having is when we add files or groups. Is it possible to have files and groups somebody else added show up in the project? It's annoying to have to do a pull / update then manually drag new files into the project, and it would be wonderful to have them groups the same in both environments. Obviously it's not a huge deal, but it would be nice to have one less hoop to jump through.
|
# ¿ May 2, 2011 18:11 |
|
I have a conceptual question: The app I am working on shows a list of video mail messages. The messages (video files) are being downloaded in the background and I want to provide an activity indicator to the user, preferably a UIProgressView. I know how to do this in a "normal" view, so tying the progress bar to the DL isn't the problem, it's how do I deal with this in a table view? Do I make a single UIProgressBar and hang onto it in the class, and add it to the cell view of the appropriate cell (but then what happens if / when I reuse that cell?) Do I give every cell a progress bar, and only show it in the appropriate cell? If so, how do I handle it's delegate as it pops in and out of existence on scroll?
|
# ¿ May 6, 2011 18:46 |
|
Ender.uNF posted:I basically do this exact thing in Storm Sim. There will be some number (eg: 8) created by the table view at any one time and they will always exist. Have the progress reported to your controller as the delegate. The UIProgressView itself doesn't need a delegate, it just has a progress property. Perfect, thanks a ton for the insight.
|
# ¿ May 7, 2011 01:28 |
|
Doc Block posted:Ugh, had what I thought was a great idea for an app, but checking the app store it seems there are already a bunch of apps with similar functionality. Ideas are a dime a dozen. Great execution is the difference maker.
|
# ¿ May 8, 2011 01:59 |
|
Forgive the attachment, but I can't describe this in any other way, and I can't figure out how to for this. The top is my app almost ready to rock... the only thing left to do is drag the UISplitView delegate outlet to the right side ViewController (which supports UISplitViewDelegate) so it can handle rotation. I do that, and when I launch, I see the bottom. I'm sure I'm doing something dumb... but what? EDIT With "fix": After pulling my hair out all afternoon, I started doing stupid things, and one worked. In the MainWindoe-iPad.xib file, I clicked on the left side Navigation Controller item. In the Attributes Inspector, I un-checked then re-checked 'Shows Navigation Bar' and 'Shows Toolbar' and now it works as expected. ?? Lumpy fucked around with this message at 00:00 on May 10, 2011 |
# ¿ May 9, 2011 22:58 |
|
Another iPad question! I'm porting an iPhone app to be universal, and the root view controller is the Master (left) VC in the split view controller. On app launch, the app sees if a user is logged in, and if not, displays a modal login window. in the iPhone and iPad - Landscape mode, works like a charm. However, on the iPad in portrait mode, nothing. I'm guessing since the master view isn't being displayed, it can't show the modal window? Any suggestions on either getting that modal to display, or am I going to have to scrap what I have? I made a method in my app delegate to show the modal, but still nothing. WHY??? code:
Lumpy fucked around with this message at 02:42 on May 12, 2011 |
# ¿ May 12, 2011 01:22 |
|
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.) Given that without a machine of his own, he'd have to hook his iPad up to a friend's computer, which would then sync his device to that machine upon installing the app, which is also not desirable, so the best solution is probably for him to buy a cheap-rear end netbook or something?
|
# ¿ Jun 1, 2011 19:57 |
|
OHIO posted:Good stuff Inevitable Ross posted:More good stuff Thank you guys for the info. I think I'll use the one that has the colossal jerk seal of approval.
|
# ¿ Jun 2, 2011 00:06 |
|
Ender.uNF posted:Anyone used an html page and web view for their app help file? I can muddle my way through design but I'm really just looking for a product, template, or whatever that will make it easier to create a page that doesn't look like absolute dog-crap. I've been scouring template sites but can't find anything suitable so far. Simple is good. Send me your HTML and I'll make it purdy for you, since you've answered many questions of mine here.
|
# ¿ Jun 29, 2011 02:08 |
|
Mighty Zoltar posted:Hopefully i have an easy question. Not being a developer yet, i dont appear to be able to find an answer to my question anywhere else thus far. Yes, you can have your app launched with a custom url scheme (something like someApp://blah) and you can parse that URL to obtain information / do different things on launch based on it. Google 'iphone sdk custom url scheme' for lots and lots of info / examples, etc.
|
# ¿ Aug 14, 2011 18:10 |
|
stray posted:Why is it so hard to find some decent sample code that shows you how to build an app in Xcode 4 that uses a UITabBarController at its root, where one of the tabs gives you a UINavigationController that lets you drill down from a UITableView to a UIView? I just did this on Monday. I am on my phone right now, but I will make a sample project and a quick step by step when I get home in 8 hours or so. I had some trouble at first, but I was making it far too hard, it turned out to be one of those "oh, duh!" things.
|
# ¿ Aug 17, 2011 11:45 |
|
stray posted:Why is it so hard to find some decent sample code that shows you how to build an app in Xcode 4 that uses a UITabBarController at its root, where one of the tabs gives you a UINavigationController that lets you drill down from a UITableView to a UIView? Sorry for the delay, I blame my kid. Sample project is up here: https://bitbucket.org/veddermatic/navitab/overview But here's the step by step, which is so simple, I was able to figure it out!
|
# ¿ Aug 19, 2011 00:07 |
|
Kekekela posted:Thanks! God why didn't I get this excited for classes when I was actually in school... Probably the same reason I didn't. Beer and college girls.
|
# ¿ Nov 15, 2011 14:48 |
|
Kekekela posted:Has anyone worked through assignment two of the current CS193p class? Where do you get the assignments? I am on lecture 13, but I'd love to do the homework. I assume it's somewhere obvious and I am am blind.
|
# ¿ Dec 22, 2011 23:50 |
|
Core Data Question: I'm syncing data with a server: I want to create new managed objects if they don't exist, and update ones if the modified date for the entity on the server is newer than the one on the device. I've read through this: http://developer.apple.com/library/.../TP40003174-SW1 Since I dont' have any relationship data here, it seems that their suggestion to "..create managed objects for the entire set and weed out (delete) any duplicates before save using a single large IN predicate" would be appropriate for adding new people. Question is, how do I do that? how do I then get the duplicates and update based on that timestamp? Core Data baffles me.
|
# ¿ Jan 25, 2012 19:41 |
|
Ender.uNF posted:Well F-me, I just accidentally refreshed and lost a huge reply I wrote up... but basically they tell you how to do this in the article you linked. You just need to identify what your key field(s) are... in their example, they are using employeeID. The fact that the DB results and server results are both sorted in order allows you to use two indexes with a loop and walk forward, increasing the db list index only if the matching record is found in the server list, otherwise add a new record to the context and continue with the next pass until you reach the end of the server list. You just need to compare the dates as you go. If you can provide more detail I might be able to offer more help. Thanks for the reply. I saw their looping structure, but that comment I quoted from the article made is seem like there was a Magic Line of Code™ where I set a single predicate on my new objects and when I save, dupes dont' happen. I'll probably take you up on your offer of more detail when i get closer to implementation, righ tnow just thinking through it all.
|
# ¿ Jan 26, 2012 20:27 |
|
Question about filtering an array on multiple criteria / parameters. Say I have an array of objects (returned form a Core Data fetch request, if that matters) with the properties name, color, hatSize and I am displaying them in a UITableView to the user. If I let the user filter by color, that's simple: poop out a filtered array: code:
I'm sure this is a problem / pattern that's been done a billion times but I can't the right terms, and I'm too dumb to see what will be the very obvious solution when someone takes pity on me and points it out.
|
# ¿ Feb 17, 2012 04:31 |
|
Gordon Cole posted:How about keeping an array of predicates and adding/removing them as the user adds or removes filters? Then just apply all of the predicates to generate your filtered array. It would probably be more efficient to store a list of conditions and create a single predicate that includes all of them, actually. Thanks. I don't know how I missed NSCompoundPredicate while reading up on this, but your post made the light-bulb go on.
|
# ¿ Feb 17, 2012 15:34 |
|
Core Data question: I read the guides but there are so many my brain hurts, so I just want confirmation on something that I think is right. Say I fetch a list of managed objects, show them to the user. User taps on a row and I move to a detail screen, passing a reference to the object anObject associated with the row they tapped. On this screen the user can edit some property; say name They then press a button move to the next screen, again, passing a reference to anObject, and here the user could edit some other property if they wanted, but instead, they hit the 'cancel' button, which should un-do any changes to anObject and zip them back to the list. Since I have not saved the context, no changes were made to the local store, so I should do: code:
and then I can release my reference to anObject and all is well. I cannot do code:
Because the list screen still is showing it, yes?
|
# ¿ Feb 20, 2012 00:48 |
|
I am going insane. Why won't my modal UIImagePicker go away?code:
EDIT OK, I "solved" it, but I still have no clue why this works, but my orignal attempt doesn't. In ApplicationDelegate: code:
Lumpy fucked around with this message at 22:01 on Mar 13, 2012 |
# ¿ Mar 13, 2012 21:49 |
|
Zhentar posted:It might help if you included how you present the UIImagePicker. Sorry: code:
|
# ¿ Mar 14, 2012 15:33 |
|
duck monster posted:Apple needs to integrate mercurial in. Its basically git for dumb people like me. We use Mercurial at work for iOS dev (and everything else now) and it's absolutely lovely.
|
# ¿ Apr 2, 2012 01:32 |
|
Is there a way to have apple remove bad reviews? Apparently, Anderson Cooper mentioned an app with a similar name to one of mine on his show today, and people are buying mine, then giving it a one star review because it doesn't do whatever the heck the app he showed / talked about on his show did. Anyone have any experience with that sort of thing?
|
# ¿ Apr 10, 2012 23:07 |
|
Ender.uNF posted:hosed. Edit your description and update notes to point out that you are a different app and ask people to stop giving you 1-star reviews. Or pull your app from the store for a few days. Hooray. Since my app is old, my screenshots are 320x480, which is no longer acceptable, so I can't edit my description quick.... The good news is, if only a small percentage of people ask for refunds, I made a lot of money today.
|
# ¿ Apr 11, 2012 01:52 |
|
So if you were about to start on a Cocos2D based game in the next month, would you use version 2, or still stick with 1.0.1?
|
# ¿ Apr 20, 2012 05:06 |
|
EDIT: Hit post and saw I had a typo in my source... thanks thread!! EDIT 2: I had posted a "why the hell isn't my image showing upp???" question.. turns out it's because I typoed the file name. What's odd is that it was working fine in the simulator. My image was named Landscape.png and my define was: code:
Lumpy fucked around with this message at 18:16 on Apr 27, 2012 |
# ¿ Apr 27, 2012 18:10 |
|
I am trying to put a Movie player on the screen centered horizontally (equal space left and right), that *stays* centered when I rotate the device. My thought process is: figure out where to put movie view, put it there, set auto-resizing masks to flexible left and right margins. Objective-C code:
Should I give up and just move the view manually in a rotation handler, or am I doing something stupid?
|
# ¿ May 25, 2012 20:49 |
|
Having never done sotryboards yet (new things scare me!) I have a question about handling transitioning to views works. I have an app with a "main screen" and you can select an item from several categories, and you go to a details screen for the item. The item has a relationship to other items that is shown on the detail screen that they can tap on to view details on *that* item, which may or may not be in the same category. If it's in the same category, I can just stay on the same view controller and swap out the item. If it's in a different category, I need to bring up a different kind of view controller. Since the user can in theory do an "endless" chain of views (picks an item of type A, then on it's details screen picks item of type B, then on the new details screen picks item of type C, then picks item of type B, etc.) I want to avoid a UINavigationController since I could get hundres of views on the stack. So, my question is if I have transitions / segues to these new views without a UINavigationController, will they "replace" one another, or will I be building up a huge stack of view controllers if the user follows a chain of 100 items?
|
# ¿ May 31, 2012 20:56 |
|
I'm sure some have seen this before, but I just saw this on Daring Fireball and thought this thread would enjoy: http://textfromxcode.tumblr.com/
|
# ¿ Jun 7, 2012 14:28 |
|
Built 4 Cuban Linux posted:Yeah, I was fine with them being part of a view controller, the problem was just interface builder forcing you to design within that 480x320 window. Oh well! Thanks, I may throw some nibs in You can set the view to 'freeform' in the inspector and you can resize it willy nilly. Alternately, you can trash the stock view your XIB gets created with and drag in a new UIView and it will be set to freeform by default. Just remember to hook up the file's owners view outlet to the new one if you do it that way. Lumpy fucked around with this message at 05:11 on Aug 2, 2012 |
# ¿ Aug 2, 2012 05:09 |
|
Core Data question: I have an abstract entity 'Foo'. I have, for sake of example, two other entities 'Bar' and 'Baz' that have Foo as their parent entity. Bar has a 'title' property, and 'Baz' has 'firstName' and 'lastName' properties. In a magical, perfect world, I'd like to performa a fetch request with the entity description being 'Foo' and then some predicate along the lines of "title BEGINSWITH[c] %@ OR firstName BEGINSWITH[c] %@ OR lastName BEGINSWITH[c] %@", someString But since Foo does not have those properties, it obviously fails with a valueForUndefinedKey error. Since I'm on iOS with a SQLite data store, I can't do a predicate with block on the fetch request, so the two kludgy solutions I've thought of are adding a 'searchName' property to Foo, and setting when I set the name of Bar and lastName of Baz, but then I lose searching by firstName, unless I add a searchName2 etc. and that's ugly. The other is to just get everything in the initial fetch request and filter that with a block predicate, but I'd like to avoid that for performance reasons. Anyone solve this problem better than my initial stabs at it?
|
# ¿ Aug 4, 2012 17:30 |
|
pokeyman posted:Have you actually run into performance problems, or are you assuming filtering one big fetch request will be slower? How many objects are we talking about? The reality of the situation is that there are 5 different entities, and there will be thousands, possibly tens of thousands of them. I am probably prematurely optimizing; as that is one of my bad habits, and I implemented it as a 'fetch all and filter w/ block predicate' today, but haven't gotten to generating 1, 10, 100 thousands records to see how it performs versus doing 5 different ones and merging the results after. Thanks for that suggestion, by the way... for some reason that never occurred to me
|
# ¿ Aug 5, 2012 02:00 |
|
Ender.uNF posted:
Thanks for all that. Just for an FYI to anyone who cares, I wrote a test app and starting at 1,000 records going up to ~35,000 doing multiple fetch requests and merging / sorting the results was twice as fast as one big fetch and filtering it. Both are fast though.... code:
|
# ¿ Aug 5, 2012 03:34 |
|
|
# ¿ Apr 29, 2024 17:17 |
|
Ender.uNF posted:I'm assuming you tested this on the device and not in the simulator. Yes. Although I think my first-gen Core 2 Duo Mac mini might be slower than the iPad 3 I tested on.... =) And thanks again for your reply, I'm changing my model today to move those properties to the base entity and having transient ones point to them.
|
# ¿ Aug 5, 2012 18:16 |