Re: NSXMLParser attributeDict enumeration

2009-04-27 Thread Martijn van Exel
On Mon, Apr 27, 2009 at 19:05, Quincey Morris wrote: > On Apr 27, 2009, at 08:10, Martijn van Exel wrote: > >currentNode.lat = (double)[attributeDict objectForKey:key]; >> ... >> Member 'lat' is a double. The above does not work. 'Pointer value

NSXMLParser attributeDict enumeration

2009-04-27 Thread Martijn van Exel
#x27;'. I guess it wouldn't, because I'm casting an (id) to a pointer to a double I think, but I'm not sure how I should be doing this. martijn van exel -+- mve...@gmail.com -+- http://www.schaaltreinen.nl/ ___ Cocoa-dev mailing list

Re: Logical and - second operator evaluated?

2009-03-01 Thread Martijn van Exel
On Sun, Mar 1, 2009 at 22:10, Shawn Erickson wrote: > On Sun, Mar 1, 2009 at 12:59 PM, Martijn van Exel > wrote: > > [...] > > > * The method invoked by the first timer also dismisses the UIActionSheet. > > * In the didDismissWithButtonIndex callback, the two time

Re: Logical and - second operator evaluated?

2009-03-01 Thread Martijn van Exel
On Sun, Mar 1, 2009 at 21:34, Clark Cox wrote: > On Sun, Mar 1, 2009 at 12:06 PM, Martijn van Exel > wrote: > > Hi devs, > > > > I can't seem to get away with > >if(timer!=nil && [timer isValid]) [timer invalidate]; > > if the tim

Logical and - second operator evaluated?

2009-03-01 Thread Martijn van Exel
s not the case in (Obj)C? -- martijn van exel -+- mve...@gmail.com -+- http://www.schaaltreinen.nl/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderat

NSXMLNode and NSXMLElement

2009-01-20 Thread Martijn van Exel
into NSXMLElement objects and then traverse the array that the attributes method of NSXMLElement yields. This somehow does not feel right. Is there a better way, given this bit of XML inside an NSXMLNode, to deserialize the attribute values in the different nodes? -- martijn van exel -+- mve

Re: [SOLVED] NSComparisonResult, 'double wildcard'

2009-01-12 Thread Martijn van Exel
(range.length > 0) [soortenFiltered addObject:cellTitle]; } The first line is to prevent NSRangeExceptions when a very short string enters the loop as comparison base. Thanks, Martijn -- martijn van exel -+- mve...@gmail.com -+- http://www.schaaltreinen.nl/ Op 12 jan 2009

NSComparisonResult, 'double wildcard'

2009-01-12 Thread Martijn van Exel
r. Can I implement this using a NSComparisonResult? Thanks, -- martijn van exel -+- mve...@gmail.com -+- http://www.schaaltreinen.nl/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

[XCode] Generating method stubs

2009-01-09 Thread Martijn van Exel
rtijn van exel -+- mve...@gmail.com -+- http://www.schaaltreinen.nl/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.appl

Re: [iPhone] [SOLVED] Update table cell text on selection in other view

2009-01-08 Thread Martijn van Exel
Well, I figured it out, I need to put a [self.tableView reloadData]; in the viewWillAppear handler. Now it works fine. Thanks! Martijn On Thu, Jan 8, 2009 at 13:11, Martijn van Exel wrote: > Hi all, > > I have a UITableView with a cell that the user taps to select an item from

[iPhone] Update table cell text on selection in other view

2009-01-08 Thread Martijn van Exel
refresh the view? How? Thanks, Martijn -- martijn van exel -+- mve...@gmail.com -+- http://www.schaaltreinen.nl/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Conta

Re: feed an NSCharacterSet to numberOfRowsInSection delegate method?

2009-01-07 Thread Martijn van Exel
On Wed, Jan 7, 2009 at 15:19, Graham Cox wrote: > > On 8 Jan 2009, at 12:26 am, Martijn van Exel wrote: > > But [NSCharacterSet uppercaseLetterCharacterSet] returns a NSCharacterSet >> and not an NSArray, is there a way (without doing an iteration) to turn a >> NSCharact

feed an NSCharacterSet to numberOfRowsInSection delegate method?

2009-01-07 Thread Martijn van Exel
rns a NSCharacterSet and not an NSArray, is there a way (without doing an iteration) to turn a NSCharacterSet into an NSArray of charachters? Martijn -- martijn van exel -+- mve...@gmail.com -+- http://www.schaaltreinen.nl/ ___ Cocoa-dev mailing list (

Re: [iPhone] Search control like in App Store

2009-01-06 Thread Martijn van Exel
09 at 06:44, Robert Marini wrote: > UISearchBar is a standard cocoa touch control. > > -rob. > > > On Jan 6, 2009, at 7:35 AM, Martijn van Exel wrote: > > Hi all, >> I'm looking to implement a user selection from a large number of items >> contained in a

[iPhone] Search control like in App Store

2009-01-06 Thread Martijn van Exel
be a good idea. Is this a standard control in the iPhone SDK or is this something to implement from scratch? Any other suggestions on how to approach this UI challenge? Thanks, -- martijn van exel -+- mve...@gmail.com -+- http://www.schaaltreinen.nl/ ___