Skip to content

Commit

Permalink
Merge pull request #7066 from cheekiatng/timob-19006
Browse files Browse the repository at this point in the history
[TIMOB-19006] iOS9: correct keywords to small caps in searchableItem
  • Loading branch information
cheekiatng committed Aug 25, 2015
2 parents 6a05694 + 2c6b3d8 commit ac9b9c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions apidoc/Titanium/App/iOS/SearchableItemAttributeSet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ properties:
type: Array<String>
osver: {ios: {min: "9.0"}}
platforms: [iphone,ipad]
- name: keyWords
summary: Represents keywords associated with this particular item. Example Keywords might be Birthday etc.
- name: keywords
summary: Represents keywords associated with this particular item. Example keywords might be Birthday etc.
type: Array<String>
osver: {ios: {min: "9.0"}}
platforms: [iphone,ipad]
Expand Down Expand Up @@ -584,7 +584,7 @@ examples:
});
itemAttr.contentDescription ="Tech Example \nOn: " + String.formatDate(new Date(),"short");
itemAttr.keyWords =["Mobile","Appcelerator","Titanium"];
itemAttr.keywords =["Mobile","Appcelerator","Titanium"];
var item = Ti.App.iOS.createSearchableItem({
identifier:"my-id",
Expand Down
6 changes: 3 additions & 3 deletions iphone/Classes/TiAppiOSSearchableItemAttributeSetProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,15 @@ -(void)setContentTypeTree:(id)value

//Represents keywords associated with this particular item.
//Example Keywords might be Birthday,Important etc.
-(NSArray*)keyWords
-(NSArray*)keywords
{
return _attributes.keywords;
}

-(void)setKeyWords:(id)words
-(void)setKeywords:(id)words
{
ENSURE_ARRAY(words)
ENSURE_UI_THREAD(setKeyWords,words);
ENSURE_UI_THREAD(setKeywords,words);
_attributes.keywords = words;
}

Expand Down

0 comments on commit ac9b9c5

Please sign in to comment.