Built and live-tested my first iOS app!

After a few false starts, I’ve successfully built and live-tested my first iOS app on my iPad 4th gen and iPhone 5S and 6Pro.

The app uses the Tabs Screen model with 4 views on the iPhone and 3 on the iPad.

It’s sorely lacking in much more than navigation and testing of the web and movie playing abilities, but everything worked once I got the basics sorted out.

One item for the docs - currently you MUST use wildcard provisioning and distribution certificates (com.mycompany.* versus com.mycompany.specificapp).

What I wish I had:

  • Picker
  • Multiline Label

Please file a bug report about this.

Congrats!
Can you use an iOSTextArea that’s not “Editable”(Read Only) as a Multiline Label?

Thanks Albin!

Joe, look at <https://xojo.com/issue/37023>

Is that the same situation?

[quote=150705:@Tim Jones]Thanks Albin!

Joe, look at <https://xojo.com/issue/37023>

Is that the same situation?[/quote]

I don’t think so. A separate report would be best.

Done <https://xojo.com/issue/37243>

Labels are multiline as default. Try

Sub Open() me.text = "Un"+&u0A+"Deux"+&u0a+"Trois"+&u0A+"Quatre" End Sub

[quote=150753:@Michel Bujardet]Labels are multiline as default. Try

Sub Open() me.text = "Un"+&u0A+"Deux"+&u0a+"Trois"+&u0A+"Quatre" End Sub [/quote]
aah! The EndOfLine(&u0A) thingy :stuck_out_tongue:

[quote=150703:@Albin Kiland]
Can you use an iOSTextArea that’s not “Editable”(Read Only) as a Multiline Label?[/quote]

That would not do quite the same thing since a textarea is not transparent.

You’re right. It isn’t. But as long as it’s sitting on a white background it works as it has no borders :wink:
But using a Label and &u0A is better anyway :slight_smile:

[quote=150753:@Michel Bujardet]Labels are multiline as default. Try
Sub Open()
me.text = “Un”+&u0A+“Deux”+&u0a+“Trois”+&u0A+“Quatre”
End Sub[/quote]

Open the Mac TextEdit App, write some lines, copy, paste in your Label Text property.

Just request a multi-line inline editor in a feedback. :wink:

I added that in the beta feature request <https://xojo.com/issue/36581> Jason Tait created for a multiline label that wraps.

Do you mean something like this? (See the LineBreakMode property)

[quote=150784:@Ulrich Bogun]Do you mean something like this? (See the LineBreakMode property)
[/quote]

I thought you did not have time for new declares right now ?

:wink:

It’s not really new. I just shoved it over from another project that’s in the making :wink:
(And now I’m back to my work. Feel free to drag all the UIView properties and helper functions over into this – iOSLabel is the native UILabel, therefore all the UIView declares should work on it too): https://dl.dropboxusercontent.com/u/21200221/Xojo/UILabel.xojo_binary_project.zip

[quote=150787:@Ulrich Bogun]It’s not really new. I just shoved it over from another project that’s in the making :wink:
(And now I’m back to my work. Feel free to drag all the UIView properties and helper functions over into this – iOSLabel is the native UILabel, therefore all the UIView declares should work on it too): https://dl.dropboxusercontent.com/u/21200221/Xojo/UILabel.xojo_binary_project.zip[/quote]

Great. Thank you Ulrich !

[quote=150700:@Tim Jones]After a few false starts, I’ve successfully built and live-tested my first iOS app on my iPad 4th gen and iPhone 5S and 6Pro.
[/quote]

Not to quibble, but weren’t you one of the guys saying you had no use for iOS?? :slight_smile:

If you read the other conversation, I was also quick to admit that now that it’s there. I’ve found a simple project to use it for.

Don’t forget to say …

Unfortunately, the simple project turns out to not be so simple because of the completely alien way that layout works and the control positioning glitches when trying to reposition things in the IDE editor.

[quote=150862:@Tim Jones]If you read the other conversation, I was also quick to admit that now that it’s there. I’ve found a simple project to use it for.

Don’t forget to say …

Unfortunately, the simple project turns out to not be so simple because of the completely alien way that layout works and the control positioning glitches when trying to reposition things in the IDE editor.[/quote]

Take two steps back, smell the roses, and get back to it relaxed. In itself, iOS is alien by its interface, and Auto Layout is a new way of seeing things. Let it sink in and mature a bit. Then you will find it easier. It did that to me.