repeating

[IPhone] how to set repeating-background image to UITableCell

Dear all, When I set repeating background image to a UITableView by using the following code is ok: tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bg.png"]]; but when I use it to set repeating-background image to a UITableViewCell by following code, nothing happen, I don't know why, I also cannot set...

Recommend best approach in this situation.

I'm experimenting with MVVM and I can't quite wrap my mind around it. I have a View (windows) that has several repeated controls. Let's say I have 4 textbox - button pairs. Their behavior should be the same, after pressing a button paired textbox says "Hello World!" I have tried several options I could think of: One ViewModel, 4 st...

How do I match a pattern with optional surrounding quotes?

How would one write a regex that matches a pattern that can contain quotes, but if it does, must have matching quotes at the beginning and end? "?(pattern)"? Will not work because it will allow patterns that begin with a quote but don't end with one. "(pattern)"|(pattern) Will work, but is repetitive. Is there a better way to do t...

PHP - Repeat Region

i have been trying to learn PHP Repeat Region... i have searched google but came across very complicated code samples, e.g & e.g, i would like if somebody be kind enough to provide a simple code sample... like what i am doing is i have a query which gets results and makes a list with result $results = mysql_query("SELECT names,age,nic ...

moving a path with a repeating Bitmap image in android

Hi, I'm currently writing an android side-scrolling game and am having trouble filling a path with a repeating bitmap image. I'm creating a path from a number of coordinates to make up the "ground" area. I have a character who is fixed in the middle of the canvas and screen and am moving the path to represent the movement of the characte...

Repeating iCal Events in AppleScript

How do I get all of the dates on which a repeating iCal event occurs in AppleScript? ...

Siebel CSSBCActivity.SetGridBeginEndDate or how to get all instances of a repeating action in eScript?

Hi, I would like to get all instances of a repeating action via a eScript bcAction query. What I already found out about repeating actions: I create an repeating action, repeat interval = daily I can see multiple instances for this action in Siebel calendar applet. If I query all actions by eScript, I get a single row for the repeat...

Repeating end of the month events on iPhone Calendar, problem for February

This is more of an usability problem/bug/question. I wanted to add an event to occur on the end of the month for every month. But if I choose October 31 and set Repeat Event -> Every Month, all months ending in 30 are left out (including 28-feb). So, I could solve this by putting the end of the month at 30, and only miss out on February...

assign tooltip behaviour to repeating links

HTML below is generated via ajax call into "purchase_content". I want to apply tooltip to each link in each row, can be up to 100 rows. This is code at moment but with no success. If I rollover each link twice tooltip appears but wont ever appear again. Any thoughts on addressing link on each row? <div id="purchase_content"> <div id...

Find longest repeating substring in JavaScript using regular expressions

I'd like to find the longest repeating string within a string, implemented in JavaScript and using a regular-expression based approach. I have an PHP implementation that, when directly ported to JavaScript, doesn't work. The PHP implementation is taken from an answer to the question "Find longest repeating strings?": preg_match_all('/...