Search results for

column

2,050 results found

Post

Replies

Boosts

Views

Activity

Why can't I see the traceback when I get linker errors?
Whenever I get linker errors when building an iOS app. The linker errors appear in the left column like this:But when I click on them nothing happens. I can't see any kind of traceback or information about what caused the error. I can't even copy and paste what's in the column to try and google it. Is Xcode supposed to be this way? How can I fix this?I'm using Xcode 8 on Mac OS X 10.12.14
1
0
342
May ’17
Core data for SQL users
Hi,I have read many tutorials about Core data.Unfortunately I can't understand some of the way it works.For instance , I have two Entities Sale and Products.Coming from SQL I thing that I have in each sale to have a reference to products.How ti happens in Core data.I see some relations, but what exactly they relate?And where we bind the values from particular column from peoducts with sales?How we make left joint search?From my current experiance I find Core data very anoyng, but from the other side I know that millions of people use it, so the dumb shoould be me.Thank you in advance of all that help!
3
0
3.2k
May ’17
coloumn
I´m trying to create a table with 3 columns in xcode. How can i pin the 3rd column to the right boarder? Now, when i´m enlarge the window, a kind of 4th column appears. I want to keep the window resizable. So there has to be a way to fix the 3rd column to the right boarder. And make the middle column resizable instead.https://pasteboard.co/cgbvIwMhi.png
1
0
318
May ’17
Reply to coloumn
In Interface Builder (in your storyboard or XIB), select the table and look at its Attributes inspector. You will see that there are controls for resizing behavior. If you want the first or last column to grow, just choose the appropriate option.If you want just the middle column to resize, it takes a trick. In the table view, set it to resize all columns. Then, select the columns individually, displaying the Size inspector. For columns that you don't want to resize, uncheck the 2 checkboxed that allow column resizing. For the column you want to resize, leave the boxes checked.Incidentally, it's not a 4th column you're seeing. It's just a view background showing through between the right edge of the table view, and the right edge of its parent scroll view.
May ’17
SceneKit 3D Marker Augmented Reality iOS
Last couple of weeks I've been working on developing a simple proof-of-concept application in which a 3D model is projected over a specific Augmented Reality marker (in my case I am using Aruco markers) in IOS (with Swift and Objective-C)I calibrated an Ipad Camera with a specific fixed lens position and used that to estimate the pose of the AR marker (which from my debug analysis seem pretty accurate). The problem seems (surprise, surprise) when I try to use SceneKit scene to project a model over the marker.I am aware that the axis in opencv and SceneKit are different (Y and Z) and already done this correction as well as the row order/column order difference between the two libraries.After constructing the projection matrix, I apply that same transform to the 3D model and from my debug analysis the object seems to be translated to the desired position and with the desired rotation. The problem is that it never does overlap the specific image pixel position of the marker. I am using a AVCapturePrevie
0
0
1.5k
May ’17
Help with this crash log
What does it mean that Line table file: 'MPTableView.m' line 579, column 33 with start address 0x00000001001a0540,,it seems can not to be a bug, just a dictionary initialized.Thanks
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
173
Jun ’17
Reply to Change distance between cells
Do you use custom cells ?If so, you could just make the cell view taller or smaller.Do you want to change the distance programmatically ?Look at the 2 func :func tableView(NSTableView, heightOfRow: Int) // Asks the delegate for the height of the specified row.func tableView(NSTableView, sizeToFitWidthOfColumn: Int) // Asks the delegate to provide custom sizing behavior when a column’s resize divider is double clicked.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’17
Performance of UITableView with complex views inside table cell
Hi there!the question is about UITableView. In my ipad app I'm planning to use single column UITableView with many rows where every row will have complex views embedded inside row cell in the column. By complex view I mean a view that consists of a dozen or so controls like UIButton, UITextField, etc.I'm afraid of performance.Will such table view scroll smoothly ?Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
1.5k
Jun ’17
Reply to ARKit - Get User's Position
Hi to get the uers location you use the frame.camera.transform this is basically a world matrix representing the camera. It will either be the last column or last row in the matrix (I cant remember the matrix order used by these systems). It will give you values like x,y,z,1 when you take the last column (or row). Just ignore the 1.Anyway, that should give you enough to work it out.
Topic: Spatial Computing SubTopic: ARKit Tags:
Jun ’17
How to make a 2D array of strings and dictionaries?
I must be missing something simple. I want to make a 2D array where each column has two rows, a name string and a dictionary. So here's an example with four strings. I want to attach a dictionary to each string. A few things I've tried (in Playgorund) are shown.var myNames = [Home, Accesory, Service, Characterstic] // My array of name strings var myDict: [String: Any] = [ // The dictionary I want to attach to each string name addtionalRows : 1, cellIdentifier : idCellNormal, isExpandable : true, isExpanded : false, isVisible : true, primaryTitle : , secondaryTitle : Fullname, value : ] var test2DArray = [[String](), [String: Any]()] // This throws an error var test2DArray = [[String](), [String: Any]()] as [Any] // This does not cause an error, but doesn't seem to work test2DArray = [myNames, myDict] // Likewise, this does not cause an error but it doesn't fill in the array for row in HomekitRows { test.append(HomekitRows[row], cellProps) // This fails if the as [Any] form above is used }What am I m
1
0
854
Jun ’17
store transformable attribute as string instead of blob
Is there a way with Core Data to store a non-standard property value to a string entity attribute? I attempted to do this by creating an NSValueTransformer subclass that transforms NSURL to NSString, simply returning the result of NSURL:absoluteString. My transformer also returns [NSString class] from +transformedValueClass. I then created a transformable type attribute, aUrl, on my entity in the model editor, set the transformer name to my transfomer, and the custom class to NSURL. My NSManagedObject subclass has a correlating @property (nonatomic) NSURL *aUrl. When I assign an NSURL object to that property and attempt to save the NSManagedObjectContext, the app crashes with the following exception.2017-06-30 06:28:15.257 PhotoLocations[73116:3990254] -[__NSCFString bytes]: unrecognized selector sent to instance 0x608000075bc0 2017-06-30 06:28:15.292 PhotoLocations[73116:3990254] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString bytes]: unrecognized selector
0
0
512
Jun ’17
Problem saving inserted Check Boxes in table to Array Controller
G'day scriptersI've got an 8 column Outline View Table, each column of which has a Check Box installed. I need to add more rows, and each Check Box needs a unique Title, and the ability to alter the State. A total of 276 unique Check Boxes.I just cannot get the code right, and Shane Stanley's Explored 5 doesn't help. In interface builder I have defined the value of each Check Box to the key 'state', and the title to the key 'title'.'Saving errors with (the last part), ', {Extensions1CB:{|title|:X-Face, state:true}, Extensions2CB:{|title|:XPM, state:true}, Extensions3CB:{|title|:XWD, state:true}, Extensions4CB:{|title|:YUV, state:true}, Extensions5CB:{|title|:, state:false}, Extensions6CB:{|title|:, state:false}, Extensions7CB:{|title|:, state:false}, Extensions8CB:{|title|:, state:false}}} doesn’t understand the “writeToFile_atomically_” message'.Columns are defined as Extensions1CB, Extensions2CB, Extensions3CB, Extensions4CB, Extensions5CB, Extensions6CB, Extensions7CB, Extensions
0
0
419
Jul ’17