Search results for

column

2,048 results found

Post

Replies

Boosts

Views

Activity

Reply to Can no longer upload hosted content
I am having a similar problem.I have successfully uploaded about 30 in-app purchase packages of Apple-hosted content using Application Loader, targeting an iOS app. However, once I added 5 iPad Pro screenshots to my iOS app description in iTunesConnect, I get 5 ITMS-3000 errors that reference these screenshots. Here is one example:ERROR: ERROR ITMS-3000: Line 107 column 97: value of attribute display_target is invalid; must be equal to Mac, iOS-3.5-in, iOS-4-in, iOS-4.7-in, iOS-5.5-in, iOS-Apple-Watch or iOS-iPad at XPath/package/software/software_metadata/versions/version/locales/locale/software_screenshots/software_screenshot[10]I submitted a full report with screenshots and an Application Loader log file to the support people at iTunesConnect. After speaking with 3 different people during the course of nearly a week, I was directed to submit a support request to Apple Developer Technical Support.I got a reply within hours from ADTS directing me to submit a bug report instead, which I have done tod
Mar ’16
Reply to Checkbox in NSTableView
So I start off with a structure like so:Table ColumnTable Cell View Table View Cell Table View Cell Number FormatterText CellTable ColumnTable Cell View Table View Cell <=- I delete this one Table View CellText CellSo I then delete the one that I pointed at, which is the one I think you're telling me to, so it and the one child go away. Now I drag a check cell into that second column, and then suddenly stuff from other columns disappear as well, and I'm left with this:Table ColumnText CellTable ColumnCheckWhat did I do wrong?
Topic: UI Frameworks SubTopic: AppKit Tags:
Mar ’16
Reply to Checkbox in NSTableView
It's hard to be certain without seeing it in IB, but it looks like you deleted the correct thing. However, when you dragged the checkbox, it looks like, you dragged it as a child of the table view, not of the table column, so now you have 2 columns.You're dragging the checkbox into an outline view, so it matters not just where you drag it in terms of vertical position (which row the highlight line is below), but where you drag in terms of horizontal position (how much indenting the highlight shows). If you move your mouse left or right while dragging up or down, you should see the start of the highlight line (the little circle) snap to different horizontal positions, indicating which parent item it's going to attach to.What's confusing is that I believe I've seen IB failing to put the highlight in the right place, according to where the mouse is. You may find it easier to add the checkbox to the original column's cell view before deleting the text field.
Topic: UI Frameworks SubTopic: AppKit Tags:
Mar ’16
Reply to Checkbox in NSTableView
If I drag a table view to the controller it defaults to two columns. I then grab a check cell and drag it to the second column and IB adds a little Table Column text. I let go, and the same thing as above happens.As to dragging into the hierarchy directly, xcode will ONLY let me drop it in place of the very last cell. The one that's light blue and says Text Cell.
Topic: UI Frameworks SubTopic: AppKit Tags:
Mar ’16
Reply to How to frozen a few columns for NSTableView
Indeed, Now I use two NSTableviews now to do it;But there are a lot of problems For example, there are many problems in the process of sliding may appear out of sync, and the corresponding key keyboard to change the row and change the page and the when drag row to generate images And the corresponding drag line could not agree, and so on So I just want to look for them have good method to realize fix the column or good method to let two tableView synchronous work
Topic: UI Frameworks SubTopic: AppKit Tags:
Mar ’16
Design question: tableView or not tableView ?
That's an OS X project (I use Swift, but doesn't matter here).I want to display a grid in a view, with the following characteristics, that looks and feel a bit like a spreadsheet (but not any spreadsheet functionality)- the first column will get some text labels- the first row will get other labels, written verticallythe table itself (ie, excepting header coluim and row)- each cell should be a square, small size, which can have a short text as a number, and may be fully colored- each cell can be modified (such as switched on / off) by clicking on it- The number of columns will change dynamically (the same for rows of course)- finally, I would need to show the grid lines between cells.the table content will have to scroll both horizontally and vertically, but headers should not moveWth all these constraints (and a few others), I hesitate between several design options:- use plain tableView (probably view based)- subclass tableView (as Apple tells : Subclassing NSTableView is usually not neces
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
418
Mar ’16
How to Right Align Text in TableView Column
XCode/Swift/OSXI have a TableView with programmatically created columns (so can't set column properties in IDE)I can set Right Align on the first column headerCell like this:-myTable.tableColumns[0].headerCell.alignment = NSRightTextAlignmentBut I can't figure out how to right align the contents of the data in the column.ThanksIan
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
1.6k
Mar ’16
Reply to Design question: tableView or not tableView ?
From `NSCollectionView`:An NSCollectionView object displays a grid of views.You should check out this class. It can easily do what you're talking about, and is beyond customizable once you get the hang of it, allowing you to build quickly an easily a spreadsheet style view that can be (near) infinitely expandable.NSTableView will be a little bit more challenging but theoretically feasible since it does support multiple columns as well.
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’16
IAP Rejected because required binary was not submitted
I'm having some issues with my iOS submission, and someone here may have encountered this issue before.I submitted my game a couple of days ago. IAP work fine during testing. Every IAP has a screenshot. All IAP have been added to the submission before hitting the submit button. I'm pretty sure I've done everything right.A day goes past, and I get an email about my IAP being rejected with the error message:We have returned your IAP product/s to you as the required binary was not submitted. When you are ready to submit the binary, please resubmit the IAPs with the binary.I submitted my IAP at the exact same time as the binary, so I'm not entirely sure what that is referring too. Each and every one of my 40 IAP have the exact same message. The binary is still set to Waiting for Review, and doesn't seem to be affected by this.To make things more confusing, when I look at the IAP, it's marked as Developer Action Needed, with the Language column highlighted in yellow. If I make a small edit, it returned to
9
0
4.8k
Mar ’16
Reply to Layout constraints don't work in storyboard's second scene
I've appended the code for GameController.swift below. To actually reproduce the bug, you need an image file Card Back.png in the project. It has a resolution of 672x1038 pixels.Create a new iOS Swift Single View Application project.Add Game Controller.swift and Card Back.png to it.In IB, change the view controller class to GameController.Drag a second view controller into the story board and change its class to GameController, too.Create a seque from the first to the second scene. (I added a Tap Gesture Recognizer to the first scene and created a Present Modally seque to the second scene; a Push/Show seque will give the same result.)Run the app on the iPhone simulator. You will see a 5x6 grid of copies of the Card Back image.Tap anywhere on the view to present the second scene.You will see part of one really big card back image.If you do Debug > View Debugging > Capture View Hierarchy and click Show Clipped Content, you will see that there is actually a grid of 672x1038 image views, which obviously doe
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’16
ITMS-3000 bundle_version
When trying to Upload to App Store..., I get the followingArchive upload failed with errors:Archive upload failed due to the issues listed below.ERROR ITMS-3000: Line 9 column 28: value of attribute bundle_version is invalid; must be a string with length at most 100 (actual length was 138) at XPath /package/software_assetsI've attempted to change the build number, as I was using a long number, however even when using 1 as my build number and version 1.3, I still am 38 characters over. There doesn't seem to be any indication of how to correct this issue. Where else do I trim characters from? Should I even have to?
0
0
280
Apr ’16
Reply to Set or NSSet for NSCoding
So, in total, a few hundred thousand integer values. At best Int16 will save 6 bytes per entry, or about 1.2 MB. A quick test indicates that it doesn’t actually save you anything because the keyed archiver always stores an NSNumber. Consider this code:class BigData : NSObject, NSCoding { required override init() { super.init() } required init?(coder aDecoder: NSCoder) { fatalError() } static func data() -> NSArray { let a = NSMutableArray() for _ in 0..<200 { let s = NSMutableArray() for column in 0..<1000 { s.addObject(column) } a.addObject(s.copy()) } return a.copy() as! NSArray } func encodeWithCoder(aCoder: NSCoder) { aCoder.encodeObject(BigData.data(), forKey: a) } }If I encoded it with NSKeyedArchiver the resulting archive is 2,171,020 bytes. OTOH, encoding BigData.data() as a binary property list (using NSPropertyListSerialization) yields just 408,791 bytes. That’s a significant saving, but whether it matters really depends on your context. Share and Enjoy — Quinn “The Eskimo
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’16