Re: UIView animation

2010-09-02 Thread Wyatt Webb
On Sep 2, 2010, at 3:11 PM, Christian Ziegler wrote: Hi all, I could use your help because I'm running out of ideas! Here's the situation. I got this custom view on screen which I want to remove from the screen by moving it outside the left border of the screen. However at the same

Re: NSTimer not working in a multithreaded application

2010-09-02 Thread Wyatt Webb
On Sep 2, 2010, at 7:37 PM, Abhijeet Singh wrote: Hi,I am working on a multithreaded software that runs on a medical instrument. The software has 2 parts. GUI and worker threads (worker threads sends commands to instrument). The GUI is developed using ObjectiveC and Cocoa. Worker threads

Re: [iPhone] Breaking content of NSMutable array into two arrays.

2010-09-01 Thread Wyatt Webb
On Sep 1, 2010, at 5:26 AM, Tharindu Madushanka wrote: Hi, I have a NSMutableArray that holds objects and they are sorted according to an integer value, either 1 (One constant), 2 (another constant). User { NSString *name; NSInteger state; } Now i want to split the content into two

Re: [OT]making app new modules display from within the app and not from the app store.

2010-08-26 Thread Wyatt Webb
On Aug 26, 2010, at 4:05 AM, Gustavo Pizano wrote: Hello all, I know this isn't the right place so please don't behead me if I offend you, but if you could help me, Im will be happy to hear you. We are developing an application with interactive children modules. The idea is that each

Re: [iPhone] NSPredicate formatting questions

2010-08-21 Thread Wyatt Webb
On Aug 21, 2010, at 3:40 PM, Sandro Noël wrote: while in a member resultset i want to filter the content on category names. [NSPredicate predicateWithFormat:@(caregory.name IN %@),[selections objectForKey:kPredicateFieldNamesArray]]; I crash with: 'unimplemented SQL

Re: [iPhone] NSPredicate formatting questions

2010-08-21 Thread Wyatt Webb
On Aug 21, 2010, at 9:15 PM, Sandro Noël wrote: Oh my god, I feel ashamed... that's what I get for working late. I'm sorry. No worries. It happens to us all. Better than chasing it for another couple of hours!___ Cocoa-dev mailing list

Re: Commit Editing Changes as I Type

2010-01-06 Thread Wyatt Webb
There's an option on the binding labeled Continuously Updates Value in IB. Make sure that's on. (or set it in the options dictionary if you're using the API call to bind). On a separate note, instead of a timer to check for changes, try setting a delegate on that NSTextField and watching for

Re: iPhone Creating a months view

2010-01-04 Thread Wyatt Webb
On Jan 4, 2010, at 10:35 AM, Eric E. Dolecki wrote: I am creating an iPhone view that has 12 months of views in it starting with January. For each subview (month) I need to get the 1st day of the month (which calendar day it falls on as an int). For instance Jan 2010 begins on a Friday

Re: NSZombieEnabled giving rise to new bug

2009-10-13 Thread Wyatt Webb
On Oct 12, 2009, at 9:01 AM, Bill Bumgarner wrote: On Oct 12, 2009, at 8:50 AM, Nick Rogers wrote: 2009-10-12 20:28:53.651 My Program[33987:6263] *** -[CFArray count]: message sent to deallocated instance 0x1149a9310 [Switching to process 33987] [Switching to process 33987] sharedlibrary

Re: Multiple Images into one UIView

2009-03-12 Thread Wyatt Webb
Do you mean in some way other than embedding multiple UIImageViews or multiple CALayers? Unless your images are very small, I doubt the overhead of the UIView objects is what's causing a memory problem. Maybe I'm misunderstanding. Can you give us more detail about the current arrangement

Re: Multiple Images into one UIView

2009-03-12 Thread Wyatt Webb
small images per line. These are all one one scrollable view. I am using a UIImageView to position each one. Just trying to get efficient as possible here. On Mar 12, 2009, at 4:48 PM, Wyatt Webb wrote: Do you mean in some way other than embedding multiple UIImageViews or multiple CALayers

Re: Resetting the TableView

2009-01-08 Thread Wyatt Webb
Have a look at viewWillAppear/viewDidAppear and viewWillDisappear/ viewDidDisappear on the UIViewController class You could clear out the table data on the disappear step (so you aren't holding data you don't need) or wait for the appear phase to set up your data before it's shown. These

Re: Help reading cocoa docs - finding info about return objects and autorelease / memory management.

2008-12-11 Thread Wyatt Webb
Have a look at the Memory Management Programming Guide for Cocoa. Especially the section on Object Ownership and Disposal. The trick is in the name of the methods you call to get the reference. Generally, methods with alloc, new, or copy in the name are making you responsible for

Re: Animated subviews

2008-11-23 Thread Wyatt Webb
I have not done this myself, but I understand that you can find the actual positions of things in the middle of an animation by querying the [ [ myView layer ] presentationLayer ]. This is a version of the layer that has all of the current values in the middle of an animation. As long as

Detecting File Existence over FTP

2008-09-02 Thread Wyatt Webb
Hi all, I'm still getting comfortable with NSURLConnection and the related classes as well as the CFStream classes for reading and writing files via FTP. I think I've got it down, now, but I have one hiccup I'd like to solve. What's the best way to see if a file already exists on the