I could get flamed for asking this, but here goes anyway...
Does anyone know of a coding app that you can use on an iPad and that allows you to fold your code? I can't find one.
I'll delete the question quite happily if it's judged inappropriate for SO :)
Thanks.
Xcode
You can fold code, by highlighting over the start of a code block, and selecting the black arrow.
There is also a menu providing more options (with keyboard shortcuts)
TextWrangler/BBEdit
Same principle, but you don't have the integrated development environment that Xcode has
Related
I am new to iOS development and wondering if it's possible to create a floating button which always stays on top of screen even if you have any other app running in full screen mode?
No you can't do that on iOS, Apple isn't allowing this kind of features (like Messenger on Android for example)
I assume you mean something closer to AssistiveTouch. When turned on in accessibility, it will stay on top of the screen, no matter what app you have open. I recommend reading the Apple Docs for further investigating into this, but at the moment, Apple does not let you do this. Your app can't mess with other apps. It's pretty against what Apple's design guidelines allow you to do.
Is there a work around for what you are trying to accomplish with this? Maybe if you expand your question, I can help.
As the title says, the modal is not showing on iOS simulators and generated IPA files. But it works fine on Android simulators. Did i miss any code-specific to iOS? Stuck at this for a while.
Without any Code or any version number is hard to help you.
But I'm still gonna give you my 2 cents.
There have been a lot of issues with Modal in react versions from 0.40 to 0.44 at least.
It could have more issues but I don't know.
So trying to search the needle in the haystack.
(Pay attention that with the lack of info about the problem/ambient there isn't much anyone can do to help you).
1- If you have any alert or modal open, or recently closed before trying to open this modal, the modal won't show. To see if you have this issue, clean any modal and alert, and try to render your app with only this view.
2- It could be a problem with ScrollView
3- Did you tried to build a release file for ios and install on a device to see if still happens? issue here
4-I think I saw a few issue's there were about problems between modal and navigation systems. so i advise you to search there too.
5-It could be something else, I advise to do a deep search on react-native issues and try to see if someone else is experiencing this issue.
For more help please edit your question and put more info, and I will edit my answer, and if by any chance any of this options work, please put on the commentary which one work to give a forther explanation.
I'm using the JUCE framework to make my first few iOS apps, mostly just proofs of concepts for my Github account for job recruiters.
I've got my first app compiled and working on iOS, but I'm having tons of issues with the GUI.
I can't seem to find the right resolutions to fill the screen. I'm testing with an iPhone 7 Plus, and I figured I could just type in the resolution of that screen to the Projucer, but it doesn't work correctly.
Then I realize I'd probably just want one that fills the screen automatically, but dont know which function calls to use or where its located in the Projucer (haven't found it yet).
Also, I'm entirely new to GUI developing as of December, so I'm still learning all of this. I would greatly appreciate keeping it simple. Thank you to anyone who is able to help.
Try this in MainComponent.cpp
Rectangle<int> area = Desktop::getInstance().getDisplays().getMainDisplay().totalArea;
centreWithSize (area.getWidth(), area.getHeight());
I am new to sketch 3. I have a hand on experience with Xcode and iOS development.
My question is wether we can directly use sketch elements in xcode or sketch is only used for prototyping the UI?
For example, If I design Label with a text field in sketch then can I used it as UI Label and UITextField in Xcode?
In my experience as a designer that also develops in Xcode any solutions that claim to go directly from Sketch into Xcode either become vapourware after some time or don't provide a very good solution. I assume it's because Auto Layout is quite complicated and fragile.
It's best to just learn iOS development using Storyboards or possibly SwiftUI for layout. There are some elements that you can get from Sketch into Xcode such as colors, typography and iconography.
Here's a list of apps that can help you with that:
Zeplin: Handoff designs and styleguides with accurate specs, assets, code snippets automatically. https://zeplin.io
InVision: Prepare designs for development. https://www.invisionapp.com/feature/inspect
Avocado: Open designs without design tools. Export images without preparing layers. Click on layers to get code.
https://avocode.com/hand-off-and-inspect
Flawless: A tool to compare the expected design and the real app right inside iOS Simulator (useful for designers who use Xcode or
mobile developers). https://flawlessapp.io
Sketch to Xcode: The fastest way to get colors from Sketch to Xcode. https://sketchtoxcode.com
Disclaimer: I'm the maker of this app.
There is not a way to integrate the sketch elements in xcode, you can use a sketch plug-in you can buy:
https://www.paintcodeapp.com/sketch
I had the same problem, the design was already prepared in the Sketch and wanted to get the code from it easily. My friends and I've working on a solution for converting design into UI codes, last 2 years.
We've developed Monday Hero platform to improve the development phase and actually save time for repetitive code. https://www.mondayhero.io
In Monday Hero, you can upload design and get responsive code with Storyboard, Xib or only code options. You can also select the elements on the design, group them as you wish for your code library and download it easily in like 15 minutes :) It was a dream of me to get the UI code that easily, I hope it can be also useful to you.
In Settings->General-Reset on an iPhone there is a list of blue text items that are , it seems to me to all intents and purposes, a series of buttons. I would like to implement such a button in my app settings. However I can't work out how this is done. In the Apple documentation there is nothing about a PreferenceSpecifier that would show this behaviour. I feel that I must be being particularly stupid about this and am missing some trick here. Would someone please point me in the right direction? Thank you
Silas
Apple can run code in Settings. You cannot. You can only declaratively change entry values in your settings.