AppleScript - Using information in the cells of an Excel file as the initializing attributes of a class in Xcode -


I still have the code:

  Tell the application "Microsoft Excel" - - Set a data set entirely in a list of lists (i.e., 2 dimensions - & gt; columns of rows), set the category "B2: H776" to Category 1, which gives the academic sheet the merit data range 1 To set the value of - Set a myRow to a specific cell data now 7 Set myCol to 3 myVal on the item {myRol} of myData item {myRol} Magistrate or   

elements and then column by row. So if my Excel cells look like this:

| A1 A2 A3

| B1 | B2 | B3 |

My variable myVar will be an array that looks like this:

{{"A1", "A2", "A3"}, I I want to take an existing project in it, we call it example_project with the current example, M {{B1}, "B2", "B3"}}

file, we can call it example_m M, and to be characteristic of an object, write all the elements within myVar. For example, if my array is the same array as I am starting an example object with those values ​​as before and I, which should look something like this in xodod:

 < Code> exampleObjectA = [[example class alloc] init]; [Example object initExampleClass: @ "A1" second feature: @ "A2" third feature: @ "A3"]; ExampleObjectB = [[Example class light] init]; [Example Object B initExampleClass: @ "B1" second feature: @ "B2" third feature: @ "B3"];   

What I'm asking for will tell me these exact lines of code that was written earlier in the Exodus. I have value data of approximately 45000 cells which I am trying to put in an application but I do not want to do this manually for obvious reasons.

You are using ExampleObjectA with many properties, when you type init They are setting up I suggest you to create an array of KVP and go to add it.

As you are passing @ "A1", string @ @ "A2", you can make a loop and use it

    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -