Hello,I am trying to build an app using tableView with two columns (one displaying strings, the other one a CheckBox for each string).The strings are coming from a [AnyObject] variable.I have try so many things to insert the result of [AnyObject] into the NsMutableDictionnary (which is used by NsTableView) but none of them works.I have to build the dic manually with the right number of object (related to the result of [AnyObject]) to make it work but I would like the dic to build itself automatically.Here is an exemple of the code, working if [AnyObject] is made with 4 elements. The TableView column names are jobs and unload :import Cocoa@NSApplicationMainclass AppDelegate: NSObject, NSApplicationDelegate,NSTableViewDataSource,NSTableViewDelegate {@IBOutlet weak var window: NSWindow!@IBOutlet weak var myTableView: NSTableView!var dataArray:[NSMutableDictionary] = [[jobs: , unload: 0],[jobs: , unload: 0],[jobs: , unload: 0],[jobs: , unload: 0]];func applicationDidFinishLaunching(aNotification
Search results for
column
2,046 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I signed out of my account on the MAS, and then the download link might be working ... it's downloading something but not sure if it's beta1 or beta3. The good sign is that the link's update date column is not showing July 8th. The problem might have been that my person App Store account was different than my developer iTunes account. Not sure if that makes a difference (didn't before)
Topic:
App & System Services
SubTopic:
Core OS
Tags:
When uploading my ios application to the app store with xcode 7 beta 3, the error message Error ITMS-3000: Line 7 column 28: attribute app_platform not allowed here; expected attribute verified_under_3_0, verified_under_4_0, or verified_under_version at XPath/package/software_assests. I also get the message iTunes store operation succeeded with a warning: the resulting api analysis file is too large. We were unable to validate your API usage prior to delivery. Is this a problem with my application or xcode 7B3?
I am attempting to use Testflight Beta to host an iOS 9 beta app with WatchKit 2 support (as it appears should be acceptable). However, when trying to submit the build to testflight, I recieve an ITMS-3000 error every time.The error is: ERROR ITMS-3000: Line 7 column 28: attribute app_platform not allowed here; expected attribute verified_under_3_0, verified_under_4_0 or verified_under_version at XPath /package/software_assetsDoes anyone know how to fix this? I've looked through all the .plist files and build settings and cannot find app_platform anywhere.
I simply opened the application that aferrini is implying, navigated to my device's backups in the upper left. I know it's encrypted because I see a lock icon over the icon. I was never prompted for my password.I clicked on the tree to expand and then on the System folder. See here:https://www.dropbox.com/s/6f2has4emmkdwh2/Screenshot%202015-07-09%2008.48.40.png?dl=0then, in the right column of the app, I found a foldered called HomeKitDomain. I simply deleted this folder and all of it's contents.After this, I quit the app, returned to iTunes and did another fresh restore of beta 3 to my device. Once the device finished restoring the OS, I was able to select my old backup to restore (like usual) and it worked successfully this time.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Everytime I have to make the column width on the left in Open and Save dialogs bigger in order to see the full name of my favorites, disks etc. But it doe not stick, the next time it is back to a too small widt. Annoying!
It was in an Images.xcassets file that was listed in the column on the left of Xcode under the Supporting Files folder under the WatchKit App. In the Finder it was in the Images.xcassets folder that was in the WatchKit App folder. Also included in this folder is icons of size 48, 55, 58, 80, 87, 88, 172, and 196; 172, 344 and 516;
Topic:
App & System Services
SubTopic:
General
Tags:
The preferences for individual folders are kept in the invisible .DS_Store files in each folder.Based on the details of your account of your experience, I'd guess that Beta 3 is failing to update them for some people.A Bug report should be filed by someone.You could try to make them visible with this command in Terminal:defaults write com.apple.finder AppleShowAllFiles YES; killall FinderIf you delete the .DS_Store in a given folder and then change the column width then Finder will create a new one, which should work even on Beta 3.Obviously you can make invisble files invisible again by substituting NO in the above command.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
The preferences for individual folders are kept in the invisible .DS_Store files in each folder.Based on the details of your account in another thread, I'd guess that Beta 3 is failing to update them for some people.A Bug report should be filed by someone.You could try to make them visible with this command in Terminal:defaults write com.apple.finder AppleShowAllFiles YES; killall FinderIf you delete the .DS_Store in a given folder and then change the column width then Finder will create a new one, which should work even on Beta 3.Obviously you can make invisble files invisible again by substituting NO in the above command.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
It looks as though you're using the button as the cell view, as opposed to a subview within the cell view. Well, the table view governs the size and position of the cell view. It's always going to make it the size and position of the cell within the grid of rows and columns. That's just how it works. It doesn't matter what frame you assign.For the calendar event / image view branch, you refer to a cellView variable that isn't declared or initialized in the code snippet you provided. It seems clear that it's a container view, though, as it seems to contain an image view.That's the sort of thing you should do for the checkbox case. You should create a container view to serve as the cell view and add the checkbox button to it as a subview. You should consider using auto layout to positiion it within the cell view, but if you're not going to do that, you should probably set the autoresizingMask as appropriate.
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
If you take a look at the Swift rules for initialization, one of the safety rules (in the Two-Phase Initialization section) is that the designated initializer of a class must initialize all of the variables declared in that class _before_ calling an initializer in its superclass.https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Initialization.html#//apple_ref/doc/uid/TP40014097-CH18-ID216So the invidual field properties of the subclass would actually need to be initialized before the container array from the superclass, in order to meet the safety rule requirements.If you wanted to do something like this in swift, you could include the info you need to look up the values in the field object, and use a generic Record class that references your different record types as the generic subtype...struct Field { let key: String // whatever info you need to look up value in database (maybe two properties, table + column) let length: Int let mandatory:
Topic:
Programming Languages
SubTopic:
Swift
Tags:
It's worth uninstalling Skype and reinstalling from the latest version just to rule that out.Updating to the next beta seems to make changes to Verisign Certs for some people (which can affect ssl connections). It's hard to tell if this is the issue for you, but it could be. You can check it out as follows:Open Keychain (by pressing CMD+Space and then typing “Keychain”).Then type veri into the Keychain app's searchbar.For each of the VeriSign certificates, do the following: Check that the certificate is still valid (far right column) and delete it if it isn't.Double-click it, which brings up it's own window and expand the Trust menu.Make sure When using this certificate: is set to Use System Defaults, not Always Trust. The remaining 10 should be left at no value specified.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
It may be related to an ssl certification issue that has been the cause of quite a few symptoms throughout these betas. You can check it out as follows:Open Keychain (by pressing CMD+Space and then typing “Keychain”).Then type veri into the Keychain app's searchbar.For each of the VeriSign certificates, do the following: Check that the certificate is still valid (far right column) and delete it if it isn't.Double-click it, which brings up it's own window and expand the Trust menu.Make sure When using this certificate: is set to Use System Defaults, not Always Trust. The remaining 10 should be left at no value specified.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Regarding finding the Xcode documentation (which will probably help you more effectively than my attempts to explain):If you go to Help > Documentation and API Reference it should open up the Help window.One of the controls in the toolbar looks like a triangle in a square. If you click on that button (the tooltip, if you hover, is Hide or Show the Navigator), it should add/show another column to the window which lists iOS, OS X, and Xcode documentation hierarchies.Clicking on the folders doesn't display anything, so you have to click the triangles next to them to disclose their contents, but you should eventually find the relevant documentation files, which can be selected to display them.If you navigate to Xcode 6.4 > Xcode > IDEs > Guides > Xcode Overview, you can view the help file that should have been displayed when you chose Xcode Overview from the menu. It has a Building a User Interface section to get you started.There are also several other Interface Builder help files in that
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Xcode 7 Beta 4, the following code:let view = myOutlineView.viewAtColumn(1, row: checkbox.tag, makeIfNecessary: false) ^gives me an error: 'Int' is not convertible to 'IntegerLiteralConvertible' at the first arguemnt.Huh? The interface for viewAtColumn is:func viewAtColumn(column: Int, row: Int, makeIfNecessary: Bool) -> NSView?So, if I pass in non-literal values, no error:let col = 1 let make = false let view = myOutlineView.viewAtColumn(col, row: checkbox.tag, makeIfNecessary: make)Am I missing something, or is this a bug in Swift/Xcode/NSOutlineView?