Welcome to the RareWire Community Board. Use the field below to add your own contribution or find answers in existing topics. 
+1
Отвечен

eval statement for comparing times

jenifercmartin 11 лет назад обновлен icahill (Administrator) 11 лет назад 4
+1
Ищется ответ

Clearing a textfield

Lcdrgreg 11 лет назад обновлен icahill (Administrator) 11 лет назад 3
0
Отвечен

Closing Sub-Wire (from "Call Sub-Wire Tutorial")

WriterRyan 11 лет назад обновлен icahill (Administrator) 11 лет назад 4
+1

How do you place a custom pin on your current location?

JohnWeez 12 лет назад обновлен icahill (Administrator) 12 лет назад 3
Trying to place a custom designed marker on a map onto the current location "blue dot." It'd be ideal if this happened after touching a button.
+1
Отвечен

Image amination

alprom rs 12 лет назад обновлен 12 лет назад 2
What is the best way to animate just one image, with control of your position and speed?
I want just to make a loop crawl of a image (moving from left to right, in the end return to the first position), controlling their speed, with some buttons.
Jorge
+3
Отвечен

What's the best way to split the screen between a fixed-height section and an expandable section?

thillsman 12 лет назад обновлен icahill (Administrator) 12 лет назад 2
Ok, last one for tonight.

I've got a screen where I want a header image always at the top of the screen. It's 224 pixels tall. Then I want a vertically-oriented tableview to fill the rest of the screen below it. I could calculate the actual pixel height remaining, but I'd like it to expand to fill the iPhone 5/larger Android phones.

Here's what I tried:


<panel name="categoriespage" alias="CATEGORIESPAGE" width="100%" height="100%" alpha="1" background="#ffffff">

<panel name="topbar" alias="HOMETOP" width="100%" height="224" background="333333">
<image name="image" alias="IMAGE" url="" width="100%" height="100%" />
</panel>

<panel name="tableholder" width="100%" height="[eval:100%-[object:HOMETOP.height]]" bottomof="HOMETOP">
<tableview name="categoriestable" rowheight="70" width="100%" height="100%" datasource="categoriessource" orientation="vertical" paginate="no" align="center" valign="center" margin="40" >
<object class="categoriesclass" index="[param:dataSourceIndex]" title="[param:name]" code="[param:code]" />
</tableview>
</panel>

</panel>


My eval statement produces some value, because it shows the tableview, but it's much shorter and leaves a blank area on the screen. Any tips?
+1
Отвечен

Is it possible to alternate background colors on tableviews?

thillsman 12 лет назад обновлен icahill (Administrator) 12 лет назад 3
Ok, tricky one for you (maybe). Look at the iOS 6 Music app. Navigate into an artist, then an album. All the songs are listed, and the backgrounds alternate by row. I want to do that on a tableview. Here's what I tried:



<class name="itemsclass">
<panel name="[param:index]" width="100%" height="70" align="left" _index="[param:index]" background="666666" padding="5" onclickup="showdetails" lhs="[eval:Math.pow(-1,[param:index])]" operator="e" rhs="1">
<text name="title" text="[param:title]" width="80%" align="center" valign="center" alignment="left" height="fit" font="Avenir" size="24" color="#333333" decode="yes" maxlength="65" endcap="..."></text>
</panel>
<panel name="[param:index]" width="100%" height="70" align="left" _index="[param:index]" background="333333" padding="5" onclickup="showdetails" lhs="[eval:Math.pow(-1,[param:index])]" operator="e" rhs="-1">
<text name="title" text="[param:title]" width="80%" align="center" valign="center" alignment="left" height="fit" font="Avenir" size="24" color="#333333" decode="yes" maxlength="65" endcap="..."></text>
</panel>
</class>



The key parts (I think) are the lhs/operator/rhs attributes. It's my understanding that using those attributes is basically and if statement that will create the panel (if true) or not (if false). The logic goes like this: if -1 to the Xth power (where X is the index) is equal to 1, it's an even numbered row and should be #666666 in color. If it is equal to -1, it's an odd numbered row and should be #333333 in color.

In theory, I think this makes sense. In reality, it's only showing one background color (though it shows all the items from the datasource). Any glaring mistakes or helpful tips?
+1
Отвечен

Can you specify secondary and tertiary fonts?

thillsman 12 лет назад обновлен icahill (Administrator) 12 лет назад 2
Can you pick a few fonts as a text attribute, so the device can fallback if the primary font isn't supported? For example, Avenir isn't built into iOS 5 (and I'm sure it's probably not a native Android font either), so can I make it fallback, or should I use a platform tag?
+1
Отвечен

