Markup items in other files on xcode? - swift

Hi, guys.
I'm using Xcode to continue an existing app and I know the best way to document this specific project is through markups (/// instead of //). Problem is: There are too many functions and using markups to explain all of them would make the code difficult to visualize. Instead, I really want to markup variables, functions, methods and so on... but in other files if it's possible.
Can I markup a function declared in another ".swift" file, somehow? How? I realized my code would improve a lot with those markups to my co-workers, but I've got to really emphasize how illegible the files that variables/functions are declared could become.
PS: StackOverflow's newbie here. If anything goes different than our community's guidelines, please let me know.
Thanks in advance! ;)

Related

How to make vs code extension take in user path input and how to create coding templates

for my internship I am making an VS code extension. I have never developed anything like this before so any help or documentation links or tips are welcome.
what I am doing is as follows: develop an extension that is capable of taking in user input. the input will be a path to an .isf/.hdf file. this could be thru the simplest of text box buttons initially, as functionality before polish is what im focusing on right now.
It also needs to be able to provide templates with preconstructed code. such as, a option on the file menu where it might say "new template.py file". And when this option is choosen, a .py file with a lot of "boiler-plate" or preconstructed code is created for them.
im also using CanvasJS to show some graphical data. I would need a way for the graph to appear in a tab/window of the VS Code rather than the browser of the user.
Thank you in advance! Please let me know how to edit/add to this question, I know its extremely vague. Still a novice but excited to get this extension developed!
P.S.
im not expecting anyone to DO this for me, just to point me in the general direction so I can sink my teeth into useful documentation, examples, and/or tutorials. Thanks again :)

How to determine correct files and blocks to be edited in Magento2?

this might seem like a strange question but I am learning Magento 2 at the moment and could use some guidance when it comes to figuring out an easier way than guessing to determine what are the correct files and blocks to edit. Let me demonstrate what I mean.
Say I want to edit template and layout of the customer review section of the customer account page.
I figured out after a while of searching around that vendor/magento/module-review/view/frontend/templates/customer/list.html was the correct template file I need to override, and I turned out to be correct, but it was kind of a lucky guess. There were a lot of other files around there that it seemed it could also possibly be.
Alright, we are getting somewhere. Now I need to change the layout, so which layout file do I need to edit? I tried vendor/magento/module-review/view/frontend/layout/review_customer_list.xml but this doesn't seem to be the correct one. Actually, there seems to be about 4/5 files in this same folder it could potentially be, and I don't seem to have any context to go off other than vague file names. Is trial and error, and guessing what we rely on to figure this out or is there a much easier way to determine this. I know this might be a really stupid, newbie question but I'm a little confused.
Additionally, when testing if this is the correct file I am trying to remove the pager at the bottom right and move the toolbar under the page title. How do I know what the correct names of these blocks are? I tried:
<move element="products.reviews.toolbar" destination="column.main" after="page.title"/>
<referenceBlock name="pager" remove="true" />
which didn't work, but I am also kind of just guessing the names of these blocks if I am honest. I have no idea if this is what these blocks are called.
Are there any easy ways to determine all these things instead of guessing? ID's in the DOM or something like this that reveal the names of the blocks/layouts I need to edit? Something like this?
Thanks for the help

adding Contact/Number into Textview/textfield like default MessageComposer did

As like my other questions I tried to search for this. But I didn't get anything.
Maybe my path is wrong. Please direct me.
Here is my Question : I have a UITextView. In that I am going to add Numbers, Names and contacts.
I want to show each number separately as MessageComPoser did.
Does anybody know how to make this?
If my question is not worthy, give me the correct answer then downvote.
(For my questions somebody downvoted without even giving any answer!!)
There is no way to do this using apple's native framework, they didn't provided any controls for doing the same.
You can use the TTMssageRecipientField provided by Three20 framework.
I found the Answer. I don't want to use Three20 library since it is Very difficult to use in my project.
So i Found Awesome Link. That gives me the answer.
I used this Code It May HelpFull To many users, specially for those who Upvoted This question.
Exellent Code

Image Editing Issue

I am working on an app with have requirement to give "Droste Effects" on image.i did search on Google more but not find programming solution for this effects.the effect example in there below.
http://apping.me/ios/4eb514ba8491783f5b0001e2/droste+vision.html
http://www.pmavridis.com/iDroste/iDroste.html
Please provide me suggestion or any tutorials link. How i will do that task?.Thanks in advance.
The Droste effect is a trick made with some intense mathematics and a recursive function. Please read http://www.josleys.com/article_show.php?id=82. If you don't know about recursion please read up http://en.wikipedia.org/wiki/Recursion. Since your request is very specific I doubt there will be many people who happen to have a Droste effect code written in the iphone programming langauge, but the links above should help you understand the math behind creating your own. Good luck.

GOLD Parse, how do you actually implement your code?

I am not quite sure how to implement my the code after generating the skeleton. I didnt use const only, i do have main files and i tried several c(++) versions along with c# and still i dont understand. I dont think any of them can load a file and parse test files (i know gold builder can parse my test files).
The Kessels C skeleton looks complete. Buts not, it uses a struct and members (Token->Reduction->TokenStack) yet when i search TokenStack i cant find a place where it is defined, only used. I feel like i am missing something. I cant find Kessels other code anywhere.
My question is how do i implement my body? (is there another skeleton you prefer), are there any other downloads i overlooked? i tried looking at these downloads but i didnt understand what to do with them. It also looked more like example source code then a template http://www.devincook.com/goldparser/engine/c/index.htm
PS: I wouldnt mind doing a C# implementation, i am better with c(++).
I've used the Calitha C# Engine. Let me know (by posting a comment to this answer) if you still want an answer, which I can answer using my knowledge of this C# engine.
My question is how do i implement my body? (is there another skeleton you prefer), are there any other downloads i overlooked?
The Calitha Engine download includes source for the Engine, and a sample program (named "TextCalc") which illustrates using it.