Show/hide a panel depending on the pager page

jakelisby 12 лет назад обновлен icahill (Administrator) 12 лет назад 5
I'm trying to say on page1 of the pager, don't show panelX , but on everything else, show it. What would that action look like?
+1
Исправлен

Adhoc builds

jakelisby 12 лет назад обновлен icahill (Administrator) 12 лет назад 7
I'm trying to take an adhoc build of my app so I can test outside of Fusebox. I have uploaded both certificates but for some reason still have the same screen asking me to upload them. Is there something else I should be doing?

+1
Отвечен

Fonts and other text styles

jakelisby 12 лет назад обновлен icahill (Administrator) 12 лет назад 3
Ian,
I was wondering how I would go about using a font outside the normal iOS provisions? Could I upload an opensource font and reference that?

Also, are you able to add a text shadow, font weight, and line height for the text?
+1
Отвечен

Fusebox will not run app

chmstechie 12 лет назад обновлен 12 лет назад 4
I cannot get app to work in fusebox. I set a target platform and device orientations, copied the code from the Hello World tutorial and pasted it into the wire editor. When I go to fusebox on my iphone, it shows the app but when I click it, it only says snapshot taken.
+1
Отвечен

Multiple Columns in TableView

Derek Berdine 12 лет назад обновлен 12 лет назад 3
We are trying to create a table. Each column is a product with each row representing characteristics across all products. We are trying to set this up using tableview, but have run into a couple of questions.

We have found a few different methods for creating multi-column tableviews, and we think building custom tableViewCells would be the easiest way to accomplish this, but we could use some guidance on how to accomplish this in RareWire.

The other part of this is, we need to be able to, through a couple of drop-down menus, be able to select rows or columns to exclude from the display, with the gaps automatically collapsing. I am pretty sure that the rows would auto-collapse, but I'm not so sure about the columns.

Has anyone done either of these things? We tried making everything out of panels, but there is no auto-collapse when panels were removed. We have also considered using multiple tableviews, one for each product/column, but there are performance concerns, especially when excluding/including rows.
+1
Отвечен

Border, corners, and page turning

jakelisby 12 лет назад обновлен icahill (Administrator) 12 лет назад 4
If there are instructions or tutorials that I'm missing, feel free to point me in the right direction...
#1 Can you specify only one side of a panel to have a border, or is required that the border is on all sides?
#2 Can you specify which corner have a border radius or can you only do all corners?
#3 Are there instructions on how to use the page curl animation and on what can you use is?
+1
Отвечен

Can I make a "call" button that autofills the phone app with a number?

thillsman 12 лет назад обновлен icahill (Administrator) 12 лет назад 3
Is there an action that will allow me to pass a phone number on to the phone app? I've seen it in multiple apps, but couldn't find anything in the documentation.
+1
Отвечен

where can i find tutorials

jvstorm200 12 лет назад обновлен 12 лет назад 4
where can i find tutorial links total noob very little programming knowledge...any useful help would be great
+1
Отклонен

Help with object/wire variables within a list

steve 12 лет назад обновлен 12 лет назад 8
I've got a list that is pulling from an rss feed from our website. Each item in the list pulls and displays the article title and author. Our website actually has a different blog title that corresponds to each author. I've been unable to include these blog titles in the feed despite my best efforts. My hope is that I can use object variables to create a variable _author for each item in the feed and then assign a parameter "blog-title" a string value using if statements and an assign action.

However, I haven't been successful yet. I think the problem might be that I'm not really going for a one-to-one interaction so to speak. I've got one assign action and many objects within the list that are interacting with it. Does this sound right? Is this surmountable?

Alternatively, maybe I'm just setting it up wrong? I've tried setting up a wire variable which just seems wrong. And I've tried to just use an object variable exclusively. Please see the wire code below.

Here are what I think are the relevant parts of the wire.

EDIT: I'm having trouble pasting the code in. Any hints on that as well?



<!-- this is the action with the wire variable -->

<!-- this is the version with just the object variable -->
+1
Отвечен

Is there an easy way to embed ads into apps? Any iAd support?

thillsman 12 лет назад обновлен icahill (Administrator) 12 лет назад 5
Ok, I'm starting think about publishing my apps, and I'm wondering if there's a good way to take advantage of iAds or other ad syndication services?

Сервис поддержки клиентов работает на платформе UserEcho